Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to delete fist 6 digit of all contents in a column?
How to delete fist 6 digit of all contents in a column?
Column has 13 digits(alpha-numeric) and we need to delete the first 6 of each cell in the same column (D1 to D500) -- capxc |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to delete fist 6 digit of all contents in a column?
=Right(A1,LEN(A1)-6)
|
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to delete fist 6 digit of all contents in a column?
How do i put this command?
-- capxc "Jarek Kujawa" wrote: =Right(A1,LEN(A1)-6) |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to delete fist 6 digit of all contents in a column?
presume E is a column of blank cells, go to E1 and insert the formula:
=Right(D1,LEN(D1)-6) then copy down |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to delete fist 6 digit of all contents in a column?
You don't. You do it as follows:
1. Insert a helper column, typically right next to the current one (so it will be column E). 2. Insert the formula given in E1, and copy it down. The easiest way to copy it down is double click on the fill handle (bottom right hand cornet of the box). 3. Copy the column (highlight the top box with the E in it, right click and choose Copy). 4. Paste SpecialValues... (Right click anywhere in the column, choose Paste Special... Chose Values). 5. Delete the old column. Regards, Fred. "capxc" wrote in message ... How do i put this command? -- capxc "Jarek Kujawa" wrote: =Right(A1,LEN(A1)-6) |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to delete fist 6 digit of all contents in a column?
Capxc
If you wanted a little bit of Visual basic code, you could achieve the same result without any helper columns with the following: Sub TrimFirstSix() For Each TrimCell In Range("D1:D500") TrimCell.Formula = Right(TrimCell, Len(TrimCell) - 6) Next End Sub If you wanted to select a range of cells and trim THOSE, replace the second line with: For Each TrimCell In selection Regards Pete "capxc" wrote: How to delete fist 6 digit of all contents in a column? Column has 13 digits(alpha-numeric) and we need to delete the first 6 of each cell in the same column (D1 to D500) -- capxc |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to delete fist 6 digit of all contents in a column?
Formula is succesful but when Idelete the old column, the new column shows
only #VALUE! How do I get to see the numbers? -- capxc "Fred Smith" wrote: You don't. You do it as follows: 1. Insert a helper column, typically right next to the current one (so it will be column E). 2. Insert the formula given in E1, and copy it down. The easiest way to copy it down is double click on the fill handle (bottom right hand cornet of the box). 3. Copy the column (highlight the top box with the E in it, right click and choose Copy). 4. Paste SpecialValues... (Right click anywhere in the column, choose Paste Special... Chose Values). 5. Delete the old column. Regards, Fred. "capxc" wrote in message ... How do i put this command? -- capxc "Jarek Kujawa" wrote: =Right(A1,LEN(A1)-6) |
#8
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to delete fist 6 digit of all contents in a column?
Before you delete the old copy all new and paste special as values in place,
then delete the old -- Regards, Peo Sjoblom "capxc" wrote in message ... Formula is succesful but when Idelete the old column, the new column shows only #VALUE! How do I get to see the numbers? -- capxc "Fred Smith" wrote: You don't. You do it as follows: 1. Insert a helper column, typically right next to the current one (so it will be column E). 2. Insert the formula given in E1, and copy it down. The easiest way to copy it down is double click on the fill handle (bottom right hand cornet of the box). 3. Copy the column (highlight the top box with the E in it, right click and choose Copy). 4. Paste SpecialValues... (Right click anywhere in the column, choose Paste Special... Chose Values). 5. Delete the old column. Regards, Fred. "capxc" wrote in message ... How do i put this command? -- capxc "Jarek Kujawa" wrote: =Right(A1,LEN(A1)-6) |
#9
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to delete fist 6 digit of all contents in a column?
Never mind my last question. I fugure it out.
Thanks. -- capxc "Fred Smith" wrote: You don't. You do it as follows: 1. Insert a helper column, typically right next to the current one (so it will be column E). 2. Insert the formula given in E1, and copy it down. The easiest way to copy it down is double click on the fill handle (bottom right hand cornet of the box). 3. Copy the column (highlight the top box with the E in it, right click and choose Copy). 4. Paste SpecialValues... (Right click anywhere in the column, choose Paste Special... Chose Values). 5. Delete the old column. Regards, Fred. "capxc" wrote in message ... How do i put this command? -- capxc "Jarek Kujawa" wrote: =Right(A1,LEN(A1)-6) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Use 2nd digit from the left in cell contents for vlookup | Excel Worksheet Functions | |||
Delete contents of cells | Excel Worksheet Functions | |||
In excel, how can i delete 1 digit and the decimal point? | Excel Worksheet Functions | |||
How to Delete Contents of D2 if B2 = "SD" | New Users to Excel | |||
How do I make a formula that uses the fist cell as a starting posi | Excel Discussion (Misc queries) |