Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
ok I have 000000VC3236 in a cell. How can I extract only the last 4 numbers,
3236?? I have tried =SUM(MID(A1,3,FIND("VC",A1)-3)) . What am I doing wrong?? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
ok I have 000000VC3236 in a cell. How can I extract only the last 4
numbers, 3236?? I have tried =SUM(MID(A1,3,FIND("VC",A1)-3)) . What am I doing wrong?? You are going to kick yourself<g.... =RIGHT(A1,4) Rick |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Your right... I am kicking myself!!! :o) Thanks a million!!
"Rick Rothstein (MVP - VB)" wrote: ok I have 000000VC3236 in a cell. How can I extract only the last 4 numbers, 3236?? I have tried =SUM(MID(A1,3,FIND("VC",A1)-3)) . What am I doing wrong?? You are going to kick yourself<g.... =RIGHT(A1,4) Rick |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If the numbers are always at the end and 4 digits:
=RIGHT(A1,4) or if always preceded by "VC" =MID(A1,FIND("VC",A1)+2,255) "DestinySky" wrote: ok I have 000000VC3236 in a cell. How can I extract only the last 4 numbers, 3236?? I have tried =SUM(MID(A1,3,FIND("VC",A1)-3)) . What am I doing wrong?? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If it is always the last four numbers
=--RIGHT(A1,4) if it is what's after VC regardless of how many numbers there are =--MID(A1,FIND("VC",A1)+2,255) -- Regards, Peo Sjoblom "DestinySky" wrote in message ... ok I have 000000VC3236 in a cell. How can I extract only the last 4 numbers, 3236?? I have tried =SUM(MID(A1,3,FIND("VC",A1)-3)) . What am I doing wrong?? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Extracting changing row values | Excel Discussion (Misc queries) | |||
Extracting rows from a spreadsheet using values from another shee | Excel Discussion (Misc queries) | |||
Extracting values from a table | Excel Discussion (Misc queries) | |||
Extracting Values on one list and not another | Excel Discussion (Misc queries) | |||
Extracting numeric values from string | Excel Worksheet Functions |