Excel - IF Function Problem - Expert Solution

Question description:
This user has given permission to use the problem statement for this blog.

I need a formula using if formula. In one cell it is, 68 - 79 (L) and in the next cell I need a formula to show a "-1" if there is an (L)
Solved by I. H. in 40 mins
This is the chat thread from the real Excelchat help session. It contains no private user information.
Excelchat Expert 09/08/2018 - 04:28
hey there, welcome to gotit expert!!
Excelchat Expert 09/08/2018 - 04:29
what is your problem again?
User 09/08/2018 - 04:29
Can you see the spreadsheet and what I just typed?
Excelchat Expert 09/08/2018 - 04:29
yes sir, I can.
User 09/08/2018 - 04:30
I have a column of scores formatted like this. I need row "B" to show either a "1" for row "!" containing a w or a -! for row 1 containg a L
User 09/08/2018 - 04:30
I can't figure out the formula
User 09/08/2018 - 04:32
The formula I have in there just always comes back as "-1"
Excelchat Expert 09/08/2018 - 04:32
What exactly your aim is?
User 09/08/2018 - 04:33
Just to show a "1" if the first row contains a "W" or a "-1" if it contains an "L"
User 09/08/2018 - 04:35
So the second one down should show a "1" instead of a "-1" if the formula works
Excelchat Expert 09/08/2018 - 04:36
the formula you wrote there, is not searching for a "w" in the cell.
User 09/08/2018 - 04:37
How would you write it to search for the "W" in the cell?
Excelchat Expert 09/08/2018 - 04:37
instead it is just comparing the cell value to the "W"
Excelchat Expert 09/08/2018 - 04:43
can you see the addition I have made in the sheet
User 09/08/2018 - 04:43
Ok. Understand search function. But how would you write it as a formula to get desired result?
Excelchat Expert 09/08/2018 - 04:46
the answer I gave has a "1" in it, please hold on while I am trying to figure out about the -1..
User 09/08/2018 - 04:46
Thank you
Excelchat Expert 09/08/2018 - 04:53
see I got the answer in the form of true or false.
Excelchat Expert 09/08/2018 - 04:53
for converting it to 1 and -1, you can still use if.
Excelchat Expert 09/08/2018 - 04:54
Is that sufficient?
User 09/08/2018 - 04:55
Thank you I will work on it from here I guess.
Excelchat Expert 09/08/2018 - 04:56
thank you for consulting us, you are always welcome to come here again!

This is the output file from the real Excelchat help session:
This is an example of the expert help you can get. It contains no private user information.

Get instant expert help with Excel and Google Sheets

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Your privacy is guaranteed. Your session will not be used for blog unless you give us persmission.