Closed Thread
Results 1 to 3 of 3

Need Macros to pull Data from one file into another - Several sheets involved - Mac

  1. #1
    Forum Contributor
    Join Date
    07-31-2014
    Location
    Texas
    MS-Off Ver
    Mac 2011 Version 14.5.4
    Posts
    114

    Need Macros to pull Data from one file into another - Several sheets involved - Mac

    Hi again everyone!
    **This is posted elsewhere but I only got a Macros suitable for Windows**

    I have two files Daily_Stress and SampleTest. SampleTest has column J that needs to be filled in using B and E as a reference. The Macros should pull data from Daily_Stress. Column B matches with Column A in each sheet of Daily_Stress. Column E matches with one of four Sheets in Daily_Stress. R1=R1, R2=R2, and PB1=PB1. Column J of SampleTest will ultimately be filled in with the data from the correct cell in Column E from Daily_Stress.

    BUT here is the kicker and the really confusing part. I cannot have 2/2/2015 on SampleTest matching with 2/2/2015 on Daily_Stress. Instead, I need the cell connected to 2/2/2015 on SampleTest to pull in data from 2/1/2015 on the correct Daily_Stress Sheet. I am trying to list the number of tourists the day BEFORE each sample was collected.

    Does this make sense? I attached the files and the first half of column J is filled in already.

    Whatever Macros is created, I need it to please run on a Mac.

    Thank you in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,841

    Re: Need Macros to pull Data from one file into another - Several sheets involved - Mac

    The punishment for not crosslinking is a Japanese **** rocketsled ride: https://www.youtube.com/watch?v=zHiLIWe5GSo

    I'll let it "slide" this time since you at least mentioned it.

    Here is the crosslink:
    https://www.excelforum.com/excel-pro...ml#post4861577

    I think the macro works, it's just a path issue, "/" vs ":" or something.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,288

    Re: Need Macros to pull Data from one file into another - Several sheets involved - Mac

    Duplicate thread closed. If you need to, edit the title of the original thread.
    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] Need Macros to pull Data from one file into another - Several sheets involved
    By MermaidNiki in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-13-2018, 04:07 AM
  2. Need to pull data from closed file, sort, and send the data to specific sheets.
    By ghostman73 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-05-2013, 05:13 PM
  3. [SOLVED] Offset Column Value from HLookup Result - 2 sheets involved
    By gordco in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-25-2013, 11:56 AM
  4. Conditional Formatting with multiple sheets involved
    By AMSBenji in forum Excel General
    Replies: 36
    Last Post: 05-01-2013, 10:08 PM
  5. Conditional Formatting with multiple sheets involved
    By AMSBenji in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-15-2013, 05:38 PM
  6. I want Macros to delete exisitng sheets and import new data from a .csv file.
    By parinita_kothari in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-16-2012, 06:26 AM
  7. Creating 3 new sheets & then pull data from a file name to create a date
    By endoskeleton in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-26-2011, 01:09 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