ExcelYetti
New Member
- Joined
- Mar 24, 2017
- Messages
- 2
Hello
I'm trying to write a statement that does the following: If cell B4 contains the letter G, or F fill cell D6 with the word Included, if not leave D6 blank (G or F in B4 can be stand alone or within a string of characters/part number).
To the best of my knowledge the way to achieve this is a nested if statement. Here's what I have now in D6. It identify's the G, however, if there is no G, but an F it's not recognized the F.
=IF(ISNUMBER(SEARCH("G",B4)),"Included",IF(ISNUMBER(SEARCH("F",B4,)),"Inc",""))
Thanks in advance!
I'm trying to write a statement that does the following: If cell B4 contains the letter G, or F fill cell D6 with the word Included, if not leave D6 blank (G or F in B4 can be stand alone or within a string of characters/part number).
To the best of my knowledge the way to achieve this is a nested if statement. Here's what I have now in D6. It identify's the G, however, if there is no G, but an F it's not recognized the F.
=IF(ISNUMBER(SEARCH("G",B4)),"Included",IF(ISNUMBER(SEARCH("F",B4,)),"Inc",""))
Thanks in advance!