Formula Help

A

Amy

I need to write a formula in excel that says the following:
If C2 = "x" and B2 = "d", then D2*21%

I can get the first part using the IF function, but I am only allowed 1
logical test - how can I use 2?

Thanks!!!!
 
A

Amy

Anyway for me to take it further and say
=IF(AND(C2="x",B2="d"),D2*21%,"") or if B2="e",D2*14%
 
D

David Biddulph

=IF(AND(C2="x",B2="d"),D2*21%,IF(B2="e",D2*14%,"whatever you want in the
other cases"))
 
Top