Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello,
I have been trying for days to get the following function to work: =SUMPRODUCT((JAN!G:G=C18)*(JAN!M:M="y"))=COUNTIF(J AN!B:B,C2) The Sumproduct section works fine in isolation... but the above gives me a true/false result. I have tried * instead of = prior to the countif, but this results in an incorrect outcome. Please help, Thanks Aaron |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Perhaps the countif is not needed:
=SUMPRODUCT((JAN!G1:G10=C18)*(JAN!M1:M10="y")*(JAN !B1:B10=C2)) -- Gary''s Student - gsnu2007k "Aaron Hodson (Coversure)" wrote: Hello, I have been trying for days to get the following function to work: =SUMPRODUCT((JAN!G:G=C18)*(JAN!M:M="y"))=COUNTIF(J AN!B:B,C2) The Sumproduct section works fine in isolation... but the above gives me a true/false result. I have tried * instead of = prior to the countif, but this results in an incorrect outcome. Please help, Thanks Aaron |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Perfect!!!
Thanks very much for your help and prompt assistance. Kind regards Aaron "Gary''s Student" wrote in message ... Perhaps the countif is not needed: =SUMPRODUCT((JAN!G1:G10=C18)*(JAN!M1:M10="y")*(JAN !B1:B10=C2)) -- Gary''s Student - gsnu2007k "Aaron Hodson (Coversure)" wrote: Hello, I have been trying for days to get the following function to work: =SUMPRODUCT((JAN!G:G=C18)*(JAN!M:M="y"))=COUNTIF(J AN!B:B,C2) The Sumproduct section works fine in isolation... but the above gives me a true/false result. I have tried * instead of = prior to the countif, but this results in an incorrect outcome. Please help, Thanks Aaron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
countif / sumproduct or something else? | Excel Discussion (Misc queries) | |||
Sumif, SumProduct, CountIf Formula Help | Excel Discussion (Misc queries) | |||
COUNTIF or SUMPRODUCT formula | Excel Discussion (Misc queries) | |||
Logic of this formula =SUMPRODUCT((A1:A4<"")/COUNTIF(A1:A4,A1:A4& | Excel Discussion (Misc queries) | |||
Which formula to use? countif, sumif, sumproduct | Excel Discussion (Misc queries) |