LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Vlad
 
Posts: n/a
Default Conditional Sum and DATEVALUE function

I have been trying to create a reusable formula that calculates monthly sums
and can easily adjust values for what-ifs. I used the Conditional Sum Wizard
add-in to create the following formula:
=SUM(IF($A$4:$A$2101=DATEVALUE("10/1/04"),IF($A$4:$A$2101<=DATEVALUE("10/31/04"),$E$4:$E$2101,0),0))
A comparable formula would be assigned to other cells for additional monthly
ranges; however, it is impractical to keep adding different ranges, as each
sheet contains about 36 months that are sequential but begin and end at
varying points. The DATEVALUE function strikes me as one of the stupidest in
Excel because of the inability to input cell ranges, forcing you to key in
specific dates every time. I was hoping someone out there knows a way around
this limitation. I'd appreciate any help.
 
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 02:47 PM.

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"