#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default SUM PRODUCT

Hi,

Does anyone know how I can add
=COUNTIF(B19:B21=A9)

in to the following formula:-
=SUMPRODUCT(1/COUNTIF(E19:E23,E19:E23&""))

I want it to do both things at the same time but cannot work out where/how
to put it???

Thanks
Fiona
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default SUM PRODUCT

Can you tell us in plain words what do you want to do and provide a sample of
your data structure?

Regards,
Stefi

€˛Fiona Yorke-Saville€¯ ezt Ć*rta:

Hi,

Does anyone know how I can add
=COUNTIF(B19:B21=A9)

in to the following formula:-
=SUMPRODUCT(1/COUNTIF(E19:E23,E19:E23&""))

I want it to do both things at the same time but cannot work out where/how
to put it???

Thanks
Fiona

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default SUM PRODUCT

Hi Stefi,
thanks for your e-mail, I've listed below what I want to do, does this make
sense?

A B
1 ABC

2 ABC AB/12345 IF A2:A6 = A1 then count B2:B6 (not counting any duplicates)
3 BCD AB/12345 The answer I need is 3
4 CDE AB/23584
5 ABC AB/32586
6 ABC AB/36987


"Stefi" wrote:

Can you tell us in plain words what do you want to do and provide a sample of
your data structure?

Regards,
Stefi

€˛Fiona Yorke-Saville€¯ ezt Ć*rta:

Hi,

Does anyone know how I can add
=COUNTIF(B19:B21=A9)

in to the following formula:-
=SUMPRODUCT(1/COUNTIF(E19:E23,E19:E23&""))

I want it to do both things at the same time but cannot work out where/how
to put it???

Thanks
Fiona

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default SUM PRODUCT

Try this:

=CEILING(SUMPRODUCT(--($A$1=$A$2:$A$6),1/COUNTIF(B2:B6,B2:B6&"")),1)

Regards,
Stefi

€˛Fiona Yorke-Saville€¯ ezt Ć*rta:

Hi Stefi,
thanks for your e-mail, I've listed below what I want to do, does this make
sense?

A B
1 ABC

2 ABC AB/12345 IF A2:A6 = A1 then count B2:B6 (not counting any duplicates)
3 BCD AB/12345 The answer I need is 3
4 CDE AB/23584
5 ABC AB/32586
6 ABC AB/36987


"Stefi" wrote:

Can you tell us in plain words what do you want to do and provide a sample of
your data structure?

Regards,
Stefi

€˛Fiona Yorke-Saville€¯ ezt Ć*rta:

Hi,

Does anyone know how I can add
=COUNTIF(B19:B21=A9)

in to the following formula:-
=SUMPRODUCT(1/COUNTIF(E19:E23,E19:E23&""))

I want it to do both things at the same time but cannot work out where/how
to put it???

Thanks
Fiona

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default SUM PRODUCT

Thanks Stefi! That's exactly it :) :)

"Stefi" wrote:

Try this:

=CEILING(SUMPRODUCT(--($A$1=$A$2:$A$6),1/COUNTIF(B2:B6,B2:B6&"")),1)

Regards,
Stefi

€˛Fiona Yorke-Saville€¯ ezt Ć*rta:

Hi Stefi,
thanks for your e-mail, I've listed below what I want to do, does this make
sense?

A B
1 ABC

2 ABC AB/12345 IF A2:A6 = A1 then count B2:B6 (not counting any duplicates)
3 BCD AB/12345 The answer I need is 3
4 CDE AB/23584
5 ABC AB/32586
6 ABC AB/36987


"Stefi" wrote:

Can you tell us in plain words what do you want to do and provide a sample of
your data structure?

Regards,
Stefi

€˛Fiona Yorke-Saville€¯ ezt Ć*rta:

Hi,

Does anyone know how I can add
=COUNTIF(B19:B21=A9)

in to the following formula:-
=SUMPRODUCT(1/COUNTIF(E19:E23,E19:E23&""))

I want it to do both things at the same time but cannot work out where/how
to put it???

Thanks
Fiona



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default SUM PRODUCT

You are welcome! Thanks for the feedback!
Stefi

€˛Fiona Yorke-Saville€¯ ezt Ć*rta:

Thanks Stefi! That's exactly it :) :)

"Stefi" wrote:

Try this:

=CEILING(SUMPRODUCT(--($A$1=$A$2:$A$6),1/COUNTIF(B2:B6,B2:B6&"")),1)

Regards,
Stefi

€˛Fiona Yorke-Saville€¯ ezt Ć*rta:

Hi Stefi,
thanks for your e-mail, I've listed below what I want to do, does this make
sense?

A B
1 ABC

2 ABC AB/12345 IF A2:A6 = A1 then count B2:B6 (not counting any duplicates)
3 BCD AB/12345 The answer I need is 3
4 CDE AB/23584
5 ABC AB/32586
6 ABC AB/36987


"Stefi" wrote:

Can you tell us in plain words what do you want to do and provide a sample of
your data structure?

Regards,
Stefi

€˛Fiona Yorke-Saville€¯ ezt Ć*rta:

Hi,

Does anyone know how I can add
=COUNTIF(B19:B21=A9)

in to the following formula:-
=SUMPRODUCT(1/COUNTIF(E19:E23,E19:E23&""))

I want it to do both things at the same time but cannot work out where/how
to put it???

Thanks
Fiona

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
What is sum product... Srikanth Excel Discussion (Misc queries) 8 November 28th 07 11:28 AM
Sum-if-product Steve[_4_] Excel Worksheet Functions 2 October 9th 07 10:35 PM
product key ahmed[_2_] Setting up and Configuration of Excel 1 September 6th 07 11:27 PM
Sum if or sum product? Tina Excel Worksheet Functions 4 May 1st 06 04:42 PM
Sum Product help Stacy M via OfficeKB.com Excel Worksheet Functions 1 August 8th 05 05:45 PM


All times are GMT +1. The time now is 02:34 PM.

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

About Us

"It's about Microsoft Excel"