+ Reply to Thread
Results 1 to 13 of 13

Copy/Paste *values* from equation data on a separate sheet in the same workbook

  1. #1
    Registered User
    Join Date
    11-18-2020
    Location
    Nicaragua
    MS-Off Ver
    EXCEL V16.39
    Posts
    21

    Exclamation Copy/Paste *values* from equation data on a separate sheet in the same workbook

    Hello,

    I am trying to learn more about VBA / Index & Match, as well as other options to look up data in adjacent sheets in my workbook, but I am encountering trouble. I am attempting to do the following:

    1) Copy specific cells (P2 : W2) although, not in that order. I would have to extract each cell individually
    2) Paste those values in specific cells in another sheet (Q2 Sheet 2, to P20 Sheet 1 + R2 Sheet 2, to Q20 Sheet 1, etc.)
    - I imagine if a single example is shown, I can map the function to the other cells necessary

    The major difficulty I am encountering is 1) Avoiding volatility (Want to avoid Offset 2) Difficulty writing the function itself & 3) Difficulty copying then pasting specifically the values from Sheet 2, not the equations themselves. For clarity, I am running on a Mac. I learned of a way to circumvent #3 using windows, but it isn't applicable as far as I know for Mac (In a single string, because I want to avoid right-clicking then pasting special)

    Any help would be sincerely appreciated!

    Thank you
    Last edited by SapphireZulu; 11-19-2020 at 11:05 AM. Reason: I am editing this to simply include interest in using the Index function if possible

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Copy/Paste *values* from equation data on a seperate sheet in the same workbook

    Please include a sample as per the yellow banner, it is hard to visualise what you want

  3. #3
    Registered User
    Join Date
    11-18-2020
    Location
    Nicaragua
    MS-Off Ver
    EXCEL V16.39
    Posts
    21

    Re: Copy/Paste *values* from equation data on a seperate sheet in the same workbook

    Hello Davsth,

    My apologies for the confusion. I have attached an example below.
    I would like to move the highlighted yellow cells on sheet two (values only) to the area highlighted on sheet one.
    My apologies for lacking data, the file size was too large.

    Thank you for you time!
    Attached Files Attached Files
    Last edited by SapphireZulu; 11-19-2020 at 12:22 PM. Reason: Spelling

  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 2403
    Posts
    43,966

    Re: Copy/Paste *values* from equation data on a separate sheet in the same workbook

    I think you need to explain more... because what's wrong with:

    =Sheet2!B20
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    11-18-2020
    Location
    Nicaragua
    MS-Off Ver
    EXCEL V16.39
    Posts
    21

    Re: Copy/Paste *values* from equation data on a separate sheet in the same workbook

    Hi Glenn,

    I originally used this formula in my worksheet, but a finder prompt keeps popping up saying "Cannot locate file titled '2'". Does the formula need to include my specific sheet name perhaps?
    I figured it would be as simple as you suggest but it doesn't seem to work on my end

    Thank you

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

    Re: Copy/Paste *values* from equation data on a separate sheet in the same workbook

    ?? You're on a Mac?? I've never even pressed a single button on one...

    Open this sheet...
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    11-18-2020
    Location
    Nicaragua
    MS-Off Ver
    EXCEL V16.39
    Posts
    21

    Re: Copy/Paste *values* from equation data on a separate sheet in the same workbook

    Hi Glenn,

    It's quite perplexing.
    You're sheet obviously works, but when I try to put the exact same formula (This time with a different cell, but on my actual sheet it possesses the same contents) I get this message again (See Screenshot)
    Attached Images Attached Images

  8. #8
    Registered User
    Join Date
    11-18-2020
    Location
    Nicaragua
    MS-Off Ver
    EXCEL V16.39
    Posts
    21

    Re: Copy/Paste *values* from equation data on a separate sheet in the same workbook

    The contents of the cell don't need to be a text value, right?

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

    Re: Copy/Paste *values* from equation data on a separate sheet in the same workbook

    In sheet 1 , type = in a cell, then switch to sheet 2 and click in a cell ... Q2 and hit ENTER.. What does it say in the starting cell in Sheet 1?

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

    Re: Copy/Paste *values* from equation data on a separate sheet in the same workbook

    Quote Originally Posted by SapphireZulu View Post
    The contents of the cell don't need to be a text value, right?
    Can be anything. A blank cell wil return a 0. We can get rid of them later.

  11. #11
    Registered User
    Join Date
    11-18-2020
    Location
    Nicaragua
    MS-Off Ver
    EXCEL V16.39
    Posts
    21

    Re: Copy/Paste *values* from equation data on a separate sheet in the same workbook

    Hi Glenn,

    After performing the workflow as you mentioned, it works. Strangely, my computer will not accept that exact formula if I input it manually. The equation states: ='R Thumb'!Q2 [R Thumb is my sheet title - Perhaps because it's a unique name, I needed the quotation marks. Or maybe it is a Mac thing. Not sure, I will defer to you on that one.

    I will hit solve, unless you have any further comments/suggestions.
    Thanks again Glenn, I'll add Rep too.

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

    Re: Copy/Paste *values* from equation data on a separate sheet in the same workbook

    It's because of the space in the tab name. If there's a space it needs to look like

    ='Sheet 1'!B14

  13. #13
    Registered User
    Join Date
    11-18-2020
    Location
    Nicaragua
    MS-Off Ver
    EXCEL V16.39
    Posts
    21

    Re: Copy/Paste *values* from equation data on a separate sheet in the same workbook

    Understood.

    Thanks Glenn.

+ 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. VBA Copy, move, unlock active sheet and paste as values to a new workbook
    By archvanarl in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2020, 03:01 AM
  2. [SOLVED] Copy & Paste Values To Separate Workbook
    By ClwnMan76 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-18-2019, 03:09 PM
  3. [SOLVED] Copy & Paste Cell Values based on conditions to separate sheets from primary sheet
    By spyac in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-05-2018, 08:04 PM
  4. [SOLVED] Copy cell values from one sheet and paste it in another sheet of the same workbook
    By Tauheed Ahmed in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-13-2016, 08:51 AM
  5. Copy values from sheets in workbook and paste in one sheet in the same workbook
    By RinorM in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-08-2015, 04:14 AM
  6. Copy Values to separate sheet, locate value in list and paste 6 cells to the left
    By drknot in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-16-2014, 10:16 AM
  7. Replies: 6
    Last Post: 03-26-2014, 11:40 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