Home |
Search |
Today's Posts |
#8
![]() |
|||
|
|||
![]()
On Sun, 7 Nov 2004 14:37:39 -0800, "Biff" wrote:
Hi! I see you've got several replies but here's another option. If your codes are always the same length: 999-000-00089101 = 16 232-987-00123456 = 16 AND, if the portion of the code you need to extract NEVER starts with 0: =IF(--MID(A1,11,1)=0,RIGHT(A1,5),RIGHT(A1,6)) Returns: 999-000-00089101 = 89101 232-987-00123456 = 123456 Biff =--right(A1,6) would be simpler, and give the same result. --ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Averaging function | Excel Discussion (Misc queries) | |||
Function in XL or in VBA for XL that pulls numeric digits from a t | Excel Discussion (Misc queries) | |||
I cant use englisch function names in a swedich version of excel | Excel Discussion (Misc queries) | |||
need to save values from a function before it changes | Excel Worksheet Functions | |||
SUMIF(AND) FUNCTION | Excel Worksheet Functions |