+ Reply to Thread
Results 1 to 4 of 4

Excel cross search

  1. #1
    Registered User
    Join Date
    02-18-2021
    Location
    Belgium
    MS-Off Ver
    Excel version 2101
    Posts
    4

    Question Excel cross search

    My employer asked me to automate the duplicate positioned items in excel. Our company works with 20.000+ items and the stock in all of the locations is automatically updated each day. When new items are moved by a branch, they often forget to remove the replaced item out of our database. The location X, X, X, X (rack, shelve, spot, little compartment) now has 2 Items in the database but only 1 in reality.

    If for example item D replaces item B at location 1, 1, 1, 1 and they add D in the database but forget to remove B, we see the following



    Item, Branch, Location nr 1, Location nr 2, Location nr 3, Location nr 4,
    A, 3275, 1, 5, 3, 2,
    B, 3275, 1, 1, 1, 1,
    C, 3275, 1, 3, 1, 2,
    D, 3275, 1, 1, 1, 1,


    With only 4 items, it is easy to see that B and D share the same position in the same branch which is an obvious mistake. With over 20.000 items, you have to manually look at each location at each branch which normally takes about 4 to 5 days.



    The same X.X.X.X. values exist in different branches. the same products are in in different branches. There are around 80 branches. Each branch has up to 9 * 9 * 9 * 9 = 6.561 items (where as 9 is the highest number for a location). Here a more detailed and correct example of our database:



    Branch, Item, Location 1, Location 2, Location 3, Location 4
    3000, 3387, 1, 1, 1, 1
    3000, 3390, 1, 1, 1, 2
    3000, 3388, 1, 1, 1, 3
    3000, 3392, 1, 1, 1, 4
    3000, 3345, 1, 1, 1, 5
    3230, 3378, 1, 1, 1, 1
    3230, 3336, 1, 1, 1, 2
    3230, 3369, 1, 1, 1, 3
    3275, 3387, 1, 1, 1, 1
    3275, 3336, 1, 1, 1, 2
    3275, 3350, 1, 1, 1, 3
    3275, 3359, 1, 1, 1, 1

    As you can see, the location 1, 1, 1, 1 is in every branch which is okay, but since it is twice in branch 3275, this is a problem.

    Is there a way to make a calculation/formula in excel so that I only have to upload the generated XML database and the calculation gives me the duplicate items and their locations automatically?
    Last edited by Robinazer; 02-19-2021 at 07:26 AM.

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Excel cross search

    Please share/upload a representative sample file that has multiple duplicates as per the yellow banner above and we can suggest a solution. Do you want the duplicate removed or just highlighted?

  3. #3
    Registered User
    Join Date
    02-18-2021
    Location
    Belgium
    MS-Off Ver
    Excel version 2101
    Posts
    4

    Re: Excel cross search

    Since the info in the document is classified, I can't upload the file. Luckily, the problem is solved with a Count Ifs function.

    =COUNTIFS(A:A;A2;G:G;G2;H:H;H2;I:I;I2;J:J;J2)>1

  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,984

    Re: Excel cross search

    For future reference, you were NOT asked to share your file... but a SAMPLE... which can be mocked up and anonymised. The reason we ask for samples is two-fold.

    1. We do not have to spend time reproducing what you already have in front of you, and

    2. We can see the layout, cell references, etc, which are not always apparent from the text.

    And, I suppose, also for a third reason... the EF platform is very good at messing up the formatting of anything you post in the body of the thread....
    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

+ 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. Search engine for cross-reference in multiple worksheets
    By dannyjoer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-10-2013, 05:09 PM
  2. Cross sectional regression in excel?
    By Ystar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-25-2013, 10:50 AM
  3. [SOLVED] Search for cross reference value within a cell
    By Homeslice01 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-17-2013, 11:23 PM
  4. [SOLVED] Cross macro to search adress by first column and first row
    By S1n1 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-22-2013, 05:40 AM
  5. Complicated Cross Spreadsheet Search
    By rbac in forum Excel General
    Replies: 6
    Last Post: 04-05-2013, 05:06 PM
  6. How to do a Cross-Tab in Excel 2007?
    By UrbanEast in forum Excel General
    Replies: 5
    Last Post: 01-06-2012, 05:33 AM
  7. Index/Match cross search and extract
    By taccca in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-03-2009, 07:13 PM
  8. [SOLVED] cross reference two spreadsheets using MS Excel
    By Eric P in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-21-2005, 04:05 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