Text to column function. My database includes dates and names of medications separated with superscript numbers. The numbers are not fixed. So I need a separation between any superscript figures.
Is there a macro that will allow me to create text to row from a comma separated cell, but also associate the cell to its left automatically?
The table below exemplifies what I need. The top of the spreadsheet is how my data is currently. The portion after the break is how I would like it to be.
I have a column A1 that consists of a range of values separated by a comma.
row 1:value 1, value 2, value 3, value 4 row2: value1, value 4 Row 3: value 2, value3
I want to get the unique counts for each value in the filtered list. This one field is not filtered but the others in the table are so I only want the counts of value 1-4 when the entire list is filtered.
I have been able to accomplish this with individual values using the following formula:
I have an amount of text in my spreadsheet, which contains superscript numbers and I want to get rid of these numbers. Is it possible to do this with a UDF or a macro?
I include a simple example spreadsheet with the situation as it is, and how I would have it.
I have a listbox populated with a number followed by description. How do I write code to extract the number and description to different cells. Listbox example: "1234ES - Project Description". Now I want "1234ES" in one cell and "Project Description" in cell left of number.
I have a list of companies and employees, if a company has more than 1 employee listed, I need to combine all instances of the employees into 1 row per company separated by a comma.
I have a scheduling spreadsheet that I designed for excel. It uses numbers as text and vlookup values instead of calculating actual time (its easier and saves space). I want it to look aesthetically pleasing:
630-230 (that is six-thirty until two-thirty) 7-315 (that is 7 o'clock until three-fifteen)
should look like this:
630- 230 7 - 315
How should the code be written so that if I write a string of text "xxx-xxx or x-xxx" the right parts get superscripted automatically.
notice that the first example has 3 digits before the hyphen and the second example has 1 digit before the hyphen. I need the vba code to work no matter which example is used.
When using format cells > number >custom I want to custom oC with the degree symbol in superscript. how to get superscript into the custom box? Also where is the superscript icon for the quick access toolbar in Excel?
I have a cell (A1) that, depending on a choice made elsewhere in the workbook, will return A2, A3, A4, or A5, which are all formatted differently with superscripts. How do I get that formatting to copy over to A1 without having to manually copy and paste format from the appropriate cell? I have to do this for a range of cells (A1:A15) instead of simply one.
I am in need of a macro that will scan a worksheet row by row, noting the column names (found in I2 to AQ2) in a specific horizontal span of cells (I to AQ) that hold (any) data. The macro will then paste these column names in a designated cell on each corresponding row (always found in column F), separating the column names with commas.
I am trying to do this for multiple worksheets containing ~100 rows - the example attached is just a quick demo of what I'm hoping to achieve. Also, these worksheets are contained in one big workbook, so ideally I'd like to be able to run the macro once and have it apply to every sheet in that workbook (they all have the same layout - the only big difference is the number of rows). If the Total Scenes part at the bottom of the sheet is problematic in getting this to work, it's fine to remove it.
Is there a way to superscript or subscript only part of a cell's text? The forum below provides VBA to superscript an entire cell.
How about just part of a cell?
e.g. Say I type "The volume of the cylinder is 42 m3", the press the arrow key once (to have the cursor before 3, hold down shift, go forward to select 3. NOW, I want to run a macro or script to superscript the selected part of the text, in this case the 3.
How about using an inputbox to choose part of the cell?
Or using an inputbox to ask you to choose the cell, THEN counts number of characters, THEN asks you where to start and stop the supercript or subscript, THEN asked if you want to superscript or subscript THEN asks if you want to superscript/subscript (depending on what was choosen) "selectect text"(have excel store the text part selected for formatting), THEN carries it out?
Is this possible? I don’t know enough VBA to know.
I have one column of data. there are currently ~10k rows, but this will increase over time. each row has either a single value (example: pepsi) or a comma separated value (google,samsung) with up to 6 commas. instead of the rows looking like this:
pepsi google,samsung coca-cola
I want them to look like this in one column (preferably via a formula):
pepsi google samsung coca-cola
I would like the above output to be a unique, alphabetized list.
I have four columns of data. Column A is for the Model, B is for options, C is for color, and D is for Trim. What I need to do is for each model I need to have the options in column B to be listed down the page without commas. Each 3 code option needs to have it's own cell. In the below example there are 8 models with their options, color, and trim. I cannot have the options mixed up with the other models. Hope this makes more sense.
I am currently trying to count data in one cell separated by commas. The spreadsheet attached will make things look a lot clearer.
The "CURRENT" table is what I currently have and the "IDEAL" table is what I would like (but not hard-coded). Sheet 3 is where the meaningful data is. So for example, E4 has "CC-12" which is "Open" and "CC-11" which is "Closed". Therefore I would want there to be a "1" in cell F4 and G4 and a "0" in H4.
I have been using the following formula's to trim some information that's separated by a colon, such as Pioneer Clinic:Dave McAfee...so that I have a column with Pioneer Clinic and a column with Dave McAfee:
However, now some of my data is separated by two colons! AVM:Pioneer Clinic:Dave McAfee. the formula for separating this so I still have two columns of Pioneer Clinic and Dave McAfee?
I have an excel document that is processing some amount of data and turn it into daily reports. After I make a report I use macro to separate it from the document into a new sheet and save it separately.
The problem is those separate reports still remain dependent on the main excel document where they were created. As the data changes in the mother excel file, it updates all the old reports on the computer and basically I loose the old data.
I have a cell in a table containing user entered Comma separated values. How can I process it so that user entered values can be referred to just like in an array? Is it possible to do something like cell.value[0]?
For example -- cell A1 has values red, blue, green. B1 has a formula that can refer to "red" in A1 by writing something like A1.value[0]
Is it possible to have a function return values to another cell reference than from the cell where it is called? Like a UDF called functionIndividualValues(InputcellReference, OutputCellReference) functionIndividualValues(A1, A2) meaning that the input string for the function is in A1 and the output should go to the cell A2.