#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Counting Formula

On a worksheet name sales this is what I have


I need in Column J for the forluma to look at a worksheet name Parts whic
looks like this

C D E F
2 H-1 0 0 Yes
3 C-55 350 12
4 H-1 0 3 Yes
5 C-55 2 4 Yes
6 A-98 400 6 Yes

I need to formula on the sales worksheet to look the parts worksheet and if
cell I20 matches anything on Parts column C, it is going to give me the total
number of yes's and not count the blanks in column F

So I Sales worksheet would look like this -

I J
20 A-98 1
21 C-55 1
22 H-1 2
23
24


I appreciate your help.

Cathy

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Counting Formula

=SUMPRODUCT(--($C$2:$C$6=I20),--($F$2:$F$6="Yes"))

copy down as far as needed


"Cathy" wrote:

On a worksheet name sales this is what I have


I need in Column J for the forluma to look at a worksheet name Parts whic
looks like this

C D E F
2 H-1 0 0 Yes
3 C-55 350 12
4 H-1 0 3 Yes
5 C-55 2 4 Yes
6 A-98 400 6 Yes

I need to formula on the sales worksheet to look the parts worksheet and if
cell I20 matches anything on Parts column C, it is going to give me the total
number of yes's and not count the blanks in column F

So I Sales worksheet would look like this -

I J
20 A-98 1
21 C-55 1
22 H-1 2
23
24


I appreciate your help.

Cathy

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Counting Formula

Try this in J20:

=SUMPRODUCT((Parts!C2:C100=I20)*(Parts!F2:F100="Ye s"))

Adjust the 100 (twice) if you have more rows in your Parts sheet.

Hope this helps.

Pete

On Jul 2, 6:40*pm, Cathy wrote:
On a worksheet name sales this is what I have

I need in Column J for the forluma to look at a worksheet name Parts whic
looks like this

* * * * * * C * * * * * * *D * * * * * *E * * * * * F
2 * * * * H-1 * * * * * 0 * * * * * * 0 * * * * Yes
3 * * * * C-55 * * * *350 * * * * *12
4 * * * * H-1 * * * * * 0 * * * * * * 3 * * * * Yes
5 * * * * C-55 * * * * 2 * * * * * *4 * * * * *Yes
6 * * * * A-98 * * * * 400 * * * *6 * * * * *Yes

I need to formula on the sales worksheet to look the parts worksheet and if
cell I20 matches anything on Parts column C, it is going to give me the total
number of yes's and not count the blanks in column F

So I Sales worksheet would look like this -

* * * * * * * * * I * * * * * * J * * * * * * * * *
20 * * * * * *A-98 * * * * *1
21 * * * * * *C-55 * * * * *1
22 * * * * * *H-1 * * * * * 2
23
24

I appreciate your help.

Cathy


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Counting Formula

I cannot get this to work either.

"Pete_UK" wrote:

Try this in J20:

=SUMPRODUCT((Parts!C2:C100=I20)*(Parts!F2:F100="Ye s"))

Adjust the 100 (twice) if you have more rows in your Parts sheet.

Hope this helps.

Pete

On Jul 2, 6:40 pm, Cathy wrote:
On a worksheet name sales this is what I have

I need in Column J for the forluma to look at a worksheet name Parts whic
looks like this

C D E F
2 H-1 0 0 Yes
3 C-55 350 12
4 H-1 0 3 Yes
5 C-55 2 4 Yes
6 A-98 400 6 Yes

I need to formula on the sales worksheet to look the parts worksheet and if
cell I20 matches anything on Parts column C, it is going to give me the total
number of yes's and not count the blanks in column F

So I Sales worksheet would look like this -

I J
20 A-98 1
21 C-55 1
22 H-1 2
23
24

I appreciate your help.

Cathy



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Counting Formula

This does not work.

"Teethless mama" wrote:

=SUMPRODUCT(--($C$2:$C$6=I20),--($F$2:$F$6="Yes"))

copy down as far as needed


"Cathy" wrote:

On a worksheet name sales this is what I have


I need in Column J for the forluma to look at a worksheet name Parts whic
looks like this

C D E F
2 H-1 0 0 Yes
3 C-55 350 12
4 H-1 0 3 Yes
5 C-55 2 4 Yes
6 A-98 400 6 Yes

I need to formula on the sales worksheet to look the parts worksheet and if
cell I20 matches anything on Parts column C, it is going to give me the total
number of yes's and not count the blanks in column F

So I Sales worksheet would look like this -

I J
20 A-98 1
21 C-55 1
22 H-1 2
23
24


I appreciate your help.

Cathy



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Counting Formula

Did it return an error? Did it return a value that you did not expect?
If so, what did you expect, and why, and what did the formula return?
Did you type the formula exactly as given?

Please be more specific, so that I can try to diagnose what is wrong.

Pete

On Jul 2, 10:48*pm, Cathy wrote:
I cannot get this to work either.



"Pete_UK" wrote:
Try this in J20:


=SUMPRODUCT((Parts!C2:C100=I20)*(Parts!F2:F100="Ye s"))


Adjust the 100 (twice) if you have more rows in your Parts sheet.


Hope this helps.


Pete


On Jul 2, 6:40 pm, Cathy wrote:
On a worksheet name sales this is what I have


I need in Column J for the forluma to look at a worksheet name Parts whic
looks like this


* * * * * * C * * * * * * *D * * * * * *E * * * * * F
2 * * * * H-1 * * * * * 0 * * * * * * 0 * * * * Yes
3 * * * * C-55 * * * *350 * * * * *12
4 * * * * H-1 * * * * * 0 * * * * * * 3 * * * * Yes
5 * * * * C-55 * * * * 2 * * * * * *4 * * * * *Yes
6 * * * * A-98 * * * * 400 * * * *6 * * * * *Yes


I need to formula on the sales worksheet to look the parts worksheet and if
cell I20 matches anything on Parts column C, it is going to give me the total
number of yes's and not count the blanks in column F


So I Sales worksheet would look like this -


* * * * * * * * * I * * * * * * J * * * * * * * * *
20 * * * * * *A-98 * * * * *1
21 * * * * * *C-55 * * * * *1
22 * * * * * *H-1 * * * * * 2
23
24


I appreciate your help.


Cathy- Hide quoted text -


- Show quoted text -


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting Formula Karen Smith Excel Discussion (Misc queries) 3 October 26th 07 10:06 PM
Formula / Counting Anna Excel Worksheet Functions 5 July 12th 07 02:38 PM
COUNTING FORMULA TMF in MN Excel Worksheet Functions 1 February 26th 07 10:32 PM
Counting Formula santaviga Excel Worksheet Functions 3 May 9th 06 12:16 PM
Counting Formula Paul Excel Discussion (Misc queries) 1 October 26th 05 05:02 AM


All times are GMT +1. The time now is 05:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"