help with formula

P

pezacide

i am trying to create a formule that will calculate certain rates depending
on zones cubic metres and branch. this is what i need to do:

if cell e8=3 and e4 is equal to or less than 30 = shhet2 g37
how would i write this as an excell formula.
also can a Value be a word say
if b9 equals sydney and e4 is equal to or less than 24 =424=150
 
P

pezacide

how would i put multiple formulas of the same vane in the one cell ie
=IF(AND(E8=2,E4<=30),Sheet2!G37,0), =IF(AND(E8=4,E4<=30),Sheet2!G37,0)
etc
 
P

Pete_UK

You could try this:

=IF(AND(E8=3,E4<=30),Sheet2!G37,"")

Not quite sure about your last example, but you could try this:

=IF(AND(B9="Sydney",E4<=24),424,"")

In both case you will get a blank cell if either condition is not met.

Hope this helps.

Pete
 
D

David Biddulph

Mike seems to have done the same test twice (and given the same result).

I assume that the second test in the sequence of nested IF functions was
intended to cover the second example.
Perhaps =IF(AND(E8=3,E4<=30),Sheet2!G37,IF(AND(B9="Sydney",E4<=24),424,""))
 

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