ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sumif function (https://www.excelbanter.com/excel-worksheet-functions/147570-sumif-function.html)

nk

sumif function
 
I want to sum all cells in the range b69:b87 if the corresponded date
on A69:A87 greater then today (22-June-07)

below is data on cells A69:B87 on cell B88 i enetered
=SUMIF(A69:A87,"today()",B69:B87) and received 0 - what wrong?
B A
01/07/2007 1,934
30/06/2007 43,949
30/06/2007 40,000
01/07/2007 1,205
05/07/2007 9,372
09/07/2007 1,052
09/07/2007 19,188
10/07/2007 3,467
16/07/2007 34,848
30/07/2007 47,595
30/07/2007 13,613
31/07/2007 32,679
01/08/2007 1,144
09/08/2007 3,808
10/08/2007 3,467
01/09/2007 6,242
01/09/2007 6,184
30/06/2007 190,806
13/07/2007 21,403


Toppers

sumif function
 
try:

=SUMIF(A69:A87,"" & TODAY(),B69:B87)

"nk" wrote:

I want to sum all cells in the range b69:b87 if the corresponded date
on A69:A87 greater then today (22-June-07)

below is data on cells A69:B87 on cell B88 i enetered
=SUMIF(A69:A87,"today()",B69:B87) and received 0 - what wrong?
B A
01/07/2007 1,934
30/06/2007 43,949
30/06/2007 40,000
01/07/2007 1,205
05/07/2007 9,372
09/07/2007 1,052
09/07/2007 19,188
10/07/2007 3,467
16/07/2007 34,848
30/07/2007 47,595
30/07/2007 13,613
31/07/2007 32,679
01/08/2007 1,144
09/08/2007 3,808
10/08/2007 3,467
01/09/2007 6,242
01/09/2007 6,184
30/06/2007 190,806
13/07/2007 21,403



Mike H

sumif function
 
Try,
= SUMPRODUCT((A1:A5TODAY())*(B1:B5))

Change the ranges to suit

Mike
"nk" wrote:

I want to sum all cells in the range b69:b87 if the corresponded date
on A69:A87 greater then today (22-June-07)

below is data on cells A69:B87 on cell B88 i enetered
=SUMIF(A69:A87,"today()",B69:B87) and received 0 - what wrong?
B A
01/07/2007 1,934
30/06/2007 43,949
30/06/2007 40,000
01/07/2007 1,205
05/07/2007 9,372
09/07/2007 1,052
09/07/2007 19,188
10/07/2007 3,467
16/07/2007 34,848
30/07/2007 47,595
30/07/2007 13,613
31/07/2007 32,679
01/08/2007 1,144
09/08/2007 3,808
10/08/2007 3,467
01/09/2007 6,242
01/09/2007 6,184
30/06/2007 190,806
13/07/2007 21,403




All times are GMT +1. The time now is 12:43 PM.

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