View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
mdcgpw mdcgpw is offline
external usenet poster
 
Posts: 5
Default Count cells w/values in column if the data in column a matches

Thank you, however this is not working. Let me try and give more detail.

I am using excel 2000

Data is stored in one worksheet named Jan, in another workshet I have the
summaries and that is where I need to enter the formula.

Worksheet Jan has column F with sales people initials, and columb O with
sales numbers of accessories. In the summary sheet I need to know: Of all
the sales a sales person had, how many had also accessories sales.

Based on your reply, I tried the following, but am getting an error.

I appreciate the help.................................

Thank you


"Pete_UK" wrote:

Try this:

=SUMPRODUCT((A1:A100=D1)*(B1:B100<""))

where D1 contains the criteria.

Hope this helps.

Pete

On Jan 11, 8:29 pm, mdcgpw wrote:
I need a formula that counts the number of cell that contain data in column B
as long as the corresponding cell in column A matches a given criteria.