using IF & AND functions in conjunction

  • Thread starter Thread starter Lester
  • Start date Start date
L

Lester

help me with:

if a1=A
and sum(c3:c8)<40
charge "rate A" x number of hours
else charge "rate B" X number of hours

thanks
 
help me with:

if a1=A
and sum(c3:c8)<40
charge "rate A" x number of hours
else charge "rate B" X number of hours

thanks

Something like:

=IF(AND(A1="A",SUM(C3:C8)<40), Rate_A*NumHrs, Rate_B*NumHrs)

--ron
 
=IF(AND(A1=A,SUM(C3:C8)<40),A*SUM(C3:C8),B*SUM(C3:C8))

note that I assumed that A is not text but a numeric rate and that it is
SUM(C3:C8) that you want to multiply with the different rates..
If A is text enclose it with quotations "A"
 

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

Combining If, Vlookup in formula 2
time guru needed 2
advanced 'if' multiply 2
excel 2007 formula 1
Show me your highest mileage HDD? 0
Elseif? 5
overtime hours formula 8
Vlookup to total hours billed 1

Back
Top