+ Reply to Thread
Results 1 to 4 of 4

Copy and paste a cell including the formula

  1. #1
    Registered User
    Join Date
    06-11-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    7

    Copy and paste a cell including the formula

    Say I have the following:

    Cell A1 =
    1

    Cell B1 =
    1

    Cell C1 =
    A1+B1


    How do I make Cell C1 show =1+1 in the formula bar as opposed to the cell references. However I want the cell to show 2.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,465

    Re: Copy and paste a cell including the formula

    If you actually type =1+1 in the formula bar, it will show =1+1 in the formula bar and 2 in the cell. But, as far as I know, you can't have a formula showing the values in the referenced cells.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


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

    Re: Copy and paste a cell including the formula

    You can highlight "A1" in the formula bar and hit F9 to calculate A1
    You'll then see = 1 + B1
    Then you can do the same for B1 getting
    =1 + 1
    However, if you exit the cell, it will become permanent and you'll lose your references to A1 and B1. You need to hit Escape
    (or you could use the undo button).
    Not sure how that would ever be useful though. You can also use "Evaluate Formula" on the Formula Tab
    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

  4. #4
    Registered User
    Join Date
    06-11-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Copy and paste a cell including the formula

    Typing wouldn't help because the "1"s are just examples, the actual value is generated by a report and varies on a daily basis. So C must be a formula referencing Cell A1 and B1. Once I get that I want to copy cell C1 and paste it into another worksheet. When pasted into another worksheet I want it to show "=1+1" in the formula bar and 2 in the cell. I also don't want the formula bar to show =[Book1]Sheet1!$C$1

    As TMS said, seems like this is impossible.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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