+ Reply to Thread
Results 1 to 5 of 5

Copy, Paste formula output from one cell to another cell with values

  1. #1
    Registered User
    Join Date
    07-03-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    2

    Copy, Paste formula output from one cell to another cell with values

    Hi Experts.

    I have been breaking my head for last 2 days.

    All I have is a One excel File for multiple people, to update various milestone "Target dates" and "Actual achieved dates". All I want to do is track any changes done to any "Target Date" or "Actual Achieved Date" (probably in a separate hidden sheet for audit trail purpose).
    Underlying Excel/Data structure:
    Project Ref Milestone # Target Dt Actual Dt
    '001 Milestone 1 1-Jan-15 5-Jan-15
    '001 Milestone 2 15-Mar-15 15-Mar-15
    '001 Milestone 3 30-Apr-15 27-Apr-15
    '002 Milestone 1 30-Dec-14 Blank
    '002 Milestone 2 31-Mar-15 Blank
    .....


    If the dates are getting updated, I(As administrator) want to track
    1. When the date was changed
    2. What was the old value
    3. What is the new value.


    This may be possible using VBA codes. I am trying to see, if this can be achieved using one Formula or multiple Formulae. I went through multiple forums and people recommending "Tracking Changes" using Review -> Tracking -> Highlight Changes. I do not think that will fulfill my needs. I felt, I may be able to achieve this:
    1. Build a hidden sheet
    2. Use a Vlookup to update current "Target date" from the original sheet
    3. copy and paste formula (Vlookup) output in to another column as values ( so that this does not get updated whenever a user changes the date)

    Any suggestion/guidance will be helpful. Thanks!

  2. #2
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Copy, Paste formula output from one cell to another cell with values

    Okay we can achieve this...
    But first it would be good if you could attach your workbook over here.
    You can do so by clicking on go advanced button at the foot of the typing area....and then selecting the paper clip icon from the icons above...
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  3. #3
    Registered User
    Join Date
    07-03-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    2

    Re: Copy, Paste formula output from one cell to another cell with values

    Quote Originally Posted by sourabhg98 View Post
    Okay we can achieve this...
    But first it would be good if you could attach your workbook over here.
    You can do so by clicking on go advanced button at the foot of the typing area....and then selecting the paper clip icon from the icons above...
    Sample File attached
    Attached Files Attached Files

  4. #4
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Copy, Paste formula output from one cell to another cell with values

    Now the problem is when should the macro run, as we are keeping the sheet hidden from the user, we can't ask the user to run the macro. We have another option -to run the macro automatically when worksheet is opened by the user. But the problem here arises that not everyone has enabled macros in excel settings, so that won't run if macros are not enabled by the user.

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,651

    Re: Copy, Paste formula output from one cell to another cell with values

    If you want to see the old value and the new value both, you will need a VBA code to achieve this.
    Are you open to a VBA solution to achieve this?
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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. Replies: 10
    Last Post: 09-23-2014, 11:18 AM
  2. Replies: 8
    Last Post: 07-08-2013, 06:03 AM
  3. [SOLVED] Paste variable output (SQL Output) into a single cell.
    By fblaze in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2013, 06:24 AM
  4. Copy values from cell in active row, paste in first empty cell in spesified column.
    By Test123Test in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-19-2012, 05:20 PM
  5. Need macro to loop through input cell values and copy output value
    By jaf in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2011, 02:59 PM

Tags for this Thread

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