+ Reply to Thread
Results 1 to 6 of 6

How to get a cell formula to automatically paste values

  1. #1
    Registered User
    Join Date
    05-17-2020
    Location
    Uk
    MS-Off Ver
    Office 365
    Posts
    20

    How to get a cell formula to automatically paste values

    Hi all,

    I am looking for some assistance with my limited Excel knowledge to find a way to hard paste values after a cell calculates a formula.

    The problem:

    I have an expense sheet with expenses in various currencies. For tracking I have a formula that converts into one currency. Naturally the price changes along throughout the year and will cause accounting issues down the line.

    I am looking for a way to do the calculation when the expense is inputted but paste the value in another column so it is not affect by the change in currency price.

    I have attached an example to help with understanding.

    Thanks in advance,

    Adam

    Calculation help.xlsx

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to get a cell formula to automatically paste values

    Using a formula.... no. If you had a table of exchange rate and date, yes. otherwise, no.
    Using VBA... yes.

    An individual cell can hold either a value... or a formula, but not both.

    If VBA is OK, let me know and I will move the thread.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    05-17-2020
    Location
    Uk
    MS-Off Ver
    Office 365
    Posts
    20

    Re: How to get a cell formula to automatically paste values

    Thanks for the reply.

    VBA knowledge is very limited but happy to give it ago.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to get a cell formula to automatically paste values

    Mine is non-existent! Someone else will help. Thread moved.

  5. #5
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,505

    Re: How to get a cell formula to automatically paste values

    Put this code behind your worksheetmodule. Alt + F11 to open VBA editor --> select your sheet and past this code.

    Please Login or Register  to view this content.
    Last edited by JEC.; 05-20-2023 at 11:47 AM.

  6. #6
    Registered User
    Join Date
    05-17-2020
    Location
    Uk
    MS-Off Ver
    Office 365
    Posts
    20

    Re: How to get a cell formula to automatically paste values

    Perfect,

    Thanks a lot for the help!

+ 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. Copy, Paste formula output from one cell to another cell with values
    By MEYYAPPANS in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-04-2015, 01:34 PM
  2. [SOLVED] Paste values from cell w/formula that will update with changes
    By msmetal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2014, 10:44 AM
  3. [SOLVED] Automatically copy and paste (or update) cell values to another worksheet using VBA code
    By jjin in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-21-2013, 04:56 AM
  4. Automatically copy and paste values
    By excelforum123 in forum Excel General
    Replies: 2
    Last Post: 10-03-2012, 10:13 AM
  5. automatically copy and paste values
    By robbi100 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-26-2008, 11:22 PM
  6. [SOLVED] automatically paste values from a different file
    By pritishah84@gmail.com in forum Excel General
    Replies: 2
    Last Post: 06-15-2006, 07:45 PM
  7. [SOLVED] copy-paste as Values automatically
    By Anand in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-23-2005, 03:05 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