working with length formula

  • Thread starter Thread starter wabbleknee
  • Start date Start date
W

wabbleknee

I am looking at a cells that only contain numbers. (4,5,6, or 7 digits) Any
number that is 6 digits or less, leave as is. IF the number is 7 digits, I
want to remove the right most number i.e. Tx


1234 result = 1234
12345 result = 12345
123456 result = 123456
1234567 result = 123456
 
I am looking at a cells that only contain numbers. (4,5,6, or 7 digits) Any
number that is 6 digits or less, leave as is. IF the number is 7 digits, I
want to remove the right most number i.e. Tx


1234 result = 1234
12345 result = 12345
123456 result = 123456
1234567 result = 123456

This works for me:
=LEFT(A1,6)
 
Thank you very much guys!

"Michael Bednarek" wrote in message

I am looking at a cells that only contain numbers. (4,5,6, or 7 digits)
Any
number that is 6 digits or less, leave as is. IF the number is 7 digits, I
want to remove the right most number i.e. Tx


1234 result = 1234
12345 result = 12345
123456 result = 123456
1234567 result = 123456

This works for me:
=LEFT(A1,6)
 
Back
Top