it's an excel world
Board Regular
- Joined
- Sep 17, 2008
- Messages
- 126
I am looking for the most efficient way to write an if statement in cell E2 that looks in cell D2 for the following.
If left D2,5 = "25201" then "25201"
If left D2,2 = "1B"" then "25201"
If left D2,5 = "25856" then "25856"
If left D2,2 = "RD" then "25856"
If left D2,5 = "25882" then "25882"
If left D2,2 = "RT" then "25882"
Otherwise = "" (blank)
Thanks in advance!!
If left D2,5 = "25201" then "25201"
If left D2,2 = "1B"" then "25201"
If left D2,5 = "25856" then "25856"
If left D2,2 = "RD" then "25856"
If left D2,5 = "25882" then "25882"
If left D2,2 = "RT" then "25882"
Otherwise = "" (blank)
Thanks in advance!!