+ Reply to Thread
Results 1 to 8 of 8

Determine inventory stock on hand

  1. #1
    Registered User
    Join Date
    06-24-2021
    Location
    indonesia
    MS-Off Ver
    2019
    Posts
    3

    Determine inventory stock on hand

    I have a problem managing stock, I want to use an excel formula that can be dragged and dropped down, so the results will be faster,
    please to the experts here to solve my problem, thank you very much for those who have helped answer.
    Attached Files Attached Files
    Last edited by 6StringJazzer; 06-24-2021 at 08:35 PM.

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

    Re: Determine inventory stock on hand

    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #1 requires good titles. "need help to find excel formula" is not a good title.

    I have updated it for you this time because you are a new member. --6StringJazzer


    I opened your file and it's just a column with product names and another column with colors. Each pair of product/color is unique. You need to tell us what result you want.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    06-24-2021
    Location
    indonesia
    MS-Off Ver
    2019
    Posts
    3

    Re: Determine inventory stock on hand

    the result i want in another sheet sir, in input sheet, please help me

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Determine inventory stock on hand

    This would be one way, a bunch of sumifs strung together ...

    =SUMIFS(Data!$D:$D,Data!$A:$A,Input!$A2,Data!$B:$B,Input!$B2)+SUMIFS(Data!$H:$H,Data!$A:$A,Input!$A2,Data!$F:$F,Input!$B2)+SUMIFS(Data!$L:$L,Data!$A:$A,Input!$A2,Data!$J:$J,Input!$B2)+SUMIFS(Data!$P:$P,Data!$A:$A,Input!$A2,Data!$N:$N,Input!$B2)+SUMIFS(Data!$T:$T,Data!$A:$A,Input!$A2,Data!$R:$R,Input!$B2)+SUMIFS(Data!$X:$X,Data!$A:$A,Input!$A2,Data!$V:$V,Input!$B2)+SUMIFS(Data!$AB:$AB,Data!$A:$A,Input!$A2,Data!$Z:$Z,Input!$B2)+SUMIFS(Data!$AF:$AF,Data!$A:$A,Input!$A2,Data!$AD:$AD,Input!$B2)+SUMIFS(Data!$AJ:$AJ,Data!$A:$A,Input!$A2,Data!$AH:$AH,Input!$B2)+SUMIFS(Data!$AN:$AN,Data!$A:$A,Input!$A2,Data!$AL:$AL,Input!$B2)
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Registered User
    Join Date
    06-24-2021
    Location
    indonesia
    MS-Off Ver
    2019
    Posts
    3

    Re: Determine inventory stock on hand

    thank you for the answer sir, but my original data has thousands of products, I've tried using "ifs", but the resulting formula is too long and the excel formula has a character input limit.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Determine inventory stock on hand

    Hello Dolarnesia and Welcome to Excel Forum.
    The following is an array entered formula which is not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Paste the formula into cell C2 on the Input sheet and then activate as described above. After activation double click the fill handle to copy the formula down to cell C90.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Determine inventory stock on hand

    Small macro on button on sheet 3 (STOCK).
    should accomodate your 'thousands' of products.
    torachan.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Determine inventory stock on hand

    ARRAY formula in C2 copied down

    =SUM(IFERROR((INDEX(Data!$B$1:$AL$14,MATCH(Input!$A2,Data!$A$1:$A$14,0),)=$B2)*INDEX(Data!$D$1:$AN$14,MATCH(Input!$A2,Data!$A$1:$A$14,0),),0))

    To enter ARRAY formula
    Copy and paste the formula in cell
    Press F2
    Press Ctrl+Shift+Enter together
    Excel covers the formula with {}.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ 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. Formula to find majority value with Excel/VBA
    By SmallJack in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-22-2019, 06:36 AM
  2. Excel Find Formula?
    By jo15765 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-09-2016, 09:29 AM
  3. [SOLVED] formula to find duplicates in excel
    By kisanvikas2015 in forum Excel General
    Replies: 2
    Last Post: 06-09-2015, 12:52 PM
  4. formula to find duplicates in excel
    By kisanvikas2015 in forum Excel General
    Replies: 5
    Last Post: 05-23-2015, 07:55 AM
  5. [SOLVED] Find replace within an Excel formula
    By davidx in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-24-2014, 01:16 PM
  6. need help from an excel genius with (i think) a MID FIND formula
    By joeofficegirl in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-30-2012, 12:55 PM
  7. can't find formula bar in Excel 2003
    By MelvinGO in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-25-2005, 04:05 AM

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