Hi guys,
I m looking to format a cell to remove numbers that i don't need.
For example, at work we can swipe a card and the card number comes up like so
;11=00=0370904?
is there a way to format the cell to remove everything but the 0370904
Thanks for any help
Mikey
Last edited by mikeydaman; 11-26-2009 at 08:27 PM.
Hi,
You could use a string slicing function in another cell. e.g. if the number is always 7 digits followed by a ? then
HTHCode:=LEFT(A1,LEN(A1)-8)
Richard Buttrey
If this was useful then please rate it appropriately.
Click the small star iconat the bottom left of my post.
Hi guys, thanks for your help and yes there will always be 7 digits. Both work great but i still get the ? mark in there and i can't have that as well.
Richard thanks for that but the LEFT should be RIGHT hehe
Thanks again for your help
Hi,
Sorry, misread that as you wanting everything but the number. Try
If you want it as a number, wrap it in an =VALUE() functionCode:=MID(A1,LEN(A1)-7,7)
Rgds
Richard Buttrey
If this was useful then please rate it appropriately.
Click the small star iconat the bottom left of my post.
That worked awesome! thanks again guys for your help
Cheers
Mikey
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks