#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 155
Default Date Issue

Hi all,

I use this formula to pull specific rows out of a master sheet and sum their
totals. In this instance, all rows for the month of January:

=SUMPRODUCT(--('Daily Reading Master
Log'!B3:B400=DATEVALUE("01/01")),--('Daily Reading Master
Log'!B3:B400<=DATEVALUE("30/01")),'Daily Reading Master Log'!BU3:BU400)


Question: How can i make the date more generic so i will not have to update
the formula each year? I would like the formula to look for the month and
day only...and not worry about the year because only one year of data will be
held in the workbook.

Ideas?
--
Carlee
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Date Issue

Hi Calee,

DATEVALUE("01/01") and DATEVALUE("30/01") will
always return dates in the current year


---
Regards,
Norman


"Carlee" wrote in message
...
Hi all,

I use this formula to pull specific rows out of a master sheet and sum
their
totals. In this instance, all rows for the month of January:

=SUMPRODUCT(--('Daily Reading Master
Log'!B3:B400=DATEVALUE("01/01")),--('Daily Reading Master
Log'!B3:B400<='Daily Reading Master Log'!BU3:BU400)


Question: How can i make the date more generic so i will not have to
update
the formula each year? I would like the formula to look for the month and
day only...and not worry about the year because only one year of data will
be
held in the workbook.

Ideas?
--
Carlee



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
Date Issue Clois Beckwith Excel Discussion (Misc queries) 4 November 1st 07 03:55 PM
Date issue Jim Savage Excel Discussion (Misc queries) 7 February 9th 07 03:48 PM
DATE ISSUE! Joan Excel Worksheet Functions 2 June 15th 06 03:39 PM
Date issue polk383 Excel Worksheet Functions 3 June 10th 06 06:21 PM
date issue khennet Excel Programming 4 April 6th 04 05:46 PM


All times are GMT +1. The time now is 02:21 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"