+ Reply to Thread
Results 1 to 5 of 5

Reverse Engineer a Formula?

  1. #1
    Forum Contributor
    Join Date
    12-30-2009
    Location
    US
    MS-Off Ver
    Excel 2003, 2010, 2016, 2019, & Office 365
    Posts
    194

    Reverse Engineer a Formula?

    I have a formula that I need to reverse. I know it's just algebra, but good grief I can't get it. Here is the current formula:

    =(C$6*(1-B41)-C$7)/G$2 which yields a value of 0.86

    Here are the #'s in the above referenced cells:
    C6 =318,096
    B41 =25%
    C7 =164,087
    G2 =86,292

    I want to know if the value were 1 instead of 0.86, what would be the % (displayed in B41).
    Last edited by Rick-O-Shay; 08-28-2013 at 10:36 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Reverse Engineer a Formula?

    Use Goal Seek ...

    To get the hang of using it, see below - its a previous posting of mine which provides an example / details
    --------------------------------------------------
    Perhaps try something along these lines
    to grasp a feel on using the Goal Seek* functionality ..
    *It's on the Tools menu, not Data menu

    Let's say we have the formula in B1:
    =sum(A1+A2+A3+A4+33*(sqrt(200)))
    and we have in: A2=22, A3=3 and A4=7

    Assume we want to find out what the value in A1 should be for B1 to resolve
    to a target value of say, 100, given the values in the other dependent cells
    A2, A3 and A4

    Select B1
    Click Tools > Goal Seek

    In the Goal Seek dialog,
    ensure/make the settings as:

    Set cell: B1
    To value: 100 (< target value for B1)
    By changing cell: A1

    Click OK

    The Goal Seek Status dialog will show that a solution has been found,
    and we'd get the computed value in A1: -398.69

    If we click OK, the dialog will dismiss and the value in A1 will be
    retained.

    If we click Cancel, the dialog will dismiss w/o any changes to the pre-run
    state.
    ------------------
    Any good? Wave it, hit the little star at the bottom left of my responses

  3. #3
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Reverse Engineer a Formula?

    21.29%
    using Solver
    Gary's Student

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Reverse Engineer a Formula?

    using algebra(distribution of x)

    =c6(1-b41)-c7 /g2 -> b41 is our X distribute c6 becomes c6x1 - c6xb41 -c7 /g2

    =c6-c6b41-c7 /g2 -> bold is our X

    c6b41=(c6-c7+g2)

    transpose x
    =(c6-c7+g2) / c6b41


    final formula in a cell is

    =(C6-C7-G2)/C6 gives you 0.212882275 convert it to percentage
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  5. #5
    Forum Contributor
    Join Date
    12-30-2009
    Location
    US
    MS-Off Ver
    Excel 2003, 2010, 2016, 2019, & Office 365
    Posts
    194

    Re: Reverse Engineer a Formula?

    I love you guys! Thank you!

+ 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. Introduction - Zeeshan - Software Engineer - Accenture - India
    By im.zeeshan in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 05-05-2013, 08:37 PM
  2. Replies: 6
    Last Post: 05-05-2013, 07:17 PM
  3. Engineer Sparky
    By Engineer Sparky in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 01-12-2013, 05:25 AM
  4. Energy engineer
    By Troyban in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-07-2012, 02:21 PM
  5. Energy engineer
    By Troyban in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 12-07-2012, 01:29 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