#1   Report Post  
choice
 
Posts: n/a
Default sum if

The values in [Data.xls]Register!$B$2:$B$10000 are dates like 03/22/05

=SUMIF([Data.xls]Register!$B$2:$B$10000,MONTH(TODAY()-15),[Data.xls]Register!$AI$2:$AI$10000)
it just returns zero
im sure its the MONTH part thats messing it up, but i cant figure out a
solution

thanks in advance
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Try

=SUMPRODUCT(--(MONTH([Data.xls]Register!$B$2:$B$10000)=MONTH(TODAY()-15),[Da
ta.xls]Register!$AI$2:$AI$10000)


--

HTH

RP
(remove nothere from the email address if mailing direct)


"choice" wrote in message
...
The values in [Data.xls]Register!$B$2:$B$10000 are dates like 03/22/05


=SUMIF([Data.xls]Register!$B$2:$B$10000,MONTH(TODAY()-15),[Data.xls]Register
!$AI$2:$AI$10000)
it just returns zero
im sure its the MONTH part thats messing it up, but i cant figure out a
solution

thanks in advance



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"