Closed Thread
Results 1 to 2 of 2

obtain value from a cell that contains a formula

  1. #1
    Registered User
    Join Date
    01-26-2012
    Location
    london
    MS-Off Ver
    Excel 365, v16.53
    Posts
    34

    obtain value from a cell that contains a formula

    Hello,

    In the attached spreadsheet:

    E2 =IF(G2=0,"",B2+G2)
    F2 =IF(G2=0,"",C2+G2)

    I want to replace the value in B2 with the value in E2,
    and replace the value in C2 with the value in F2.

    But when I do so the values do not get replaced.
    Instead the formulae get replaced.

    So what I do is use the Paste Special facility under the Edit menu and use Paste Values.

    I need to do this many times each day, as things change.
    So ihis ends up wasting a lot of time.

    If there was a way to have formulae in E4 and F4 that show the actual values in E2 and F2,
    then a simple Copy and Paste would only be required. And that would save time.

    Anyone know how what formulae would do this?

    BTW: The calculation is to obtain numbers that will then be used elsewhere.
    And it has to be done many times throughout the day.
    It is not a running total that I need.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,386

    Re: obtain value from a cell that contains a formula

    Administrative Note:

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-pro...a-formula.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] obtain value from a cell that contains a formula
    By SheerGold in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-14-2022, 11:09 AM
  2. obtain value from a cell that contains a formula
    By SheerGold in forum Excel General
    Replies: 9
    Last Post: 09-14-2022, 09:43 AM
  3. How to obtain automatic cell ranges for formula usage
    By laps682 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-07-2018, 09:30 AM
  4. [SOLVED] Obtain Cell Address from formula
    By vamosj in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 10-01-2014, 05:10 PM
  5. formula to obtain next value in row?
    By jw01 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-16-2013, 02:13 AM
  6. How to obtain a value from another cell
    By Zathrus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2009, 06:05 PM
  7. Obtain formula value in VBA
    By jimmmmyj in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-04-2007, 08:48 AM

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