CELL = YES or Other text return value [Solved/Closed]

Jason - Feb 11, 2016 at 02:15 PM - Latest reply: vcoolio 1173 Posts Thursday July 24, 2014Registration dateModeratorStatus July 15, 2018 Last seen
- Feb 12, 2016 at 04:07 AM
Hello,


I'm using IF statements to return a value for the specifc answer supplied for the question and then adding up all the questions for the total score.

A few of the questions are yes, no, NA.

I want to return a 5 for yes and 0 for NA or no.

I'm using =IF(B12="YES",5,0) but it's not returning a "5" when "YES".

Thank you for your help.
See more 

2 replies

Best answer
vcoolio 1173 Posts Thursday July 24, 2014Registration dateModeratorStatus July 15, 2018 Last seen - Feb 12, 2016 at 03:58 AM
2
Thank you
Hello Jason,

I have just tested your formula half a dozen times and it works just fine. I can't see why it wouldn't work.

Cheerio,
vcoolio.

Thank you, vcoolio 2

Something to say? Add comment

CCM has helped 1665 users this month

Best answer
vcoolio 1173 Posts Thursday July 24, 2014Registration dateModeratorStatus July 15, 2018 Last seen - Feb 12, 2016 at 04:07 AM
2
Thank you
Hello again Jason,

Just an after thought. Have you, per chance, placed the formula in B12? If you have, you should receive a "circular reference" warning and if you continue, the result will always be zero. Hence, move the formula to a different cell and refer to B12 from there.

Cheerio,
vcoolio.

Thank you, vcoolio 2

Something to say? Add comment

CCM has helped 1665 users this month