Help with an IF statement

  • Thread starter Thread starter punter
  • Start date Start date
P

punter

Hi,

I'm knocking around the edges of a problem here but can't seem to find
the answer. The formula below works great but I want to add something
to it. I want it to return FedEx Weekly Charge if the cell is question
is blank and C2 = either 7 or 11. I have been trying various ISBLANKS
and IF formulas but I can't seem to get the right combination.

=IF(OR(C2=7,C2=11), "FedEx Weekly Charge", "")

Thanks

Eddie
 
punter said:
if the cell is question is blank

what cell would that be? I assume you mean some cell other than C2!?

Assuming your 'possible blank cell' is B2, then this should work.

=IF(AND(OR(C2=7,C2=11),B2=""), "FedEx Weekly Charge", "")

Matt
 
Thanks Matt. That worked perfectly. I knew I was close but wasn't sure
of the right combination to get it running.

Have a great day.


Eddie
 
Hy Punter,

try this

=IF(OR(C2=7,C2=11,C2=""), "FedEx Weekly Charge", "")

Hope this helps
Regards from Brazil
Marcelo


"punter" escreveu:
 
Thank you very much. That will also work if I put in the parameters
that I'm looking for.

Eddie
 

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

Similar Threads

I know this is easy but I don't remember how. 5
If statement in macro 2
If blank statement 4
using if for multiple criteria 22
Formula help 3
Help with if statement 4
IF function 1
Need help with if(and formula.. 6

Back
Top