Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Let's say I have two cells - one contains "Boston Red Sox" and the
other contains "at Boston Red Sox". One denotes a home game and one denotes an away game. I want a statement that will look at the cell and if the first two letters are "at" I want to return the original cell and if the "at" is not present, to return a value of "Rogers Centre" even though it will always be the SkyDome in our hearts! Using FIND, "at" returns a value of 1 which I can use in an IF statement. The problem I have is that "at" is not present as the first two letters it returns #VALUE! and if "Seattle Mariners" is in the cell, the FIND statement returns a value of 3. I don't need to know where the "at" is, I just want to know if it is present as the first two characters in the cell! What is the best way to do this? With all the time I have spent working on a solution, I could have done it manually but I really would like to know! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I fix a circular reference in a financial statement? | Excel Discussion (Misc queries) | |||
If statement and Isblank statement | Excel Worksheet Functions | |||
7+ nested if statement? | Excel Worksheet Functions | |||
Statement | Excel Worksheet Functions | |||
IF Statement difficulty | Excel Worksheet Functions |