Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count if
Hi I want to count if col a=apples and col b=red so if col a=apples and col
b=green then it wouldn't add one to the total so I would end up with how many red apples I have listed down???? Many thanks ya'll P.x |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count if
hi Phil
use =sumproduct(--(a2:a100="Apple")--(b2:b100="red)) hth regards from Brazil Marcelo "PhilScratchingmyhead" escreveu: Hi I want to count if col a=apples and col b=red so if col a=apples and col b=green then it wouldn't add one to the total so I would end up with how many red apples I have listed down???? Many thanks ya'll P.x |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count if
=SUMPRODUCT((A1:A999="apples")*(B1:b999="red"))
HTH -- AP "PhilScratchingmyhead" a écrit dans le message de news: ... Hi I want to count if col a=apples and col b=red so if col a=apples and col b=green then it wouldn't add one to the total so I would end up with how many red apples I have listed down???? Many thanks ya'll P.x |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count if
Many thanks worked a treat...
"Ardus Petus" wrote: =SUMPRODUCT((A1:A999="apples")*(B1:b999="red")) HTH -- AP "PhilScratchingmyhead" a écrit dans le message de news: ... Hi I want to count if col a=apples and col b=red so if col a=apples and col b=green then it wouldn't add one to the total so I would end up with how many red apples I have listed down???? Many thanks ya'll P.x |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count if
Many thanks worked perfectly - good luck for the football..
"Marcelo" wrote: hi Phil use =sumproduct(--(a2:a100="Apple")--(b2:b100="red)) hth regards from Brazil Marcelo "PhilScratchingmyhead" escreveu: Hi I want to count if col a=apples and col b=red so if col a=apples and col b=green then it wouldn't add one to the total so I would end up with how many red apples I have listed down???? Many thanks ya'll P.x |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Subtotals by count | Excel Discussion (Misc queries) | |||
Count consecutive dates only | Excel Discussion (Misc queries) | |||
Count Position of Filtered TEXT cells in a column | Excel Worksheet Functions | |||
Count Position of Filtered TEXT cells in a column | Excel Worksheet Functions | |||
Conversion | Excel Worksheet Functions |