+ Reply to Thread
Results 1 to 5 of 5

TO Automatically Change the Sum range without Editing the Function

  1. #1
    Forum Contributor
    Join Date
    02-11-2015
    Location
    Jakarta, Indonesia
    MS-Off Ver
    2019
    Posts
    118

    TO Automatically Change the Sum range without Editing the Function

    Hello Master,

    i got this solutions in this forum before and i would like to continue to ask ... but its already have tag SOLVED

    the function is to sort value based on the highest, it works, but i have to change/edit the sum range column manually if i change the period

    as attached, could it automatically changing whenever i change the period ?

    please advise... thank you so much....
    Attached Files Attached Files
    Last edited by Did13n; 09-20-2015 at 09:18 PM.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2505
    Posts
    13,758

    Re: TO Automatically Change the Sum range without Editing the Function

    One way to do this is with Dynamic Named Ranges. They shrink and grow automatically as data is entered / deleted. In Name Manager I put this formula which I named Feb_Sold.

    =Sheet2!$D$3:INDEX(Sheet2!$D:$D,MATCH(1E+306,Sheet2!$D:$D,1))

    Then replaced the D3:D14 references with that name. Edit for the remaining ranges and give them unique names in Name Manager.

    Does this do what you want?
    Dave

  3. #3
    Forum Contributor
    Join Date
    02-11-2015
    Location
    Jakarta, Indonesia
    MS-Off Ver
    2019
    Posts
    118

    Re: TO Automatically Change the Sum range without Editing the Function

    Hi FlameRetired

    thanks for your advise, now i will need to learn about Name Manager first to get your message .. let me go thru first

    once i got it will tag this as SOLVED

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2505
    Posts
    13,758

    Re: TO Automatically Change the Sum range without Editing the Function

    Super!

  5. #5
    Forum Contributor
    Join Date
    02-11-2015
    Location
    Jakarta, Indonesia
    MS-Off Ver
    2019
    Posts
    118

    Re: TO Automatically Change the Sum range without Editing the Function

    ya, but i was thinking also to use OFFSET if possible.. Once i get home will try your advise

    cheers :beer:

+ 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. Editing my recorded macro to get it to work despite a range length change
    By dasseya1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2013, 11:15 AM
  2. Replies: 8
    Last Post: 04-05-2013, 02:11 PM
  3. [SOLVED] Need a code or formula that will automatically change the named range in my formulas
    By mo4391 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2013, 11:24 AM
  4. Change the line graph range in Excel 2007 automatically without changing the data range
    By vinuhm@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-21-2013, 05:26 AM
  5. Replies: 11
    Last Post: 10-22-2012, 07:48 PM
  6. [SOLVED] Automatically change colour of range of cells?
    By ThomasCarter in forum Excel General
    Replies: 2
    Last Post: 08-22-2012, 05:11 PM
  7. Editing BOM automatically
    By achmidt in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-17-2011, 05:28 PM
  8. [SOLVED] Automatically email co-worker when a range of Excel cells change
    By Mary Grimes in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-22-2005, 02:05 PM

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