+ Reply to Thread
Results 1 to 4 of 4

Two spreadsheets, one is 6000 long the other 800. I need to find the 800 in the 6000

  1. #1
    Registered User
    Join Date
    04-29-2014
    Location
    Florence, AZ
    MS-Off Ver
    Excel 2013
    Posts
    6

    Exclamation Two spreadsheets, one is 6000 long the other 800. I need to find the 800 in the 6000

    I have a spreadsheet of 6000+ inventory parts (inventory.xlsx). I have one section of the warehouse on another spreadsheet (warehouse4.xlsx).

    My boss wants to know the cost of this section in particular, so he wants me to find these 800 parts in the 6000 list, and copy the quantity on hand and unit cost from the long list onto the short list so we can sum only that.

    My long list (inventory.xlsx) is like this:
    A...................B.........................C...............D
    Part# | Part Description | Qty On Hand | Unit Cost

    My short list is only Part# on Column A (warehouse4.xlsx).

    I tried to run some VBA to copy the value on warehouse4.xlsx (A2), find it in inventory.xlsx, select the cell, move (offset) and copy the values from qty on hand and unit cost into warehouse4.xlsx and then loop this, but I cannot get it to work. If I set a variable to store the copied value as string, it returns error 91, if I set it as integer it works, but finds something completely different since it uses the value rather than the string.

    Any help? Thanks!

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Two spreadsheets, one is 6000 long the other 800. I need to find the 800 in the 6000

    You are over complicating this.

    Book 1 has a list of numbers with the text equivalent

    Book2 has a list of numbers and a formula to find the numbers in book1 and get the text equivalent.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-29-2014
    Location
    Florence, AZ
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Two spreadsheets, one is 6000 long the other 800. I need to find the 800 in the 6000

    Thank you very much... but... I swear I cannot get it to work. It looks so simple, I actually have it working from your files, but when I try to replicate with my data I get an N/A error.
    Would you be so kind as to look at these and tell me where I am not doing it right? I basically need to copy the value on Column B and Column H to On Hand and Unit Cost respectively.

    Thanks again!
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Two spreadsheets, one is 6000 long the other 800. I need to find the 800 in the 6000

    Try this formula in B2 and fill down

    Please Login or Register  to view this content.
    Try this inC2 and fill down

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 08-26-2014 at 06:51 PM.

+ 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. [SOLVED] =IF and =SUMIF formulas creating long long long data processing times.
    By comp in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 03-26-2014, 02:59 PM
  2. Find how long should have taken...
    By kmcbriarty in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-12-2013, 06:15 PM
  3. Delete all rows with formulas from row 6000 and lower
    By timmyjc18 in forum Excel General
    Replies: 0
    Last Post: 06-27-2012, 08:18 PM
  4. Replies: 1
    Last Post: 04-20-2012, 10:32 PM
  5. unique records from 2 long spreadsheets
    By slehc in forum Excel General
    Replies: 3
    Last Post: 09-10-2007, 08:44 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