+ Reply to Thread
Results 1 to 5 of 5

Reporting Excel Formula Evaluation

  1. #1
    Registered User
    Join Date
    07-20-2015
    Location
    Netherlands
    MS-Off Ver
    Win10, Off2019-365
    Posts
    44

    Question Reporting Excel Formula Evaluation

    Hello,

    In Excel we have the option to evaluate a formula on the tab Formulas - Formula Auditing - Evaluate Formula.

    This is a nice tool, but when it is a more complex formula, I would like to have the possibility to generate a report that shows the individual calculation steps and the outcome of each step in-between.

    Like for example this formula:

    =IF(OrgJobSelected="Operations",GETPIVOTDATA("[S] "&F$7,PVT_BW001_Actueel!$B$2,"Markt",$B8);
    GETPIVOTDATA("[S] "&F$7,PVT_BW001_Actueel!$B$2,"Markt",$B8,OrgNiveau;OrgJobSelected))/1000000

    I would like to analyze each step and produce a report like

    =IF(
    OrgJobSelected="Operations" = TRUE,
    GETPIVOTDATA(
    "[S] "&F$7 = "[S] Planomzet",
    PVT_BW001_Actueel!$B$2,
    "Markt",
    $B8) = 437372299,04,
    GETPIVOTDATA(
    "[S] "&F$7 = "[S] Planomzet",
    PVT_BW001_Actueel!$B$2,
    "Markt",
    $B8,
    OrgNiveau,
    OrgJobSelected
    ) = #REF!
    ) = 437372299.04 / 1000000
    = 437.37229904

    (In red are the added outcome values.)

    Partly I am able to do that for simpler functions (I extract the parts between brackets and separated by "," and add the results per step),
    but I don't succeed in distinguishing formulas like "FORMULANAME(" - extract code until next ")" -
    without having to define an extensive list of possible formulas (and their number of possible arguments).

    Does anyone see a solution for this?

    Grtz, BartH

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Reporting Excel Formula Evaluation

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-20-2015
    Location
    Netherlands
    MS-Off Ver
    Win10, Off2019-365
    Posts
    44

    Re: Reporting Excel Formula Evaluation

    Hello Ali,
    Regrettably, I am not able to include a sample of this workbook as it holds sensitive information about my client.
    I was hoping the description was clear enough as it would apply to any formula.
    Grtz, BartH

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Reporting Excel Formula Evaluation

    I did not ask to see the sensitive data. I said this:

    A good sample workbook has just 10-20 rows of representative data that has been desensitised.
    It is MUCH easier for your helpers to see the issue in context. The lack of a supporting sample workbook will put a significant number of helpers off. But if you insist, then so be it.

  5. #5
    Registered User
    Join Date
    07-20-2015
    Location
    Netherlands
    MS-Off Ver
    Win10, Off2019-365
    Posts
    44

    Re: Reporting Excel Formula Evaluation

    Hi Ali,
    I do understand the essence of your message.
    I'll see if I can make something up.
    Grtz BartH

+ 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] Select a non-evaluated entry, then after manual evaluation, paste evaluation by entry
    By Marbleking in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-01-2021, 08:26 AM
  2. Replies: 1
    Last Post: 04-03-2021, 05:39 AM
  3. Evaluation Formula Help
    By mark.k.conroy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2018, 02:28 PM
  4. Replies: 6
    Last Post: 11-12-2016, 06:48 PM
  5. Transition Formula Evaluation with Lotus 1-2-3 rules in Excel 2013 ?
    By FlyUK in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-01-2013, 01:46 AM
  6. [SOLVED] Formula evaluation tool
    By Richard N in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-19-2013, 04:25 PM
  7. [SOLVED] formula in excel showing correctly during evaluation but result is not displayed .
    By D.S.Rama Rao in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-13-2010, 03:42 AM

Tags for this Thread

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