Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bobito
 
Posts: n/a
Default Sumif function with multiple criteria

I am trying to "sum" a column using "sumif" ... but need to use 2 criteria.
I have tried the Sumif(And(< cond 1 , cond 2 )(ans) but this does not work.
Has anybody any idea how write the correct statement
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme
 
Posts: n/a
Default Sumif function with multiple criteria

SUMIF works only with 1 condition; for more you need SUMPRODUCT.
You have given us little to work with so here is a general reference
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
Come back if you have more questions
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Bobito" wrote in message
...
I am trying to "sum" a column using "sumif" ... but need to use 2 criteria.
I have tried the Sumif(And(< cond 1 , cond 2 )(ans) but this does not
work.
Has anybody any idea how write the correct statement



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bobito
 
Posts: n/a
Default Sumif function with multiple criteria

The SUMPRODUCT function will work within my spreadsheet, however, it is
limited to the fact you have to specify row numbers.
With the SUMIF function you can specify as an example ... SUMIF(A:A etc ...
ie- you do not have to specify over which rows you want the sum function to
work.
I tried this way with SUMPRODUCT but the only answer that was returned was
.... #NUM!
Is it possible to use the row = A:A statement instead of specifying row
numbers?

"Bernard Liengme" wrote:

SUMIF works only with 1 condition; for more you need SUMPRODUCT.
You have given us little to work with so here is a general reference
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
Come back if you have more questions
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Bobito" wrote in message
...
I am trying to "sum" a column using "sumif" ... but need to use 2 criteria.
I have tried the Sumif(And(< cond 1 , cond 2 )(ans) but this does not
work.
Has anybody any idea how write the correct statement




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Sumif function with multiple criteria

If you use sumproduct you can't use A:A, you need to specify the rows

--

Regards,

Peo Sjoblom


"Bobito" wrote in message
...
The SUMPRODUCT function will work within my spreadsheet, however, it is
limited to the fact you have to specify row numbers.
With the SUMIF function you can specify as an example ... SUMIF(A:A etc

....
ie- you do not have to specify over which rows you want the sum function

to
work.
I tried this way with SUMPRODUCT but the only answer that was returned was
... #NUM!
Is it possible to use the row = A:A statement instead of specifying row
numbers?

"Bernard Liengme" wrote:

SUMIF works only with 1 condition; for more you need SUMPRODUCT.
You have given us little to work with so here is a general reference
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
Come back if you have more questions
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Bobito" wrote in message
...
I am trying to "sum" a column using "sumif" ... but need to use 2

criteria.
I have tried the Sumif(And(< cond 1 , cond 2 )(ans) but this does

not
work.
Has anybody any idea how write the correct statement






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
windsurferLA
 
Posts: n/a
Default Sumif function with multiple criteria

I don't know enough about the your spreadsheet to claim it would be a
solution, but check out the User Defined Function (UDF) suggested by
Bernard Liengme in an earlier post. It would seem that you could modify
it to solve your problem.

WindsurferLA



Bobito wrote:
The SUMPRODUCT function will work within my spreadsheet, however, it is
limited to the fact you have to specify row numbers.
With the SUMIF function you can specify as an example ... SUMIF(A:A etc ...
ie- you do not have to specify over which rows you want the sum function to
work.
I tried this way with SUMPRODUCT but the only answer that was returned was
... #NUM!
Is it possible to use the row = A:A statement instead of specifying row
numbers?

"Bernard Liengme" wrote:


SUMIF works only with 1 condition; for more you need SUMPRODUCT.
You have given us little to work with so here is a general reference
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
Come back if you have more questions
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Bobito" wrote in message
...

I am trying to "sum" a column using "sumif" ... but need to use 2 criteria.
I have tried the Sumif(And(< cond 1 , cond 2 )(ans) but this does not
work.
Has anybody any idea how write the correct statement






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
SumIF function ACDenver Excel Discussion (Misc queries) 2 August 17th 05 09:47 PM
countif function with multiple criteria Geoff Excel Discussion (Misc queries) 1 August 11th 05 11:50 PM
How do I ask for multiple criteria when creating a "sumif" formul. Rachelle Excel Worksheet Functions 3 December 1st 04 11:49 PM
SUMIF multiple criteria in 1 range Mike@Q Excel Worksheet Functions 5 November 26th 04 03:55 PM
SUMIF multiple criteria LOU Excel Worksheet Functions 1 November 10th 04 07:12 PM


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