#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default SUMIF using Dates

Hi,

I want to be able to do a SUMIF where the criteria is that the values should
be less than a date (stored in column A). Although I can get the SUMIF
expression to work if a explicitly insert the date (e.g.
SUMIF(.....,"<11/09/06",.....), if I insert and expression (e.g.
SUMIF(.....,"<(A95+7)",.....) - where A95 contains the date value for
04/09/06 - it produces the wrong result.

Can anyone point out where I am going wrong?
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default SUMIF using Dates


"Mike McLellan" wrote...
Hi,
I want to be able to do a SUMIF where the criteria is that the values
should
be less than a date (stored in column A). Although I can get the SUMIF
expression to work if a explicitly insert the date (e.g.
SUMIF(.....,"<11/09/06",.....), if I insert and expression (e.g.
SUMIF(.....,"<(A95+7)",.....) - where A95 contains the date value for
04/09/06 - it produces the wrong result.
Can anyone point out where I am going wrong?


Hi!

Try it like this:

SUMIF(.....,"<"&A95+7,.....)

Biff


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default SUMIF using Dates

Mike,

=SUMIF(......,"<" & A95+7,....)

HTH

"Mike McLellan" wrote:

Hi,

I want to be able to do a SUMIF where the criteria is that the values should
be less than a date (stored in column A). Although I can get the SUMIF
expression to work if a explicitly insert the date (e.g.
SUMIF(.....,"<11/09/06",.....), if I insert and expression (e.g.
SUMIF(.....,"<(A95+7)",.....) - where A95 contains the date value for
04/09/06 - it produces the wrong result.

Can anyone point out where I am going wrong?

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sum of data between two dates - tried SUMIF and it returned "0" qwopzxnm Excel Worksheet Functions 2 October 24th 05 09:14 PM
SUMIF for Dates / Months ? ZMAN Excel Worksheet Functions 5 August 26th 05 02:07 AM
SUMIF function - criteria of between two dates. How? Frannie21 Excel Worksheet Functions 4 January 27th 05 03:28 PM
SUMIF USING DATES RayG Excel Discussion (Misc queries) 4 January 6th 05 11:31 PM
SUMIF between dates Bruce Excel Worksheet Functions 3 November 25th 04 05:25 PM


All times are GMT +1. The time now is 10:16 PM.

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"