+ Reply to Thread
Results 1 to 6 of 6

Circular Reference

  1. #1
    Registered User
    Join Date
    01-19-2015
    Location
    Virginia
    MS-Off Ver
    Office 2013
    Posts
    12

    Circular Reference

    I want to enter a number in cell B12 then have excel divide that number by N2 and multiply the result by F7 and return the answer to cell B12. For example: when I enter 25 in B12, I want excel to divide 25/31 (N2-changes monthly) then multiply that number by 15 or 16 (F7-varies bi-weekly). Is this possible?



    thank you
    Anthony

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Circular Reference

    Circular references work best with a system of checks and balances, so I'd have to ask:
    How does Excel know to only execute this calculation once, instead of infinitely?


    Instead of going the function route, I'd recommend you utilized little bit of VB logic. (It's never too early to start learning it!)
    Let's pretend this is all going down on Sheet1. Right click the tab name at the bottom, and copy paste the code below in that location.

    If B12 is changed, the procedure below runs. If n2 is blank, it aborts the run and yells at you.


    Please Login or Register  to view this content.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    01-19-2015
    Location
    Virginia
    MS-Off Ver
    Office 2013
    Posts
    12

    Re: Circular Reference

    That works great! Is it possible to have the same thing occur in B13, B14, B15, and B16? That would be icing on the cake for this form

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Circular Reference

    Try this........
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Circular Reference

    ...and Sktneer with the assist! Thanks boss!

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Circular Reference

    @daffodil
    My pleasure....

+ 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. Replies: 2
    Last Post: 02-23-2014, 06:06 PM
  2. Circular Reference when formulas reference end of row formula!
    By Spellbound in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-29-2009, 08:26 AM
  3. Circular reference
    By hollanu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-08-2008, 02:19 PM
  4. Replies: 1
    Last Post: 08-21-2007, 07:22 PM
  5. Ho do I do this without a circular reference?
    By mmednick in forum Excel General
    Replies: 6
    Last Post: 02-02-2006, 03:45 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