+ Reply to Thread
Results 1 to 2 of 2

INDIRECT formula not calculating properly

  1. #1
    Registered User
    Join Date
    11-26-2008
    Location
    San Francisco
    Posts
    33

    INDIRECT formula not calculating properly

    I'm using INDIRECT to reference a sheet dynamically. For some reason it's just evaluating to the wrong number. I stepped through the formula's break down with Evaluate Formula feature and it breaks down and parses the formula properly, but then comes up with the wrong value. If I type in manually what INDIRECT comes up with for a formula, it gets the right value..

    Excel 2007

    Please Login or Register  to view this content.
    Any thoughts?

    I have sheets with month names and then those sheets have a local named range with a list of sales targets. AK21 is a date.

    Thanks,
    negcx
    Last edited by negcx; 01-20-2009 at 08:01 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531
    shouldn't that be:

    =INDEX(INDIRECT("'"&INDEX(dataMonthNames,MONTH(AK21))&"'!localSalesTarget"),DAY(AK21))

    use INDIRECT to create the range to be used in the INDEX, not the formula itself.

+ 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