Hello All
I am trying to use the IF OR function while validating specific text in a column and am totally lost. Can anyone help me to understand this?
My goal is that if anything in column B1 to B5 = Yes or Maybe then the sum of the numbers in A1 to A5 would be returned for the rows that have Yes or Maybe and not the ones with No in them.
Here is the function that I thought would work however it only returns #Value
=IF(OR(B1:B5="Yes",B1:B5="Maybe"),SUM(A2:A5))
*Side not for my learnings; I have successfully been able to do this with only 1 condition using the following function. However I do not understand why the * is needed before and after the text inside the quotation marks. But really I need the OR function here if feasible.
=SUMIF(B1:B5,"*Rotating*",A1:A5)
Cheers,
Reid
Bookmarks