DataBlake
Well-known Member
- Joined
- Jan 26, 2015
- Messages
- 781
- Office Version
- 2016
- Platform
- Windows
I am stumped. i don't know why i can't figure this out.
Or maybe theres a more efficient way to do this so i'll be super descriptive.
So in column C:
#1 is how it is supposed to look, but it may also have a P or LT in front of it.
#2 & #3 are examples of P and LT, but they are also supposed to have a "/" where the " " is
So what i need in column D is the value as shown for #1 .
#2 should be "LT245/75R16" and #3 should be "P245/50R20"
so if there is an easier way let me know, but what i was thinking is a formula that check the first 5 letters for "P" and "LT" and if it is LT return the first 11 characters, P returns the first 10 characters, and neither returns the first 9 characters.
=IF(FIND("LT",LEFT(C804,5),0),LEFT(C804,11),"") was my thought process but it returns #Value
Or maybe theres a more efficient way to do this so i'll be super descriptive.
So in column C:
#1 is how it is supposed to look, but it may also have a P or LT in front of it.
#2 & #3 are examples of P and LT, but they are also supposed to have a "/" where the " " is
So what i need in column D is the value as shown for #1 .
#2 should be "LT245/75R16" and #3 should be "P245/50R20"
so if there is an easier way let me know, but what i was thinking is a formula that check the first 5 letters for "P" and "LT" and if it is LT return the first 11 characters, P returns the first 10 characters, and neither returns the first 9 characters.
=IF(FIND("LT",LEFT(C804,5),0),LEFT(C804,11),"") was my thought process but it returns #Value