+ Reply to Thread
Results 1 to 7 of 7

Trace formula result

  1. #1
    Forum Contributor
    Join Date
    12-08-2012
    Location
    Copenhagen
    MS-Off Ver
    Excel 2010
    Posts
    119

    Trace formula result

    Hi everyone

    I have this excelsheet with a lot of INDEX-MATCH functions. Can anyone tell me how to "trace" the result?

    For example:
    Lets say the resultat from an index-match formula (or any formula) is 10.

    Can I, somehow, "trace" the resultat, i.e. where the 10 comes from? For example C10 or Sheet1, cellc10...

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Trace formula result

    The result of the match part of the function will be the row in the index function that the 10 comes from.

    So if you have:
    =INDEX(A5:A10,MATCH(A1,A5:A10,0))

    Then the result of the match function will be the position in the range A5:A10 that the result comes from.

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,504

    Re: Trace formula result

    are you referring to the trace dependents function under the formulas tab?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Forum Contributor
    Join Date
    12-08-2012
    Location
    Copenhagen
    MS-Off Ver
    Excel 2010
    Posts
    119

    Re: Trace formula result

    @Ragulduy: I know, but thanks. I just wondered if we could take it further than juts a position in a range.
    @Sambo kid: No. I was just wondering if I could trace the result from a formula.

    For example a INDEX-MATCH formula like the one Ragulduy has written. If it finds the match in cell A8, I would like a formula that told me that the result from the index-match formula is found in A8.

    Does it make sense?

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Trace formula result

    There is no formula you can just wrap around the INDEX formula and it'll spit out the cell address. You could construct a separate formula that gives you the address but that would require knowing your formula exactly. You can use "Evaluate Formula" in the Formula Tab to watch the formula evaluate step by step which may help also.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,869

    Re: Trace formula result

    I would probably use ragulduy's suggestion. If you un-nest the match from within the index function, you can use that result, combined with the known address of the starting cell of your index range, to figure out the address of the final result. See attached.
    Attached Files Attached Files
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  7. #7
    Forum Contributor
    Join Date
    12-08-2012
    Location
    Copenhagen
    MS-Off Ver
    Excel 2010
    Posts
    119

    Re: Trace formula result

    @MrShorty: Thanks! Though I already have something similar to your suggestion, but thanks anyways . I'll close this thread.

+ 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] Protect sheet but allow trace precedents / trace dependents?
    By abchak1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-16-2013, 10:32 AM
  2. How to trace a formula error?
    By SueWithQuestion in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-03-2012, 08:26 AM
  3. Trace dependent does not work, trace precedent does
    By marnie in forum Excel General
    Replies: 0
    Last Post: 05-23-2007, 12:50 PM
  4. FORMULA AUDITING TRACE ARROWS
    By SID in forum Excel General
    Replies: 0
    Last Post: 03-02-2006, 06:10 PM
  5. [SOLVED] Excel Trace Formula
    By cgrant in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-17-2005, 03: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