+ Reply to Thread
Results 1 to 6 of 6

How to store the value of a dynamic cell on a fixed cell

  1. #1
    Registered User
    Join Date
    01-21-2015
    Location
    Miami Beach
    MS-Off Ver
    Latest
    Posts
    4

    How to store the value of a dynamic cell on a fixed cell

    Hello,

    I did not get any replies to my question so if any one wants to give it a try this is again what I need.

    1. Cell A3 returns a different values every second.
    2. Cell P3 returns the result of a formula as either as TRUE or FALSE.

    I need to store (in cell B3) the corresponding value of cell A3 when P3 becomes "TRUE" and leave it static or unchanged when cell A3 changes again.

    Thank You

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to store the value of a dynamic cell on a fixed cell

    Reading your question I suppose you need VBA as an solution.

    VBA is not my expertise, so maybe I can't help you enough with that.

    Having said that, I think you get better help if you add an small excell file, without confidential information.

    Add some examples in the file, and also add the desired (expected) result in your file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

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

    Re: How to store the value of a dynamic cell on a fixed cell

    Have you explored circular referencing?

    For example:

    =IF(B3=0,IF(P3=TRUE,A3,B3),B3)

    Then you need to enable iterative calculation under Options -> Formulas.

    This formula will continue to evaluate itself until it changes, and then it will not update itself once it is no longer 0.
    Attached Files Attached Files
    Last edited by daffodil11; 02-09-2015 at 06:35 PM.
    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!

  4. #4
    Registered User
    Join Date
    01-21-2015
    Location
    Miami Beach
    MS-Off Ver
    Latest
    Posts
    4

    Re: How to store the value of a dynamic cell on a fixed cell

    Hello,
    Thanks for your answer.
    It does work, however, how can I reset cell B3 to start doing its calculation again.
    Thank You

  5. #5
    Registered User
    Join Date
    09-25-2014
    Location
    Miami,Fl
    MS-Off Ver
    2003
    Posts
    4

    Re: How to store the value of a dynamic cell on a fixed cell

    Reset cell works great
    Last edited by CMG2; 02-10-2015 at 12:15 AM.

  6. #6
    Registered User
    Join Date
    01-21-2015
    Location
    Miami Beach
    MS-Off Ver
    Latest
    Posts
    4

    Re: How to store the value of a dynamic cell on a fixed cell

    Hello,

    I found a way of resetting the loop by adding IF(B1=TRUE,FALSE,) to your formula [=IF(B1=TRUE,FALSE,IF(B3=0,IF(P3=TRUE,A3,B3),B3))], and setting cell B1 to =IF(P3=FALSE,TRUE,FALSE).

    In that way when P3 becomes FALSE the loop is reset.

    Thank You again

+ 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. How to store the value of a dynamic cell
    By bric2007 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-13-2015, 11:57 AM
  2. [SOLVED] Fixed Cell Reference Minus a Fixed Number
    By juddykong in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-03-2013, 03:25 PM
  3. check formula integrity: replace dynamic cell reference with fixed value?
    By orchidee in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-07-2013, 06:18 PM
  4. Replies: 1
    Last Post: 09-03-2006, 05:38 PM
  5. [SOLVED] Store Multiple Cell Values (Cell History)
    By Han in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2006, 10:30 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