Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Mon, 13 Apr 2009 09:12:04 -0700, KS
wrote: Need help with the following: Column N contains numeric values (page counts) - I need to add the sum of N under 2 conditions. N will always contain a numeric value 1) Total of N for all records where A= Y and B= Y 2) Total of N for all records where A= Y and B= N 3) if either of the above conditions are not met, the value in N is not included These 2 totals will reside in two diff cells - doesn't matter where, say M1 and M2 respectively. Thanks in advance for the help Try these formulas: =SUMPRODUCT((A1:A100="Y")*(B1:B100="Y")*(N1:N100)) and =SUMPRODUCT((A1:A100="Y")*(B1:B100="N")*(N1:N100)) Change the 100's to fit the size of your data in columns A and B Hope this helps / Lars-Åke |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivot Totals: Group totals different from Grand totals | Excel Discussion (Misc queries) | |||
Grand Totals with Nested Sub Totals | Excel Discussion (Misc queries) | |||
how to enter totals and sub totals from receipts into excel. | New Users to Excel | |||
Summing Weekly Totals into Monthly Totals | Excel Worksheet Functions | |||
Comparing/matching totals in a column to totals in a row | Excel Worksheet Functions |