+ Reply to Thread
Results 1 to 4 of 4

Sum funtion by selecting the range from drop down list

  1. #1
    Registered User
    Join Date
    07-08-2014
    Location
    Bangalore,India
    MS-Off Ver
    2007
    Posts
    4

    Sum funtion by selecting the range from drop down list

    Hi

    I have one tab in which I have net sales amount of all the months i.e. January to December in sheet2.

    I have put drop down list in sheet 1 to select period . i.e period from - to -

    The user will select the period from in cell G4 & period to I4.

    I want the formula which can automatically calculate the Sum of selected period(for say August to November)

    I am not sure how to use the sum formula with the dynamic ranges

    Please find attached the dummy file for your reference.

    Thanks for your help in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Sum funtion by selecting the range from drop down list

    Try

    =SUM(INDEX(Sheet2!E7:P7,MATCH(G4,Sheet2!E4:P4,0)):INDEX(Sheet2!E7:P7,MATCH(I4,Sheet2!E4:P4,0)))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    07-08-2014
    Location
    Bangalore,India
    MS-Off Ver
    2007
    Posts
    4

    Re: Sum funtion by selecting the range from drop down list

    Perfect..

    Thanks a Lot

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Sum funtion by selecting the range from drop down list

    If that takes care of your original question, please select Thread Tools from the menu link just above your first post and mark this thread as SOLVED.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Selecting Drop Down List Menu
    By rlee12 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-12-2013, 06:16 PM
  2. Selecting Checkboxes using Drop Down List
    By neerajdwivedi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-02-2013, 06:44 AM
  3. Replies: 3
    Last Post: 04-16-2012, 10:14 PM
  4. IF funtion to select from drop down list
    By amitraiforyou in forum Excel General
    Replies: 6
    Last Post: 11-19-2010, 02:31 PM
  5. [SOLVED] Selecting Checkboxes using Drop Down List
    By 3dpilot in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2010, 10:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1