Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Changing Sum Range Based on Date Chosen from Drop Down List

Hi,

I am trying to find a way to simplify the nested if i wrote below. I want my calculation to be done based on the date I input. My values are stored in a table as follows:

Jul-13 Aug-13 Sep-13 Oct-13............Total
Value1 Value2 Value3 Value4........ Sum(n0:n+k)

A1: Input Date

=IF($A$1="Jul-13",SUM(Q4),IF($A$1="Aug-13",SUM(Q4:R4),IF($A$1="sep-13",SUM(Q4:S4),IF($A$1="Oct-13",SUM(Q4:T4),IF($A$1="Nov-13",SUM(Q4:U4),IF($A$1="Dec-13",SUM(Q4:V4),IF($A$1="Jan-14",SUM(Q4:W4),IF($A$1="Feb-14",SUM(Q4:X4),IF($A$1="Mar-14",SUM(Q4:Y4),IF($A$1="apr-14",SUM(Q4:Z4),IF($A$1="May-14",SUM(Q4:AA4),IF($A$1="Jun-14",SUM(Q4:AB4),"Error, Please Check Date"))))))))))))

Regards,

ME
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
Changing range based on Date KeyloPapa Excel Discussion (Misc queries) 5 October 3rd 09 04:59 PM
Generate date in cell on changing value in drop down list Hannes Excel Programming 7 August 27th 08 01:39 PM
Source Range Data changing based on drop-down menu [email protected] Charts and Charting in Excel 3 March 9th 08 06:19 PM
How to Change List Based on Value Chosen in Another List Edwin Kelly Excel Worksheet Functions 4 March 2nd 06 07:31 PM
My Excel drop-down list eliminates from list options chosen. Help Sybil Excel Programming 2 January 19th 06 09:19 PM


All times are GMT +1. The time now is 08:38 AM.

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"