Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Eintsein_mc2
 
Posts: n/a
Default Help with inventory list

Would be great if some one could help. I have an inventory list which
would have over a 100 different products on it. These products are
distributed to different departments in my business. Sheet 1 I type in
the department name then part number and how many items, then vlookup
brings up the info. But I can not work out how to subtract the amount I
just entered from the inventory list which is in sheet 2. The same
product can go to many departments. Have tried this but will only work
on one line. =IF(Sheet1!A1:A100=100,(Sheet2!C1-(Sheet1!D1:D100)))
"100" being the part number. Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default Help with inventory list


Don't know if this will help but maybe you could use something like
this:

=VLOOKUP(A1,Sheet2!$A$1:$B$100,2,0)-SUMIF($A$1:$A$100,A1,$B$1:$B$100)
where A1 is the part number, A1:B100 is the range of your records in
sheet 1, sheet2!A1:B100 is your inventory (column A-part number, column
B-number of items in stock)
VLOOKUP(A1,Sheet2!$A$1:$A$100,2,0) would find the number of items
originally in stock -
SUMIF($A$1:$A$100,A1,$B$1:$B$100)
will calculate how many items were distributed in your distribution
records (in this case A1:B100 of sheet 1) for the specified part.

HTH
JG


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=497470

  #3   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default Help with inventory list

Another play to tinker with ..
(along lines similar to pinmaster's)

Sample construct at:
http://www.savefile.com/files/5708237
SimpleInventory_EinsteinMC2_misc.xls

In Sheet1,
Headers in A1:D1 as per below, data/formulas from row2 down:
Part#, Dept, QtyIssued, RemQty

In D2: =IF(C2="","",VLOOKUP(A2,Sheet2!A:D,4,0))
D2 copied down
(Col D returns the remaining qty/stock from Sheet2's col D)

In Sheet2,
Headers in A1:E1 as per below, data/formulas from row2 down:
Part#, StartQty, TotIssQty, RemQty, Re-Order?

In C2: =SUMIF(Sheet1!A:A,A2,Sheet1!C:C)
In D2: =B2-C2
In E2: =IF(D2<25%*B2,"Yes!","")
C2:E2 selected and copied down

Col E provides a simple alert to monitor the stock level in col D (RemQty)
Adjust the 25% threshold (arbitrary) to suit
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Eintsein_mc2" wrote in message
oups.com...
Would be great if some one could help. I have an inventory list which
would have over a 100 different products on it. These products are
distributed to different departments in my business. Sheet 1 I type in
the department name then part number and how many items, then vlookup
brings up the info. But I can not work out how to subtract the amount I
just entered from the inventory list which is in sheet 2. The same
product can go to many departments. Have tried this but will only work
on one line. =IF(Sheet1!A1:A100=100,(Sheet2!C1-(Sheet1!D1:D100)))
"100" being the part number. Thanks in advance.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i get an inventory list that adds and subtracts inventory James Excel Discussion (Misc queries) 0 October 5th 05 12:48 AM
HOW DO I MAKE VALIDATION LIST CONTAING DATA FROM A DIFFERENT BO CHAIM Excel Discussion (Misc queries) 1 September 29th 05 08:28 PM
Copying list item (a bit less vague) Hru48 Excel Discussion (Misc queries) 7 September 29th 05 04:51 PM
Printing data validation scenarios SJC Excel Worksheet Functions 14 July 24th 05 12:43 AM
Refresh a Validation List? jhollin1138 Excel Discussion (Misc queries) 3 February 17th 05 05:48 PM


All times are GMT +1. The time now is 12:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"