M
MattHavoc
Hello guys,
I have the following problem:
I have a 3 page workbook, in which i need to sum two cells based on tw
different criteria. One of those criteria maintains its value to bein
either true or false, however the other can vary between one of fiv
different states. Each state then represents a number by which th
data will be summed by.
I have placed both values to appear (as chosen by the user) in separat
cells (so the formula has to check to see which of the criteria i
located in the cell, for each option)
Now if Excel would allow more than seven IF statements I would have n
problem, but because it does, I do.
Here is my current non-working formula:
=IF(AND(D57=1,Quick!G55=TRUE),SUM(Quick!K4),IF(AND(D57=2,Quick!G55=TRUE),Quick!J4*L63,IF(AND(D57=3,Quick!G55=TRUE),Quick!J4*L64,iF(AND(D57=1,Quick!G55=FALSE),SUM(Standard!B4:C7),IF(AND(D57=2,Quick!G55=FALSE),Standard!B3*L63,IF(AND(D57=3,Quick!G55=FALSE),Standard!B3*L64,IF(AND(D57=4,Quick!G55=TRUE),Quick!J4*L67,IF(and(D57=5,Quick!G55=TRUE),Quick!J4*L68,IF(AND(D57=4,Quick!G55=FALSE),Standard!B3*L67,IF(AND(D57=5,Quick!G55=FALSE),Standard!B3*L68,0))))))))))
D57 is the cell in which 1 of 5 different values will appear based o
user option (drop-down menu)
Quick!G55 is the third page of the book in which the user clicks a bo
to indicate that data from that page, rather than page 2, should b
used in the formula.
L63 is the cell in which the number that represents the users choic
resides.
Please offer your opinions on a work around for this. I am at a loss.
Thanks,
Mat
I have the following problem:
I have a 3 page workbook, in which i need to sum two cells based on tw
different criteria. One of those criteria maintains its value to bein
either true or false, however the other can vary between one of fiv
different states. Each state then represents a number by which th
data will be summed by.
I have placed both values to appear (as chosen by the user) in separat
cells (so the formula has to check to see which of the criteria i
located in the cell, for each option)
Now if Excel would allow more than seven IF statements I would have n
problem, but because it does, I do.
Here is my current non-working formula:
=IF(AND(D57=1,Quick!G55=TRUE),SUM(Quick!K4),IF(AND(D57=2,Quick!G55=TRUE),Quick!J4*L63,IF(AND(D57=3,Quick!G55=TRUE),Quick!J4*L64,iF(AND(D57=1,Quick!G55=FALSE),SUM(Standard!B4:C7),IF(AND(D57=2,Quick!G55=FALSE),Standard!B3*L63,IF(AND(D57=3,Quick!G55=FALSE),Standard!B3*L64,IF(AND(D57=4,Quick!G55=TRUE),Quick!J4*L67,IF(and(D57=5,Quick!G55=TRUE),Quick!J4*L68,IF(AND(D57=4,Quick!G55=FALSE),Standard!B3*L67,IF(AND(D57=5,Quick!G55=FALSE),Standard!B3*L68,0))))))))))
D57 is the cell in which 1 of 5 different values will appear based o
user option (drop-down menu)
Quick!G55 is the third page of the book in which the user clicks a bo
to indicate that data from that page, rather than page 2, should b
used in the formula.
L63 is the cell in which the number that represents the users choic
resides.
Please offer your opinions on a work around for this. I am at a loss.
Thanks,
Mat