ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   =SUMIF(B8:B38,"<"&TODAY(),D8+H8+L8+P8+U8+Y8) (https://www.excelbanter.com/excel-worksheet-functions/69188-%3Dsumif-b8-b38-today-d8-h8-l8-p8-u8-y8.html)

JR

=SUMIF(B8:B38,"<"&TODAY(),D8+H8+L8+P8+U8+Y8)
 
Excel Yoda's,

Thanks for the help.

The following does not work:

=SUMIF(B8:B38,"<"&TODAY(),D8+H8+L8+P8+U8+Y8)

however when using as the following it works fine:

=SUMIF(B8:B38,"<"&TODAY(),D8:Y8)

What wrong I do?

Thanks


Ron Coderre

=SUMIF(B8:B38,"<"&TODAY(),D8+H8+L8+P8+U8+Y8)
 
=SUMIF(B8:B38,"<"&TODAY(),D8+H8+L8+P8+U8+Y8)
SUMIF accepts one test range, one criteria, and one summary range

See if this works for you:
=SUMPRODUCT((B8:B380)*(B8:B38<TODAY())*(D8:D38+H8 :H38+L8:L38+P8:P38+U8:U38+Y8:Y38))


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"JR" wrote:

Excel Yoda's,

Thanks for the help.

The following does not work:

=SUMIF(B8:B38,"<"&TODAY(),D8+H8+L8+P8+U8+Y8)

however when using as the following it works fine:

=SUMIF(B8:B38,"<"&TODAY(),D8:Y8)

What wrong I do?

Thanks


JR

=SUMIF(B8:B38,"<"&TODAY(),D8+H8+L8+P8+U8+Y8)
 
It works, however I need a way to blank the zero

"Ron Coderre" wrote:

=SUMIF(B8:B38,"<"&TODAY(),D8+H8+L8+P8+U8+Y8)
SUMIF accepts one test range, one criteria, and one summary range

See if this works for you:
=SUMPRODUCT((B8:B380)*(B8:B38<TODAY())*(D8:D38+H8 :H38+L8:L38+P8:P38+U8:U38+Y8:Y38))


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"JR" wrote:

Excel Yoda's,

Thanks for the help.

The following does not work:

=SUMIF(B8:B38,"<"&TODAY(),D8+H8+L8+P8+U8+Y8)

however when using as the following it works fine:

=SUMIF(B8:B38,"<"&TODAY(),D8:Y8)

What wrong I do?

Thanks



All times are GMT +1. The time now is 07:50 AM.

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