Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings all. Let's say I have "AAAA - ABCD" in a cell. I need to extract
only the portion of text after the space after the hyphen. So, from the example, I would need to extract "ABCD". With TSQL I can do it like this... REVERSE(SUBSTRING(REVERSE('AAAA-ABCD'),1,4)) Or I can do... RIGHT('AAAA - ABCD',4) Are there any functions in Excel that would allow me to do this? In reality, the field has a variable length before the hyphen, but the string after the hypen is *always* = 8. Thank you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Substring | Excel Discussion (Misc queries) | |||
Substring-esque function | Excel Programming | |||
is there any substring function in macro? | Excel Programming | |||
can I execute and 'substring' function in Excel | Excel Worksheet Functions | |||
subString function in Excel(Urgent) | Excel Programming |