Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
I have a spreadsheet with the following cols :- ColA ColB ColC Vendor1 0 5.99 Vendor2 1.99 0 Vendor1 2.00 3.99 Vendor1 0 1.00 Total 3.99 10.98 # of Vendors 2 1 The # of Vendors needs to be counted when the value in the particular column is greater than 0.01, but only for each unique vendor. Is this possible ? Thanks Jill |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Jill1 wrote: Hi I have a spreadsheet with the following cols :- ColA ColB ColC Vendor1 0 5.99 Vendor2 1.99 0 Vendor1 2.00 3.99 Vendor1 0 1.00 Total 3.99 10.98 # of Vendors 2 1 The # of Vendors needs to be counted when the value in the particular column is greater than 0.01, but only for each unique vendor. Is this possible ? Thanks Jill Hi Jill, Maybe it is overkill but i think you can use something like this: =SUM(IF(FREQUENCY(IF(($A$1:$A$4<"")*($B$1:$B$40. 01),MATCH($A$1:$A$4,$A$1:$A$4,0)),ROW(INDIRECT("1: "&ROWS($A$1:$A$4))))0,1,0)) Where Vendors are in A and nmbers in B It is an array formula so you have to confirm it with Ctrl + Shift + Enter Regards, Bondi |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks, that has worked perfectly !!!
"Jill1" wrote: Hi I have a spreadsheet with the following cols :- ColA ColB ColC Vendor1 0 5.99 Vendor2 1.99 0 Vendor1 2.00 3.99 Vendor1 0 1.00 Total 3.99 10.98 # of Vendors 2 1 The # of Vendors needs to be counted when the value in the particular column is greater than 0.01, but only for each unique vendor. Is this possible ? Thanks Jill |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks that worked peefectly !!
"Bondi" wrote: Jill1 wrote: Hi I have a spreadsheet with the following cols :- ColA ColB ColC Vendor1 0 5.99 Vendor2 1.99 0 Vendor1 2.00 3.99 Vendor1 0 1.00 Total 3.99 10.98 # of Vendors 2 1 The # of Vendors needs to be counted when the value in the particular column is greater than 0.01, but only for each unique vendor. Is this possible ? Thanks Jill Hi Jill, Maybe it is overkill but i think you can use something like this: =SUM(IF(FREQUENCY(IF(($A$1:$A$4<"")*($B$1:$B$40. 01),MATCH($A$1:$A$4,$A$1:$A$4,0)),ROW(INDIRECT("1: "&ROWS($A$1:$A$4))))0,1,0)) Where Vendors are in A and nmbers in B It is an array formula so you have to confirm it with Ctrl + Shift + Enter Regards, Bondi |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do i count the number of unique values in a given column? | Excel Discussion (Misc queries) | |||
Formula to count values in two columns | Excel Discussion (Misc queries) | |||
Count Unique Values with Multiple Criteria | Excel Worksheet Functions | |||
how to count unique values in excel based on multiple criteria | Excel Worksheet Functions | |||
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row | Excel Worksheet Functions |