Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
George P
 
Posts: n/a
Default sum a range after multiple criteria

i have 4 criteria that all have to =true then sum a range. the range to find
each criterion is a column.

I have tried sumif, if(and(and(and(and, lookup, etc.

thanks,
George
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ragdyer
 
Posts: n/a
Default sum a range after multiple criteria

Sounds like you'll need something like the Sumproduct() function.
The XL help files on this function are really *no* help.

Check out this link and then post back with any further questions:

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"George P" <George wrote in message
...
i have 4 criteria that all have to =true then sum a range. the range to
find
each criterion is a column.

I have tried sumif, if(and(and(and(and, lookup, etc.

thanks,
George


  #3   Report Post  
Posted to microsoft.public.excel.misc
Roger Govier
 
Posts: n/a
Default sum a range after multiple criteria

Hi George

Sumproduct will probably provide your solution, but note that you cannot
use whole column ranges as the argument.

Use something like
=SUMPRODUCT(--($B$1:$B$65535="value1"),--($C$1:$C$65535="value2"))
You can use as many sets of conditions within the outer set of brackets
as you require.
Wrap the test in quotes "Value 1" if comparing Text, or omit the quotes
and just use numbers for Numeric data.

--
Regards

Roger Govier


"George P" <George wrote in message
...
i have 4 criteria that all have to =true then sum a range. the range
to find
each criterion is a column.

I have tried sumif, if(and(and(and(and, lookup, etc.

thanks,
George



  #4   Report Post  
Posted to microsoft.public.excel.misc
George P
 
Posts: n/a
Default sum a range after multiple criteria

Thank you Roger. As soon as I convinced myself to use your example syntax
literally, i.e. (--( [hyphens for the number of conditions placed in the
outer brackets], then it was a snap.

George Papangellin
Fresno, California

"Roger Govier" wrote:

Hi George

Sumproduct will probably provide your solution, but note that you cannot
use whole column ranges as the argument.

Use something like
=SUMPRODUCT(--($B$1:$B$65535="value1"),--($C$1:$C$65535="value2"))
You can use as many sets of conditions within the outer set of brackets
as you require.
Wrap the test in quotes "Value 1" if comparing Text, or omit the quotes
and just use numbers for Numeric data.

--
Regards

Roger Govier


"George P" <George wrote in message
...
i have 4 criteria that all have to =true then sum a range. the range
to find
each criterion is a column.

I have tried sumif, if(and(and(and(and, lookup, etc.

thanks,
George




  #5   Report Post  
Posted to microsoft.public.excel.misc
Roger Govier
 
Posts: n/a
Default sum a range after multiple criteria

Hi George

The "--" outside the condition are the double unary of minus minus.
This is used to coerce the results of the test, TRUE or FALSE into 1 or
0 so that they can be used in the Sumproduct calculation.

--
Regards

Roger Govier


"George P" wrote in message
...
Thank you Roger. As soon as I convinced myself to use your example
syntax
literally, i.e. (--( [hyphens for the number of conditions placed in
the
outer brackets], then it was a snap.

George Papangellin
Fresno, California

"Roger Govier" wrote:

Hi George

Sumproduct will probably provide your solution, but note that you
cannot
use whole column ranges as the argument.

Use something like
=SUMPRODUCT(--($B$1:$B$65535="value1"),--($C$1:$C$65535="value2"))
You can use as many sets of conditions within the outer set of
brackets
as you require.
Wrap the test in quotes "Value 1" if comparing Text, or omit the
quotes
and just use numbers for Numeric data.

--
Regards

Roger Govier


"George P" <George wrote in message
...
i have 4 criteria that all have to =true then sum a range. the
range
to find
each criterion is a column.

I have tried sumif, if(and(and(and(and, lookup, etc.

thanks,
George








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default sum a range after multiple criteria

I was having a similar issue and your link was very helpful and easy to follow.
Thanks,
Tulio


"Ragdyer" wrote:

Sounds like you'll need something like the Sumproduct() function.
The XL help files on this function are really *no* help.

Check out this link and then post back with any further questions:

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"George P" <George wrote in message
...
i have 4 criteria that all have to =true then sum a range. the range to
find
each criterion is a column.

I have tried sumif, if(and(and(and(and, lookup, etc.

thanks,
George



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default sum a range after multiple criteria

If this post was aimed at me, simply the messenger, your thanks should go to
the author of that site, Bob Phillips.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Tulio" wrote in message
...
I was having a similar issue and your link was very helpful and easy to

follow.
Thanks,
Tulio


"Ragdyer" wrote:

Sounds like you'll need something like the Sumproduct() function.
The XL help files on this function are really *no* help.

Check out this link and then post back with any further questions:

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

--
HTH,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"George P" <George wrote in message
...
i have 4 criteria that all have to =true then sum a range. the range

to
find
each criterion is a column.

I have tried sumif, if(and(and(and(and, lookup, etc.

thanks,
George




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
Lookup Data in two seperate Spreadsheets Padraig Excel Worksheet Functions 6 June 28th 06 03:05 PM
Pasting a formula in multiple cells without changing the range Jeff Wheeler Excel Discussion (Misc queries) 3 June 15th 06 04:52 PM
Array Formula w/ Multiple SumIf Criteria Andy Excel Worksheet Functions 3 July 13th 05 08:56 PM
sum multiple criteria where final range is text? jt76 Excel Discussion (Misc queries) 0 May 25th 05 04:48 PM
Function that filters a list (Database) for criteria in a range a. FirstVette52 Excel Worksheet Functions 0 February 8th 05 04:37 PM


All times are GMT +1. The time now is 12:11 AM.

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"