Need a formula/code that will determine what the corrected part number should be (insert dashes if they are missing) by comparing to other values in the list.
I have got a list of numeric abbreviations, for instance 10739011/21/31/41. What it should really display are the numbers 10739011, 10739021, 10739031 and 10739041 (the first six figures stay the same). All the numbers in my list are 8 figures long. I want to change the list from the list seperated by the backward slash to the complete numbers. I have uploaded an example of the list with backward slash between the numbers. Is there a way that Excel can automatically change these numbers to the full numbers?
Because all the numbers are 8 figures long, I thought the first 6 figures of the 1st number can be copied and those 6 figures pasted before the other two figures after the backslash. Auto Merged Post Until 24 Hrs Passes;sorry, pressed OK too quickly. The problem is that there are sometimes 4 numbers in the cell, sometimes 6 and once three. I would like Excel to complete all the numbers in the cell and then move on to the cell underneath it and so on. Also, I would like each number to have it's own cell.
I have a cell which will contain SER01+SER02+SER03
and what i need it to contain is [SER01]+[SER02]+[SER03]
and shocker is i've got this to work for the first instance but not the other two
code as below... be grateful for your help
Sub measure1() Dim list As String, pos As Integer, refl As String, refr As String, newlist As String list = Cells(1472, 16).Value pos = InStr(list, "+") refl = Left(list, pos - 1) refr = Right(list, pos + 1) newlist = "[" & refl & "]" Cells(1472, 17) = newlist End Sub
I've got a worksheet from a contact details with some empty cells in it, since not everyone has fax number or POBOX, therefore that particular cell is left empty.
Is there any way to replace or put a "-" dash character or whatever into that empty cell so that the exported CSV file is not left with too many trailing commas ?
I'm looking forward for the reply.
[this CSV is to be use by Exchange Server 2007 Powershell script to import Mail-Contact from a CSV file, that's why not all of the contact entity has the parameter defined]
I am trying to solve problem with finding cells (all searching cells are in 1 column ) witch contains only recurring characters like : 00, aaaaa, 444444444 , etc.
The formula would basically need to check each character sequentially in both cells[starting from the left most character] till there is a mismatch and then display the characters that follow in the second cell (including the character with a mismatch) in the output cell.
it basically looks like this: ABC1234 ABD1239
I want to get D1239 as the result after using a formula.
Is there a way this logic could be extended to 12 characters?
How to get Excel to select all cells within a specific column that contain a specific character. In this instance, I need to select all the cells which contain a comma...
And even better would be if I could get Excel to not just select all the cells in a specific column containing a comma, but each of the rows in which those cells reside.
I am attempting to make a macro for. It requires me to scan a column of cells worth of data (characters) for parts of what they contain and place those parts into a variable or string so that I can use an IF statement to place text in another cell.
I used to know someone who could do this via VBA, but I have been unable to reach him.
This sheet is fairly basic. The cells to be scanned are all in one column, they are all four digit numbers and I need to read the first two digits into separate variables.
Example: If the cell has "4101" in it, I want to be able to read the first digit "4" into one variable and the second digit "1" into another variable.
This way I can place text based on either one of those digits into the next cell over with an IF statement and can enclose it into a large loop to do the entire column.
I have a spreadsheet that I have to extract from a web based report at work. The problem is that the column that contains the department name also contains the department code in brackets. For example cell A2 will have: (DE) Department A and cell A3 may be (DEPT) Department B.
Now as seen in the example above a code can range from 2 to 4 letters. I wondered if there was a way in code that would search for the ')' character and copy that to the M column and then copy the department name into the N column. So M2 would have 'DE' and column N2 will have 'Department A'.
Also in column G contains the grade name and grade point which are separated by a '/' I would like this to be copied to 2 separate cells say O2 and P2 and so on.
I know this can be done by a formula but I have to do this every month and it would be nice to just click a button to run a macro in my personal.xls file.
The row number various and are usually several thousand. I have attached a sample spreadsheet that only contains 4 rows of data.
Row 2 to 5 are of same item no. The result that is required is in Column C. The formula to check same item numbers in column A and give the result as "FRA" in column C3 with C2, C4, C5 showing as not applicable. Similarly for the next item no
I need to count how many times I've got, for instance, "a" in several cells where I typed some text...
I would need a formula where I can indicate the letter I want and the range of cells where to look at, and having as result how many occurances there are...
If you are very good instead of a single letter, maybe a sequence of letters... but this is an extra!
I want to change the character ~ with . in order to be able to make them numeric values to be feeded to other functions. But REPLACE seems not doing the job so I've been checking out other options such as seperating after and before the character ~. Details are below. I've been trying to use this formula to extract values from a delimited database which I open with excel. The formula that has brought me close is =IF(ISNUMBER(E51)=FALSE,LEFT(E51,LEN(E51)- FIND("~",E51)),E51)
14010~000 3210~0000
When I import the database, the figures above have originals as 14010.00000 & 3210.00000 but transfer to excel as above. As far as I have observed 9 character spaces are displayed & the DOT transfers to ~ for some reason. I need the LEFT section of the ~
I'm looking for a VBA Macro that will do the following:
1. Count number of cells in a given row that contain special character "*" 2. If there is an asterisk in a given row, return the column header(s) contained in row 1 of the spreadsheet that correspond to each instance of cell(s) that contains the "*".
Is there a way to do this? I've attached an example of what I'm talking about, (Column A shows the desired result.)
I have a spreadsheet that was an export from an old program. The ý symbol indicates the start of a new line within a cell, is there an easy way to do a search for the ý and replace with a hard return?
I have 2 sheets in a work book. Sheet 1 I paste information from an email into A4. Sheet 2 gathers the information and places it in the cell formating the text so I can import it properly to another program.
I want to take notes that a person fills in (they fill out an online form with their personal information and sometimes leave comments, but not always) and paste this into Sheet 1. When I paste the comments into Sheet 1 it is pasted into mulitple cells. I want sheet 2 to format the text from these mulitples cells into one cell with spaces placed correctly ....
I have a large excel spreadsheet with alpha-numeric data. I want to be able to compare two cells in different row side by side and return the difference in another cell.
e.g. I have in cell B2, "tom, rick, mike, I" and in cell C2, "mike, rick". I need to compare the cell C2 to cell B2 and return the difference in cell D2 which in this case would be the characters " tom, I". They are separated with "," and they can be in different order as you can see in the example.
I would like to create an If Then statement in which the condition is based on if a string is a simple text or a formula. Some of my cells contain a formula and some contain simple text...and I would like to cycle through all of them- only do something different to them based on what the cell contains.
I have some cells with some spaces and then text where I want to find the position of the first letter. Do any of you know about any function I can use?
The example below contain 5 spaces and then my name. It should give me the answer 6.
i have a column that is 1900 long and i need to add a "comma" to the end of everything in each cell in that column. How do i go about this? so at the moment it look like this: