+ Reply to Thread
Results 1 to 2 of 2

inventory count formula

Hybrid View

  1. #1
    Registered User
    Join Date
    02-06-2008
    Posts
    1

    inventory count formula

    I have two columns in a spreadsheet and each one corresponds to a different item. The numbers are the inventory count at the stores. I want to make a formula that will tell me the number of cases needed to send of either item to make them balance out. One SKU is a top, the other is a bottom.

    Here is an example of what I mean:
    896420     896412
    15           6
    2            21
    9            11
    So for each row the formula would ideally tell me the item that needs to be shipped and how many cases I need to balance out with the other one. Each case is packed 12, so if 896420 is 15 and 896412 is 6, I need to ship 1 case of 896412 to then have 15 tops and 18 bottoms, close enough for me. If I need at least 6 pieces (half a case) to balance them out, I'll ship an entire case.

    I don't know enough about excel formulas to even start making this one. Please help.

    edit: It would be great if the output could put the SKU needed in one column and the amount of cases in the next. I'm going to need to copy/paste this into another spreadsheet to finish this later. Thanks.

    edit2: I've got the first part of it that will tell me which SKU needs to be sent, but I don't know how to figure the amount of cases for the next column.

    This is what I used

    =IF(AND(A2>B2),"896501",IF(AND(A2<B2),"896420",IF(AND(A2=B2),"")))
    Last edited by dreammastah; 02-06-2008 at 03:02 PM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Something like...

    =INT(ABS((A2-B2))/12)+1
    Martin

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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