+ Reply to Thread
Results 1 to 4 of 4

Maintaining a value unless replacement available

  1. #1
    Registered User
    Join Date
    10-02-2008
    Location
    Chicago
    Posts
    2

    Maintaining a value unless replacement available

    I can't figure out how to do this (hopefully I explain it correctly):

    I've got 2 cells, we'll call them cell A and cell B. I want to be able to put a number into cell A and have it stay there as long as cell B is blank. Once a number is placed into cell B, however, I want that number to override what has been placed in cell A.

    I've been trying to use IF statements that basically say (loosely): "IF cell B is blank, then leave cell A as is, otherwise use what's in cell B (i.e. once I actually put a number in cell B, it should overwrite what's in cell A)," but I dont know how to write this or if it's possible.
    Last edited by RyanHarrison; 10-02-2008 at 01:40 PM. Reason: Poor title

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Welcome to the forum.

    =If(B="", some expression using A, some expression using B)

    Please read the Forum Rules about thread titles before starting your next thread.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-02-2008
    Location
    Chicago
    Posts
    2
    My problem is that I dont know what the "expression using A" or "expression using B" would actually be.

    Cell A is an estimated rate of return and Cell B is an ending balance. I want to run calculations off of the estimated rate of return that I put in Cell A as long as Cell B is empty. Once I put in a final ending balance for Cell B, I want to compute a final rate of return and have that replace the estimate that is in Cell A.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Call cell A "estimated" and cell C (wherever the formula appears) "final".

    You can't enter a value in cell A and then have a formula that changes its value (at least not without a circular reference and interation).

+ 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. Trouble hiding a cell based on conditions
    By Beerdood in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2008, 12:39 PM
  2. Validation Trouble
    By Sirishgreen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-10-2007, 09:00 AM
  3. Trouble with code in Excel 2007
    By JOR15 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2007, 05:33 AM
  4. trouble with formula filling
    By marttali in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-16-2007, 06:11 AM
  5. Having trouble entering formula
    By BIGEYE in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-12-2007, 05: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