working with length formula

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
 
M

Michael Bednarek

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)
 
W

wabbleknee

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top