LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
wjohnson
 
Posts: n/a
Default Summing Rows with Multiple Criteria


You need to use an "AND" or "IF" statement in column "D" because you
want 2 different conditions.
If you use the "AND" statement you just get a "TRUE" or "FALSE" - then
do a "COUNTIF" for "TRUE"
=AND(A40,B4="star quality")

If you use an "IF" -"AND" statement then for the "TRUE" and "FALSE"
part you can enter any text you want.
=IF(AND(A40,B4="star quality"),"star quality","check")
Then accomplish a "COUNTIF" for "star quality"

If you use the IF/AND statement you will get an "ERROR MESSAGE" pop-up
when you close the "AND" box. Just ignore it and put your cursor or the
"IF" part of the statement in the "Formula bar" and click the equal sign
and fill in the values you want for the "TRUE" and "FALSE" part of the
IF statement.


--
wjohnson
------------------------------------------------------------------------
wjohnson's Profile: http://www.excelforum.com/member.php...o&userid=29640
View this thread: http://www.excelforum.com/showthread...hreadid=493605

 
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
Count on multiple values with duplicate rows Carla Excel Worksheet Functions 1 November 22nd 05 09:25 PM
copy rows meeting criteria to another worksheet confused Excel Worksheet Functions 4 October 4th 05 11:51 AM
Summing with multiple criteria qflyer Excel Worksheet Functions 3 June 21st 05 07:43 AM
Multiple rows of data on a single axis (charting) ramseysgirl Charts and Charting in Excel 8 December 29th 04 06:00 PM
Counting rows based on criteria in multiple cells Margaret Excel Discussion (Misc queries) 11 December 2nd 04 11:04 PM


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