ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMIF HELP PLEASE (https://www.excelbanter.com/excel-worksheet-functions/6819-sumif-help-please.html)

LOU

SUMIF HELP PLEASE
 
Column C = Date
Column D = Account Number
column F = Value

I need a sumif formula if the criteria meets both the requirements,

=SUMIF(C2:C146=11/01/04)*(D2:D146=3)*(F2:F146))

It is not meeting the second criterua of the date and it is suming all the
"3" Account Numbers.

It should bring back the one value and not double it.

Thank you.
Lou

Frank Kabel

Hi
=SUMPRODUCT(--(C2:C146=DATE(2004,11,1)),--(D2:D146=3),F2:F146)

Also see:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

--
Regards
Frank Kabel
Frankfurt, Germany

"LOU" schrieb im Newsbeitrag
...
Column C = Date
Column D = Account Number
column F = Value

I need a sumif formula if the criteria meets both the requirements,

=SUMIF(C2:C146=11/01/04)*(D2:D146=3)*(F2:F146))

It is not meeting the second criterua of the date and it is suming

all the
"3" Account Numbers.

It should bring back the one value and not double it.

Thank you.
Lou



Arvi Laanemets

Hi

=SUMPRODUCT(--(C2:C146=DATE(2004,1,11)),--(D2:D146=3),(F2:F146))


Arvi Laanemets


"LOU" wrote in message
...
Column C = Date
Column D = Account Number
column F = Value

I need a sumif formula if the criteria meets both the requirements,

=SUMIF(C2:C146=11/01/04)*(D2:D146=3)*(F2:F146))

It is not meeting the second criterua of the date and it is suming all the
"3" Account Numbers.

It should bring back the one value and not double it.

Thank you.
Lou





All times are GMT +1. The time now is 08:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com