ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sumif "today()" (https://www.excelbanter.com/excel-discussion-misc-queries/236554-sumif-today.html)

Ken King

Sumif "today()"
 
Here is my formula:

=SUMIF($A$3:$A$47,"=<today()",$D$3:$D$47)

I am try to sum column D if the date in column A is equal to or less than
today. My date column has valid dates (formated as date) from 2005 to 2018
and all rows in column D have valid numbers, yet this formula returns 0. I
have tried with and without the equal sign and brackets. Any suggestions?
Ken


Max

Sumif "today()"
 
Think it should be:
=SUMIF($A$3:$A$47,"<="&TODAY(),$D$3:$D$47)

Above tested ok. Punch YES to celebrate your success.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Ken King" wrote:
Here is my formula:

=SUMIF($A$3:$A$47,"=<today()",$D$3:$D$47)

I am try to sum column D if the date in column A is equal to or less than
today. My date column has valid dates (formated as date) from 2005 to 2018
and all rows in column D have valid numbers, yet this formula returns 0. I
have tried with and without the equal sign and brackets. Any suggestions?
Ken


smartin

Sumif "today()"
 
Ken King wrote:
Here is my formula:

=SUMIF($A$3:$A$47,"=<today()",$D$3:$D$47)

I am try to sum column D if the date in column A is equal to or less than
today. My date column has valid dates (formated as date) from 2005 to 2018
and all rows in column D have valid numbers, yet this formula returns 0. I
have tried with and without the equal sign and brackets. Any suggestions?
Ken


Try
=SUMIF($A$3:$A$47,"=<"&TODAY(),$D$3:$D$47)

(note " and &)


All times are GMT +1. The time now is 02:32 AM.

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