IF OR Statement

  • Thread starter Thread starter Michelle
  • Start date Start date
M

Michelle

I am trying to figure out a formula that states, IF a
certain row equals June, July or August, then mutiply by
a certain row.

I started a test formula and I am getting #Value errors:
The test formula is =IF(J7="JUNE",OR("JULY",OR
("AUGUST"),K22*L22))

Thanks for your help.

Tavia.
 
Hi
try
=IF(OR(J7="JUNE",J7="JULY",J7="AUGUST"),K22*L22,"not defined")
 
Thank you. But I left out one part.

I wanted to say if AF7=2 and J7 = June, July or August,
then k22*l22.

Thanks again.
 
Hi
try
=IF(AND(AF7=2,OR(J7="JUNE",J7="JULY",J7="AUGUST")),K22*L22,"not
defined")
 

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

Back
Top