Date Issue

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
Hi Calee,

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

function tweak? 5
Using SumProduct in Code 2
Named Ranges in Functions 2
If statement trouble 3
Where no value, display "NA" - if statement? 3
Desparate..please help 4
If Statement 1
If Statement 2

Back
Top