+ Reply to Thread
Results 1 to 7 of 7

VLookup Formula for Inventory count with different/multiple Values

  1. #1
    Registered User
    Join Date
    09-30-2014
    Location
    Johns Island, South Carolina
    MS-Off Ver
    Office for Mac 2011
    Posts
    25

    VLookup Formula for Inventory count with different/multiple Values

    Hi,

    I have a problem with the creation of a formula for the following setup:

    Column C: Inventory 2
    Column A: Inventory 1
    Column B: Available
    Column D: Result

    I would need a formula which takes the SKU's in Column C (Inventory 2) and looks for a SKU with which has the same combination of Letters in Column A. If parts of the SKU (same Letters/Characters) are found in Column A, the Number in Column B (Available) corresponding to Column A would need to be displayed in Column D (Result).

    Since there are more SKU's in Column A than Column C, I can't just to an ascending sort. I have been provided with a working VLookup formula for my initial post which was related to exactly the same SKU's. But now I would need a solution where the result will be displayed when only parts of a SKU are matching.
    Thanks in advance for your help.
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VLookup Formula for Inventory count with different/multiple Values

    In D2, copied down:

    =LOOKUP(2, 1/(ISNUMBER(SEARCH($A$2:$A$10, $C2))), $B$2:$B$10)


    Note, by the nature of the "fuzzy" match ability of LOOKUP, if matches are found in column A to more than row, it will return the match of the LAST one found. So a string of ABC-GHI would match to GHI.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Cool Re: VLookup Formula for Inventory count with different/multiple Values

    Here is an another alternative...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    check the attached file...
    Attached Files Attached Files
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: VLookup Formula for Inventory count with different/multiple Values

    Or this

    =LOOKUP(25^25,SEARCH($A$2:$A$10,C2),$B$2:$B$10)
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: VLookup Formula for Inventory count with different/multiple Values

    Hi, May be this

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Click just below left if it helps, Boo?ath?

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VLookup Formula for Inventory count with different/multiple Values

    Boopathiraja - that formula would SUM all the strings that were inadvertently matched instead of just one, no doubt in an inventory situation you would never want that to happen. See my final note in post #2. In your formula it would SUM AAA and GHI, a bad result in my expectation.

  7. #7
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: VLookup Formula for Inventory count with different/multiple Values

    @ JBeaucaire, I agree, But my understanding was What if he might have the same product with different batches in different rows in where he need to sum it up to result the available Products,

    But i would have posted a note on this thanks for the notification

+ 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] VLookup Formula for Inventory count
    By Sweden12 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-03-2014, 08:51 PM
  2. Formula Needed for an Advanced Spreadsheet to Determine Inventory Count
    By bsherman in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-23-2014, 08:14 PM
  3. Looking for formula to keep inventory....Maybe vlookup
    By Vicky Blanks in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-15-2013, 05:14 PM
  4. formula to calculate inventory, vlookup?
    By brianlg in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 07-23-2013, 08:35 AM
  5. inventory count formula
    By dreammastah in forum Excel General
    Replies: 1
    Last Post: 02-10-2008, 05:03 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