Forum Discussion

Fozzie85's avatar
Fozzie85
Copper Contributor
Jan 25, 2022
Solved

Multiple formulas in a cell

I'm trying to do a formula for if the A cell says "specific text" and M cell says "yes" then run this formula but if the if the A cell has anything else and the M cell says "yes" then run another for...
  • OliverScheurich's avatar
    Jan 25, 2022

    Fozzie85 

    =IF(AND(A1="specific text",M1="yes"),AVERAGE(E9:E18),IF(AND(A1<>"specific text",M1="yes"),SUM(E9:E18),IF(AND(A1<>"specific text",M1<>"yes"),MAX(E9:E18),"")))

     

    Is this what you are looking for?

Resources