Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default How to create a SUMPRODUCT OR COUNTIF for multiple criterias and ranges

I have been trying to create a sumproduct formula for a excel sheet,
which has multiple criterias and data ranges.

for example: -

first range is D12:P16 with this criteria =4
second range is D21:P22 with this criteria =4
third range is D28:P34 with this criteria =3
fourth range is D23:P23 with this criteria =3

anyone that can help me with this?

many thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default How to create a SUMPRODUCT OR COUNTIF for multiple criterias and ranges

What exactly are you trying to test? Your ranges are all different sizes and
SP insists on same size ranges to work.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
oups.com...
I have been trying to create a sumproduct formula for a excel sheet,
which has multiple criterias and data ranges.

for example: -

first range is D12:P16 with this criteria =4
second range is D21:P22 with this criteria =4
third range is D28:P34 with this criteria =3
fourth range is D23:P23 with this criteria =3

anyone that can help me with this?

many thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default How to create a SUMPRODUCT OR COUNTIF for multiple criterias and ranges

I am testing these ranges as a COUNT function for data values set upon
those arguments. If sumproduct isn't suitable for these size ranges are
there any other formulas that i can used.

Imran


Bob Phillips wrote:
What exactly are you trying to test? Your ranges are all different sizes and
SP insists on same size ranges to work.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
oups.com...
I have been trying to create a sumproduct formula for a excel sheet,
which has multiple criterias and data ranges.

for example: -

first range is D12:P16 with this criteria =4
second range is D21:P22 with this criteria =4
third range is D28:P34 with this criteria =3
fourth range is D23:P23 with this criteria =3

anyone that can help me with this?

many thanks


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default How to create a SUMPRODUCT OR COUNTIF for multiple criterias and ranges

Hi
With the different ranges, it looks like you are adding four sums with
one criteria each?

regards
Paul

wrote:
I have been trying to create a sumproduct formula for a excel sheet,
which has multiple criterias and data ranges.

for example: -

first range is D12:P16 with this criteria =4
second range is D21:P22 with this criteria =4
third range is D28:P34 with this criteria =3
fourth range is D23:P23 with this criteria =3

anyone that can help me with this?

many thanks


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default How to create a SUMPRODUCT OR COUNTIF for multiple criterias and ranges

Hi
Do your four seperate sums and add them together. Why do you need an
alternative to that?

regards
Paul

wrote:
Yeah that right! what other alternative method can i used?

regards
Imran

wrote:
Hi
With the different ranges, it looks like you are adding four sums with
one criteria each?

regards
Paul

wrote:
I have been trying to create a sumproduct formula for a excel sheet,
which has multiple criterias and data ranges.

for example: -

first range is D12:P16 with this criteria =4
second range is D21:P22 with this criteria =4
third range is D28:P34 with this criteria =3
fourth range is D23:P23 with this criteria =3

anyone that can help me with this?

many thanks


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default How to create a SUMPRODUCT OR COUNTIF for multiple criterias and ranges

I am updating a rating sheet, which has rating between 1 to 5 where I
want to collated this information from one sheet to another with these
ranges.

Imran

wrote:
Hi
Do your four seperate sums and add them together. Why do you need an
alternative to that?

regards
Paul

wrote:
Yeah that right! what other alternative method can i used?

regards
Imran

wrote:
Hi
With the different ranges, it looks like you are adding four sums with
one criteria each?

regards
Paul

wrote:
I have been trying to create a sumproduct formula for a excel sheet,
which has multiple criterias and data ranges.

for example: -

first range is D12:P16 with this criteria =4
second range is D21:P22 with this criteria =4
third range is D28:P34 with this criteria =3
fourth range is D23:P23 with this criteria =3

anyone that can help me with this?

many thanks


  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default How to create a SUMPRODUCT OR COUNTIF for multiple criterias and ranges

Maybe you want

=COUNTIF(D12:P16,"=4")+COUNTIF(D21:P22,"=4")+COU NTIF(D28:P34
,"=3")+COUNTIF(D23:P23,"=3")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
ups.com...
I am updating a rating sheet, which has rating between 1 to 5 where I
want to collated this information from one sheet to another with these
ranges.

Imran

wrote:
Hi
Do your four seperate sums and add them together. Why do you need an
alternative to that?

regards
Paul

wrote:
Yeah that right! what other alternative method can i used?

regards
Imran

wrote:
Hi
With the different ranges, it looks like you are adding four sums

with
one criteria each?

regards
Paul

wrote:
I have been trying to create a sumproduct formula for a excel

sheet,
which has multiple criterias and data ranges.

for example: -

first range is D12:P16 with this criteria =4
second range is D21:P22 with this criteria =4
third range is D28:P34 with this criteria =3
fourth range is D23:P23 with this criteria =3

anyone that can help me with this?

many thanks




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
Countif and multiple ranges M.A.Tyler Excel Discussion (Misc queries) 7 March 28th 09 08:43 PM
SUMPRODUCT, SUMIF, COUNTIF for multiple sheets for multiple criter Greg in CO[_2_] Excel Worksheet Functions 0 September 18th 08 05:51 PM
sumproduct with multiple tab ranges Chuck[_3_] Excel Worksheet Functions 10 October 26th 07 02:58 AM
countif for multiple ranges and criteria MML Excel Discussion (Misc queries) 7 May 25th 07 09:54 PM
countif help for multiple criterias tdro Excel Worksheet Functions 2 June 14th 05 05:06 PM


All times are GMT +1. The time now is 04:02 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"