LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Dsum date based on selection of months

Hello,
Can someone please lend a hand with the correct syntax to do the
following?

I have a column of dates within a named range database table. I am
trying to setup the worksheet to allow my users to aggregate the daily
data into specified months. So for a simple example I would be using
"Table" as the named range for all columns, "Date" as the column with
daily dates, and "Data" as the column name of the data I want to
aggregate.

I assume it would be best to have a table off to the side that would
have the month numbers I need to aggregate and then have the Dsum
formula reference that table?

(criteria range)
Date
1
2
5

To aggregate months 1, 2, and 5)

Then Dsum(Table,"Data",criteria range)

I issue is how do I get the formula to look for months versus actual
dates? I suppose if I was doing a simple or < it would be simpler,
but I need to allow ability to select non congruent months.

Thanks in advance for any insights on how to get this done!!

Greg

 
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
selection based on a date in a cell mattguerilla Excel Discussion (Misc queries) 2 October 1st 06 03:44 PM
Conditional formatting based on date range RGB Excel Discussion (Misc queries) 3 May 23rd 06 05:37 PM
Power users need your help €“ calculation based on a date General X Excel Worksheet Functions 1 May 22nd 06 03:42 PM
Bucketing data based on DATE Range criteria sumitk Excel Discussion (Misc queries) 1 May 20th 06 12:16 AM
Calculate Start Dates based on Need-By Date? GB Excel Worksheet Functions 2 February 21st 06 06:11 PM


All times are GMT +1. The time now is 09:57 AM.

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

About Us

"It's about Microsoft Excel"