Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to count the number of times a part number appears in a column of
filtered data. The part number is repeated because I need to track serial numbers with it. I tried using the Countif function but it takes into accound values that are filtered out. I sorted my data by part number and used the subtotal function with CountA. This gives me an accurate total but I have to constantly change the range when I add more parts to the spreadsheet. Should I be using the Subtotal function or is there another way to total my values without having to constantly make modifications? Thank you for any help provided. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT(--($B$2:$B$200=Part#),SUBTOTAL(3,OFFSET($B$2,ROW($B$ 2:$B$200)-MIN(RO
W($B$2:$B$200)),,))) will count Part# in a filtered list B2:B200, adapt to fit -- Regards, Peo Sjoblom Excel 95 - Excel 2007 Northwest Excel Solutions www.nwexcelsolutions.com "It is a good thing to follow the first law of holes; if you are in one stop digging." Lord Healey "Shawn13" wrote in message ... I am trying to count the number of times a part number appears in a column of filtered data. The part number is repeated because I need to track serial numbers with it. I tried using the Countif function but it takes into accound values that are filtered out. I sorted my data by part number and used the subtotal function with CountA. This gives me an accurate total but I have to constantly change the range when I add more parts to the spreadsheet. Should I be using the Subtotal function or is there another way to total my values without having to constantly make modifications? Thank you for any help provided. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I count data with criteria from two separate columns in exc | Excel Worksheet Functions | |||
Count Position of Filtered TEXT cells in a column | Excel Worksheet Functions | |||
Sort pages? | Excel Discussion (Misc queries) | |||
How do I paste data into filtered list in Excel? | Excel Discussion (Misc queries) | |||
How do I count my data that are between specific values? | Excel Worksheet Functions |