+ Reply to Thread
Results 1 to 11 of 11

Intentional Circular formula

  1. #1
    Registered User
    Join Date
    08-03-2015
    Location
    Redlands, CA
    MS-Off Ver
    Office 365
    Posts
    9

    Intentional Circular formula

    Hi guys!

    I think this is a simple thing I just don't know the vocab to search for it.

    Id like to have a formula such as X/Y=Z in which I can replace any number in that formula and have excel calculate the other variables. For instance, if I want to calculate percent profit on a project given a certain fee and expenses but neither the fee, expenses nor profit is an absolute number.

    So in essence, three cells and I can change any number in any cell and it will recalculate the other cells based on the value changed.

    any help would be greatly appreciated.

    Sincerely,

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

    Re: Intentional Circular formula

    Are you opposed to a VBA solution?
    Last edited by ChemistB; 05-25-2017 at 11:47 AM.
    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

  3. #3
    Registered User
    Join Date
    08-03-2015
    Location
    Redlands, CA
    MS-Off Ver
    Office 365
    Posts
    9

    Re: Intentional Circular formula

    Unfortunately, I have no idea what a VBA solution is and when I search it, it seems more complicated than Trumps tax form.

  4. #4
    Registered User
    Join Date
    08-03-2015
    Location
    Redlands, CA
    MS-Off Ver
    Office 365
    Posts
    9

    Re: Intentional Circular formula

    I'm willing to learn if it gets me to a working solution though.

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Intentional Circular formula

    If you want to use formulas, you can create a helper column with the following formulas:

    C1 =IF(B1="",B2*B3,"")
    C2 =IF(B2="",B1/B3,"")
    C3 =IF(B3="",B1/B2,"")

    You can input the two known values for X, Y, and Z into cells B1, B2, and B3 respectively.
    You would input 2 values into column B and the third value would show up in column C.

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

    Re: Intentional Circular formula

    A cell can contain either an entered value or a formula, but not both.

    Does all this have to occur in the same three cells? I prefer to do this sort of thing in separate ranges, designating one range as the input range, and the other as the output range. Using your example:

    1) A1, B1, C1 might be the input cells (Desired relationship is C1=A1/B1).
    2a) A2 would be something like =IF(ISBLANK(A1),C1*B1,A1)
    2b) B2 would be something like =IF(ISBLANK(B1),A1/C1,B1)
    and so on.

    As simple as that is to put together, is there some reason that won't work for you?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

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

    Re: Intentional Circular formula

    Let's say, as proposed by Falcondude, B1 = x =b2*b3, B2= y = b1/B3 and B3 = z = b1/b2

    If initially, the 3 cells contain 3,2, and 1.5 respectively and you change B3 to 3, there are an infinite number of possibilities for B1 and B2
    (1.5, 0.5), (3,1), (6,2) etc. What would you expect in B1 and B2?

  8. #8
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Intentional Circular formula

    Quote Originally Posted by ChemistB View Post
    Let's say, as proposed by Falcondude, B1 = x =b2*b3, B2= y = b1/B3 and B3 = z = b1/b2

    If initially, the 3 cells contain 3,2, and 1.5 respectively and you change B3 to 3, there are an infinite number of possibilities for B1 and B2
    (1.5, 0.5), (3,1), (6,2) etc. What would you expect in B1 and B2?
    I didn't catch that. Good point.

    I assumed that the OP would only be solving for one variable at a time.

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Intentional Circular formula

    Quote Originally Posted by TreeToes83 View Post
    Unfortunately, I have no idea what a VBA solution is and when I search it, it seems more complicated than Trumps tax form.
    I thought the tax form in question was simple: "I don't pay"
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  10. #10
    Registered User
    Join Date
    08-03-2015
    Location
    Redlands, CA
    MS-Off Ver
    Office 365
    Posts
    9

    Re: Intentional Circular formula

    If initially, the 3 cells contain 3,2, and 1.5 respectively and you change B3 to 3, there are an infinite number of possibilities for B1 and B2
    (1.5, 0.5), (3,1), (6,2) etc. What would you expect in B1 and B2?
    ChemistB, Great point, I hadn't thought of that either. I just want it to update responsively to an update on any variable. For example: I write a proposal for $20,000 and expect my expenses (including 3rd party consultants) to be $18,000. I can see that I have a profit of 10%. If I want to update it so that my profit margin is 12%, I can update that and it will recalc my proposal value. The perhaps consultant prices come back higher than expected. How does that impact my profit and how would I have to adjust my proposal to even it out? I know this is all very simple math; it just seems like there should be an equally simple formula to incorporate into my proposal template that can account for this kind of flexure. Am I just overthinking this?

    Glenn Kennedy, I don't use VBA solutions either. If we could only figure these out. . .

  11. #11
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Intentional Circular formula

    Quote Originally Posted by TreeToes83 View Post
    ChemistB, Great point, I hadn't thought of that either. I just want it to update responsively to an update on any variable. For example: I write a proposal for $20,000 and expect my expenses (including 3rd party consultants) to be $18,000. I can see that I have a profit of 10%. If I want to update it so that my profit margin is 12%, I can update that and it will recalc my proposal value. The perhaps consultant prices come back higher than expected. How does that impact my profit and how would I have to adjust my proposal to even it out? I know this is all very simple math; it just seems like there should be an equally simple formula to incorporate into my proposal template that can account for this kind of flexure. Am I just overthinking this?

    Glenn Kennedy, I don't use VBA solutions either. If we could only figure these out. . .
    It sounds like you are only expecting to solve for one variable at a time, not multiple like you suggested in your original post.

    You can use the same logic used with the formulas suggested in post #5 to solve for one variable at a time.

+ 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. Intentional blank spaces being removed during mail merge
    By birdablaze in forum Word Formatting & General
    Replies: 15
    Last Post: 12-23-2014, 10:30 AM
  2. Replies: 2
    Last Post: 02-23-2014, 06:06 PM
  3. [SOLVED] How to avoid formula circular references and hiding and locking the formula
    By Venkata Krishna in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 06-21-2013, 08:17 AM
  4. Excel 2007 : Circular Formula
    By Boniac in forum Excel General
    Replies: 3
    Last Post: 12-05-2009, 03:48 AM
  5. Replies: 1
    Last Post: 08-21-2007, 07:22 PM
  6. Intentional Circular
    By warburger in forum Excel General
    Replies: 4
    Last Post: 10-26-2006, 08:00 PM
  7. [SOLVED] Cannot enter formula in a cell after removing a circular formula
    By Big Corona in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-05-2005, 02:06 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