Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
A1=5 B1=Red
A2=7 B2=Blue A3=2 B3=Red A4=4 B4=Red A5=6 B5=Blue I know if I have SUBTOTAL(4,A1:A5) the result will be 7, but how can I specify I only want the SUBTOTAL function to consider items in the range that match a corresponding value in the B column. For example if I have the same function, SUBTOTAL(4,A1:A5) but I want it only to look at corresponding Red values such that the result should be 5 as it would only be looking at A1, A3 & A4. This would permit me to find the highest value in the range of A1:A5 that were of Red. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Subtotal vs Pivot table - or best way | Excel Discussion (Misc queries) | |||
Subtotal Bug in Excel 2003 | Excel Discussion (Misc queries) | |||
Is there a command like subtotal but with a conditional? | Excel Worksheet Functions | |||
Subtotal of Subtotal displays Grand Total in wrong row | Excel Worksheet Functions | |||
Is it possible to do a conditional subtotal in Excel? | Excel Worksheet Functions |