+ Reply to Thread
Results 1 to 3 of 3

Need a code or formula that will automatically change the named range in my formulas

  1. #1
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Tampa, Florida
    MS-Off Ver
    Excel 2013
    Posts
    142

    Need a code or formula that will automatically change the named range in my formulas

    Hi everyone,

    I'm looking for a code or a formula that I can use in the attached workbook. In the "Month" tab I have formulas that reference named ranges from the "Summary" tab. Each named range is named for a different month of the year. What I'd like is to have the named range referenced to automatically change to the month that I type in cell C1 on the "Month" tab. I know I can do a find/replace with Excel's built in tool, but I'm trying to make it easier for other people that would be using this workbook.

    It would be great if it would change just by entering a new month in C1 of the "Month" tab, but a pop-up window or macro embedded button asking for which month to change to would work too.

    Any help someone can provide would be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Need a code or formula that will automatically change the named range in my formulas

    Hi

    Month!B5: =INDEX(INDIRECT($C$1),5 )

    See how that goes.

    rylo

  3. #3
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Tampa, Florida
    MS-Off Ver
    Excel 2013
    Posts
    142

    Re: Need a code or formula that will automatically change the named range in my formulas

    Like a charm! Thank you very much. This forum is an absolute life saver.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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