Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I pull just the numeric characters in a cell?
Hi, I have some cells that I want to pull just the numeric value so I can do a Vlookup off the number. Example: 12345678DM. In the cell next to it I would like to pull just the number while leaving the DM off. I can't always promise that the amount of numbers will be 8 so I can't just do a =left(A1,8) or something. Any ideas? Thanks as always, Eddie -- punter ------------------------------------------------------------------------ punter's Profile: http://www.excelforum.com/member.php...fo&userid=2044 View this thread: http://www.excelforum.com/showthread...hreadid=567213 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I pull just the numeric characters in a cell?
Try this:
=--LEFT(A1,LEN(A1)-2) -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "punter" wrote in message ... Hi, I have some cells that I want to pull just the numeric value so I can do a Vlookup off the number. Example: 12345678DM. In the cell next to it I would like to pull just the number while leaving the DM off. I can't always promise that the amount of numbers will be 8 so I can't just do a =left(A1,8) or something. Any ideas? Thanks as always, Eddie -- punter ------------------------------------------------------------------------ punter's Profile: http://www.excelforum.com/member.php...fo&userid=2044 View this thread: http://www.excelforum.com/showthread...hreadid=567213 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I pull just the numeric characters in a cell?
you can still do the left if you know that there will always be 2
letters at the end: =LEFT(F5,LEN(F5)-2) Hope that helps punter wrote: Hi, I have some cells that I want to pull just the numeric value so I can do a Vlookup off the number. Example: 12345678DM. In the cell next to it I would like to pull just the number while leaving the DM off. I can't always promise that the amount of numbers will be 8 so I can't just do a =left(A1,8) or something. Any ideas? Thanks as always, Eddie -- punter ------------------------------------------------------------------------ punter's Profile: http://www.excelforum.com/member.php...fo&userid=2044 View this thread: http://www.excelforum.com/showthread...hreadid=567213 |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I pull just the numeric characters in a cell?
punter Wrote: Hi, I have some cells that I want to pull just the numeric value so I can do a Vlookup off the number. Example: 12345678DM. In the cell next to it I would like to pull just the number while leaving the DM off. I can't always promise that the amount of numbers will be 8 so I can't just do a =left(A1,8) or something. Any ideas? Thanks as always, Eddie Hi Eddie, Try something like this, =LEFT(A1,FIND("DM",A1)-1)*1 oldchippy :) -- oldchippy ------------------------------------------------------------------------ oldchippy's Profile: http://www.excelforum.com/member.php...o&userid=19907 View this thread: http://www.excelforum.com/showthread...hreadid=567213 |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I pull just the numeric characters in a cell?
Thanks everyone. They all work. You are the greatest. Eddie. -- punter ------------------------------------------------------------------------ punter's Profile: http://www.excelforum.com/member.php...fo&userid=2044 View this thread: http://www.excelforum.com/showthread...hreadid=567213 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Automatically printing psted text over 250 characters to another cell | Excel Worksheet Functions | |||
Number of characters in a cell | Excel Discussion (Misc queries) | |||
How can I pick up characters after the first 4 in Excel cell | Excel Discussion (Misc queries) | |||
Display text 1024 characters in a cell | Excel Worksheet Functions | |||
if one cell has "X" textin contents, then pull cell "Y"... | Excel Worksheet Functions |