+ Reply to Thread
Results 1 to 11 of 11

Need help with pulling data off one spreadsheet to another

  1. #1
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Exclamation Need help with pulling data off one spreadsheet to another

    Hi guys.

    I need to match reference numbers with dates. Basically:

    We have a Main spreadsheet with a table with few columns.
    A is reference numbers and B is delivery dates.

    We also have another tab called UPS which is data with UPS deliveries.
    For example references in this UPS tab are in D column and dates are in J.

    So what I need, is for B cell in Main sheet to take that reference number from cell A in the same row, look for it in UPS tab in D column and if found, return date from J column in the same row >> to B cell in Main spreadsheet.
    Of course I will need that to work in every cell in the column. I mean I will be just putting reference numbers in Main spreadsheet in column A and getting dates returned in column B same row (if the reference is found on UPS tab as well).

    Could anyone help me with that?
    That is something that would help me a lot with my work.

    Thank You,
    Matt.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Need help with pulling data off one spreadsheet to another

    Attach example excel file

    In attached Excel file try not use:
    • merged cells
    • unnecessary formatting like: colours, borders, aligning another than default, etc...
    • unnecessary zoom
    You have words to logically describe the problem

    To attach an Excel file to your post,
    • desensitize data
    • remeber that your example should reflect structure and type of data
    • click Go Advanced,
    • scroll down until you see Manage Attachments,
    • click that and select Browse,
    • select your file and click Open,
    • click Upload and you will see your attachment below Upload Files from a website
    • click Close this window,
    • click Submit reply

    After that you should see attachment in your post

  3. #3
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Need help with pulling data off one spreadsheet to another

    Sounds like you need VLOOKUP formula with IFERROR [to avoid getting errors if the reference is not found.
    Post a sample file and someone will add formula to help you.
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  4. #4
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Need help with pulling data off one spreadsheet to another

    I uploaded it but still cannot attach. It is in my attachments manager but cannot add it to the post... ???

    Edit: hahha it got attached after all, stupid me
    Attached Files Attached Files

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Need help with pulling data off one spreadsheet to another

    maybe try B2: =INDEX(ups!$D$2:$D$4,MATCH(main!A2,ups!$C$2:$C$4,0)) and drag down
    If you don't want #N/A wrap formula with IFERROR(formula,"")
    Last edited by sandy666; 02-23-2018 at 03:49 PM.

  6. #6
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Need help with pulling data off one spreadsheet to another

    You sir, are my hero today.
    Thank You so much sandy!!!

    Could I bother you some more for a brief explanation of this function you wrote?
    I don't want to copy/paste only, I want to know how it works so I will be able to modify it and use on my own later on.

    See, I am fresh to excel, TBH just started my first office job a week ago :D

    Your help is greatly appreciated, thank You!
    Matt.

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Need help with pulling data off one spreadsheet to another

    I think you should read about: INDEX(), MATCH(), IFERROR()
    and INDEX/MATCH

    I'm too lazy to retype everything here

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Need help with pulling data off one spreadsheet to another

    If that takes care of your original question, & to say Thanks, please click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)
    then select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED.
    If you did it already - ignore it.
    Thank you.

  9. #9
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Need help with pulling data off one spreadsheet to another

    I will definitely do that, but I may still need your help .

    So let's say there are more sheets to look through.

    What the code would look like ? Lets say same cells but sheets ups, ups2, ups3 and ups4 to look through.

    I tried to figure it out with iferror, but no luck.

    >>EDIT: I think I've got this. Could You check out the code and tell me if everything is right in there?
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    :D

    Many thanks,
    Matt.
    Last edited by kesh123; 02-23-2018 at 07:26 PM.

  10. #10
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Need help with pulling data off one spreadsheet to another

    I've made a little example spreadsheet, it is attached.

    But I've hit a barrier. It only finds the values if the reference number is exactly the same.
    With every reference number there actually come initials, from the person dispatching the box/pallet.
    So in UPS sheets they would look like: 5628052MZ, 5630001KD...

    I do not know who dispatched the box so Ive only got the numbers.
    In that case values are not returned.

    What shall I do to overcome this ?

    >>EDIT: Ah yes I forgot about something. I have a carrier field. What I need:
    If any value is found in any sheet, return the name of the sheet where value has been found to the carrier field.
    So if I typed in the reference number and formula would find a date for it in "UPS" sheet, the carrier cell for that row would now say "UPS".
    Is it possible?

    BTW. I got into this, I can not sleep. :D

    >>EDIT2:
    I've come up for this with the carrier field so far:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    But only returns value for UPS, doesnt go further. I know this is very crappy scripting of mine, so please help .


    Many thanks,
    Matt.
    Attached Files Attached Files
    Last edited by kesh123; 02-23-2018 at 08:35 PM.

  11. #11
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Need help with pulling data off one spreadsheet to another

    This is a different problem.
    Create new thread with that.

    You got answer for you post#1 problem.

    One problem - One thread

+ 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. Pulling data from one spreadsheet into another
    By ca09hesc in forum Excel General
    Replies: 1
    Last Post: 08-11-2015, 01:28 PM
  2. Replies: 9
    Last Post: 06-30-2014, 04:56 PM
  3. Need Help with Formula pulling data from one spreadsheet into another
    By tht9015 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2013, 10:37 AM
  4. Pulling data from one spreadsheet to another
    By rintintin in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-17-2013, 08:15 PM
  5. Pulling data from a refreshable spreadsheet
    By dta1984 in forum Excel General
    Replies: 1
    Last Post: 11-15-2011, 02:51 PM
  6. [SOLVED] Please Help! - Need Help pulling data from one spreadsheet to anot
    By dhwinters in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2006, 05:25 PM
  7. Pulling data into textbox from spreadsheet
    By Wiggler in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-03-2005, 01:06 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