ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   inventory counting (https://www.excelbanter.com/excel-worksheet-functions/20115-inventory-counting.html)

AnimationMan

inventory counting
 
how do i count the amount of items in a spreadsheet with a specific part
number but not count them if there is an exclude character (x) in a separate
column. I am trying to creat a bill of materials with excludes.

Ex
PN Exclude
001 x
001
002
002 x
002

Total 001 = 1
Total 002 = 2

Thanks,

Jason Morin

If "PNs" are really text, use:

=SUMPRODUCT(--(A1:A10="001"),--(B1:B10<"x"))

to count "001". If not, use:

=SUMPRODUCT(--(A1:A10=1),--(B1:B10<"x"))

HTH
Jason
Atlanta, GA

-----Original Message-----
how do i count the amount of items in a spreadsheet with

a specific part
number but not count them if there is an exclude

character (x) in a separate
column. I am trying to creat a bill of materials with

excludes.

Ex
PN Exclude
001 x
001
002
002 x
002

Total 001 = 1
Total 002 = 2

Thanks,
.



All times are GMT +1. The time now is 01:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com