LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Formula Help

Hi,

The best solution is always a matter of some issue - for example, if you
arre using 2007 your best solution might be

=SUMIFS(C1:C99,A1:A99,"E",B1:B99,15)

where you want to sum column C if A is E and B is 15.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Rasoul Khoshravan" wrote:

On Feb 14, 10:21 pm, Dave wrote:
I have a spreadsheet where all entries in Col A are either "E" or "S". Col B
has 10 different possible entries. I need a formula to 1st, select every row
that is an "E", then 2nd, out of that, select only the rows that match a
criteria for Col B's possibilites and 3rd, using the rows that the 2nd step
selected, add all of the values in Col C and generate a total.
I have various modifications of IF and SUMIF and cannot get anything to work.
Any help would be greatly appreciated.


First post on a new thread as you might be ignored sending your
question on others.
Second the best function to answer multiple conditioning is sumproduct

Sumproduct(--(A1:A10="E"),--(B1:B10="put your criteria for column B
here",C1:C10)

For more info on sumproduct, go to
http://www.xldynamic.com/source/xld.SUMPRODUCT.html



 
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



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