From: Woodi2 on
Is it possible to make this function work?

=IF(AND(AND($B9="Z",AE9=35),OR(J9=1,J9="M",J9="C")),1000,IF(AND(AND($B9="A+",AE9=35),OR(J9=1,J9="M",J9="C")),750))

I need to find out if Cell B9 = Z and if Cell AE9 = 35, if this true then
check cell J9 and check if it equals 1, M or C then return the value as 1000.
(that bit works OK)
I also want it to check if an alternative statement is true if the first is
false whereby it checks the the same set of cells but this time, check if B9
=A+, if Cell AE9 = 35, if this true then check cell J9 and check if it equals
1, M or C then return the value as 750. I can get each function to work
individually but dont know how to combine it into one function.
From: Jacob Skaria on
Try the below...

=IF(AND($B9="Z",AE9=35),IF(OR(J9=1,J9="M",J9="C"),1000,""),
IF(AND($B9="A+",AE9=35),IF(OR(J9=1,J9="M",J9="C"),750,""),""))

--
Jacob (MVP - Excel)


"Woodi2" wrote:

> Is it possible to make this function work?
>
> =IF(AND(AND($B9="Z",AE9=35),OR(J9=1,J9="M",J9="C")),1000,IF(AND(AND($B9="A+",AE9=35),OR(J9=1,J9="M",J9="C")),750))
>
> I need to find out if Cell B9 = Z and if Cell AE9 = 35, if this true then
> check cell J9 and check if it equals 1, M or C then return the value as 1000.
> (that bit works OK)
> I also want it to check if an alternative statement is true if the first is
> false whereby it checks the the same set of cells but this time, check if B9
> =A+, if Cell AE9 = 35, if this true then check cell J9 and check if it equals
> 1, M or C then return the value as 750. I can get each function to work
> individually but dont know how to combine it into one function.
From: Sean Timmons on
The formula below works fine. Are you looking for there to be a value if both
are false?

=IF(AND(AND($B9="Z",AE9=35),OR(J9=1,J9="M",J9="C")),1000,IF(AND(AND($B9="A+",AE9=35),OR(J9=1,J9="M",J9="C")),750,0))

Would make it 0 if False...

"Woodi2" wrote:

> Is it possible to make this function work?
>
> =IF(AND(AND($B9="Z",AE9=35),OR(J9=1,J9="M",J9="C")),1000,IF(AND(AND($B9="A+",AE9=35),OR(J9=1,J9="M",J9="C")),750))
>
> I need to find out if Cell B9 = Z and if Cell AE9 = 35, if this true then
> check cell J9 and check if it equals 1, M or C then return the value as 1000.
> (that bit works OK)
> I also want it to check if an alternative statement is true if the first is
> false whereby it checks the the same set of cells but this time, check if B9
> =A+, if Cell AE9 = 35, if this true then check cell J9 and check if it equals
> 1, M or C then return the value as 750. I can get each function to work
> individually but dont know how to combine it into one function.
From: Steve Dunn on
There are simpler ways of stating your formula, but it currently does as
described. What your formula does not do, and you do not describe, is what
you want to happen when neither condition is true. Before we attempt to
simplify it, you need to clarify that.




"Woodi2" <Woodi2(a)discussions.microsoft.com> wrote in message
news:2880A23A-DA26-40D5-8AAC-0B7CB5D54E4A(a)microsoft.com...
> Is it possible to make this function work?
>
> =IF(AND(AND($B9="Z",AE9=35),OR(J9=1,J9="M",J9="C")),1000,IF(AND(AND($B9="A+",AE9=35),OR(J9=1,J9="M",J9="C")),750))
>
> I need to find out if Cell B9 = Z and if Cell AE9 = 35, if this true then
> check cell J9 and check if it equals 1, M or C then return the value as
> 1000.
> (that bit works OK)
> I also want it to check if an alternative statement is true if the first
> is
> false whereby it checks the the same set of cells but this time, check if
> B9
> =A+, if Cell AE9 = 35, if this true then check cell J9 and check if it
> equals
> 1, M or C then return the value as 750. I can get each function to work
> individually but dont know how to combine it into one function.

From: Steve Dunn on
One possibility:

=IF(AND(AE9=35,OR(J9=1,J9="M",J9="C")),IF(B9="Z", 1000, IF(B9="A+",750,0)))



"Woodi2" <Woodi2(a)discussions.microsoft.com> wrote in message
news:2880A23A-DA26-40D5-8AAC-0B7CB5D54E4A(a)microsoft.com...
> Is it possible to make this function work?
>
> =IF(AND(AND($B9="Z",AE9=35),OR(J9=1,J9="M",J9="C")),1000,IF(AND(AND($B9="A+",AE9=35),OR(J9=1,J9="M",J9="C")),750))
>
> I need to find out if Cell B9 = Z and if Cell AE9 = 35, if this true then
> check cell J9 and check if it equals 1, M or C then return the value as
> 1000.
> (that bit works OK)
> I also want it to check if an alternative statement is true if the first
> is
> false whereby it checks the the same set of cells but this time, check if
> B9
> =A+, if Cell AE9 = 35, if this true then check cell J9 and check if it
> equals
> 1, M or C then return the value as 750. I can get each function to work
> individually but dont know how to combine it into one function.

 |  Next  |  Last
Pages: 1 2
Prev: IF formula help
Next: SAMPLE EXCEL DATA