Formula in a cell depending on the value of another cell

W

WVR

I have two different formulas (which contain multiple IF statements) that I
am using in my worksheet. Which one of those formulas that I want the cell
to use depends on the value in another cell.

For example, let's say the two formulas I'm working with are:
(1) =IF(C7*D7>19,"CRITICAL","PRIORITY")
(2) =IF(C7*D7>10,"CRITICAL","PRIORITY")


I want cell G7 to use formula #1 above if the value of cell A7 is "N/A";
otherwise, I want cell G7 to use formula #2.

Can I do this in Excel?

Thanks!
 
W

WVR

Your reply was helpful; however, I don't think it will solve my
problem.....only b/c the two formulas I'm working with are very complex (for
me anyway) nested if statements. The actual formulas are:

(1)
=IF(OR(E7="",F7=""),"",IF(E7*F7>19,"CRITICAL",IF(E7*F7>12,"PRIORITY",IF(AND(E7*F7=12,E7=4),"PRIORITY",IF(E7*F7>8,"IMPORTANT",IF(E7*F7>4,"MODERATE","EFFECTIVE"))))))


(2)
=IF(OR(E7="",F7=""),"",IF(AND(E7=5,F7>2),"CRITICAL",IF(AND(E7>2,F7>2),"PRIORITY",IF(E7*F7=10,"IMPORTANT",IF(AND(E7*F7=8,E7=2),"IMPORTANT",IF(E7*F7>4,"MODERATE",IF(AND(E7*F7=4,E7=1),"MODERATE","EFFECTIVE")))))))


I want cell J7 to use formula (1) above if the value of cell C7 is blank or
"N/A".


Can I do that?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top