+ Reply to Thread
Results 1 to 13 of 13

How can I search a similar item - so stuck on this!

  1. #1
    Registered User
    Join Date
    05-24-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    9

    Thumbs up How can I search a similar item - so stuck on this!

    So I have a rather large excel spreadsheet with a list of items and their codes, eg:

    3652 Milk 1ltr
    6743 Milk 2ltr
    9287 Milk 3ltr
    7264 Cheese 200g
    7635 SC Cheese 120g

    I am trying to create something whereby I type one of the numbers into a cell (say F2) and in the cell next to it (say F3) it shows the product that I have typed. I have managed this with VLOOKUP.

    The issue I have is I want a formula that links to that first cell F2. I need in F4 for it then have an alternative product if the initial code is out of stock - so when I enter 3652 for Milk 1ltr it will say the alternative is 6743 Milk 2ltr or another brand of 1ltr.

    I am useless with this and have been trying for ages to create something.... Does anyone have any ideas how to work this out and what formula or functions to use? Thanks in advance!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,712

    Re: How can I search a similar item - so stuck on this!

    How do you determine what is a valid alternative product? To do it in Excel, you need to have some sort of a rule. If you were going to explain to a human how to do this with a list on paper, what would say? Imagine this is not a very bright human but someone who can follow directions exceptionally well.

    Oh, and how do you tell if it's out of stock? It might be useful to attach your file.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    05-24-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    9

    Re: How can I search a similar item - so stuck on this!

    So I know if it is out of stock by using a different programme SAP, and all I will know is code 6432 is out of stock. So to find an alternative I was going to input it in the spreadsheet and hopefully find a solution that shows what else there is. (I will have to manually decide which are suitable substitutes, but for now an example would be a brie for a brie etc) I have tried to attach the file to see what has been done so far.
    Attached Files Attached Files

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: How can I search a similar item - so stuck on this!

    In the Given example in attached file what is your result
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: How can I search a similar item - so stuck on this!

    work backwards
    what would be suitable substitute for 6432?
    systematically....how did you derive this substitute?
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  6. #6
    Registered User
    Join Date
    05-24-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    9

    Re: How can I search a similar item - so stuck on this!

    I don't have a result so far which is the problem! I can't work out how and what formula to use..

    I can make a list of suitable substitutes, they are basically just anything similar - so when I put in the out of stock code, I want it to spit back out another code that is similar (so I can use that in another system).

    I don't think I'm making much sense here - sorry guys!

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: How can I search a similar item - so stuck on this!

    Please go through the attached file and let us know whether the provided solution fulfills your expectation.

    I have used couple of helper columns (for speeder processing) for arriving the data so it is better to have a look in the attached file
    Attached Files Attached Files


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  8. #8
    Registered User
    Join Date
    05-24-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    9

    Re: How can I search a similar item - so stuck on this!

    Thanks that is really interesting. I take it the yellow cell is where I would enter the code which I am looking for a substitute, however it doesn't change anything in the table? Am I doing something wrong?!!

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: How can I search a similar item - so stuck on this!

    Yes A2 is the input cell where you have to enter the SKU Number.

    Make sure whether your calculation is set to AUTOMATIC or press F9 to initiate manual calculation.

  10. #10
    Registered User
    Join Date
    05-24-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    9

    Re: How can I search a similar item - so stuck on this!

    Oh yes, it wasn't set to automatic!! Thanks. That table is brilliant, its exactly what I had in mind.
    So the formula you used, is that just finding similar volume wise? Can I edit it so it also finds, say others with the same brand but slightly different volume? So if 300g was out of stock, there's 250g or 400g?
    Thanks for your help

  11. #11
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: How can I search a similar item - so stuck on this!

    Please find the revised file which will show the available Product Vol when there is no exact matching Product Vol is found

  12. #12
    Registered User
    Join Date
    05-24-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    9

    Re: How can I search a similar item - so stuck on this!

    Thank you so much for your help, this is awesome really appreciate it.

  13. #13
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: How can I search a similar item - so stuck on this!

    the problem with what your asking if the data is not built that way
    you are missing the additional descriptors of which you either have to keep in an excel file or get added into SAP

    see attached a revision of what Sixth's solution
    ps it information may not be 100% correct but its good enough to show you what needs to be done

+ 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. How can I search a similar item - so stuck on this!
    By nikki123 in forum Excel General
    Replies: 1
    Last Post: 05-24-2015, 10:31 PM
  2. Stuck on a few things, Sorting and search/ populate.
    By Hawk223 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-27-2015, 12:33 PM
  3. UserForm: Search Item in List > Call Table associated with Item > Execute Command
    By TexasAggie12 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-25-2014, 12:58 PM
  4. Stuck with search funktion
    By zekethewolf in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-11-2011, 05:01 AM
  5. Replies: 3
    Last Post: 01-24-2011, 12:48 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