Forum Discussion

AmalAlhadyab's avatar
AmalAlhadyab
Copper Contributor
Jun 23, 2023

if function for text and value

 

can you help me please to formulate this function i want to use if function and at the end result want to sum the values 

 

like 
if the word "yes" in there in the cell b2 then write the value "1" and if the word "No" is there in the cell b2 then write the value "0" and if the word "do not know" is there in the cell b2 then write "0"

 

i want this function to be repeated for cell B2,B3,B4 

and at the end i want to sum the value of B2+b3+b4 

 

thank you in advance. 

Resources