#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Simple I think

P AV
Initial/Review Did mother attend

Initial Y
Review N
Initial N
Review Y
Initial Y
Review N
Review Y
Initial N


I need to answer:

Did mother attend Initial: Yes/No
Did Mother attend Review: Yes/No

EggHeadCafe - Software Developer Portal of Choice
Web Services - SOAP / Multiple Recordsets
http://www.eggheadcafe.com/tutorials...-soap--mu.aspx
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Simple I think

Use a formula like:

=sumproduct(--(a2:a10="initital"),--(b2:b10="y"))

Adjust the ranges to match--but you can't use whole columns (except in xl2007+).

=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.

Bob Phillips explains =sumproduct() in much more detail he
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html

=========
If you're using xl2007, look at =countifs() in excel's help.

Kelly, Johns wrote:

P AV
Initial/Review Did mother attend

Initial Y
Review N
Initial N
Review Y
Initial Y
Review N
Review Y
Initial N

I need to answer:

Did mother attend Initial: Yes/No
Did Mother attend Review: Yes/No

EggHeadCafe - Software Developer Portal of Choice
Web Services - SOAP / Multiple Recordsets
http://www.eggheadcafe.com/tutorials...-soap--mu.aspx


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Simple I think

=SUMPRODUCT((A1:A10="Initial")*(B1:B10="Y"))

Also, check he
http://www.xldynamic.com/source/xld....T.html#classic


HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Kelly Johns" wrote:

P AV
Initial/Review Did mother attend

Initial Y
Review N
Initial N
Review Y
Initial Y
Review N
Review Y
Initial N


I need to answer:

Did mother attend Initial: Yes/No
Did Mother attend Review: Yes/No

EggHeadCafe - Software Developer Portal of Choice
Web Services - SOAP / Multiple Recordsets
http://www.eggheadcafe.com/tutorials...-soap--mu.aspx
.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Simple I think

You can achieve your goal with a Pivot Table. See this:
http://peltiertech.com/Excel/Pivots/pivottables.htm
http://www.babeled.com/2008/07/18/ex...-manipulation/


HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Kelly Johns" wrote:

P AV
Initial/Review Did mother attend

Initial Y
Review N
Initial N
Review Y
Initial Y
Review N
Review Y
Initial N


I need to answer:

Did mother attend Initial: Yes/No
Did Mother attend Review: Yes/No

EggHeadCafe - Software Developer Portal of Choice
Web Services - SOAP / Multiple Recordsets
http://www.eggheadcafe.com/tutorials...-soap--mu.aspx
.

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
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
Simple problem, simple formula, no FUNCTION ! Ron@Buy Excel Worksheet Functions 6 September 28th 07 04:51 PM
Simple lookup - or maybe not so simple - help! ChrisHodds Excel Worksheet Functions 1 September 27th 06 03:09 PM
Simple Simple Excel usage question BookerW Excel Discussion (Misc queries) 1 June 23rd 05 10:06 PM
Make it more simple or intuitive to do simple things Vernie Charts and Charting in Excel 1 March 16th 05 04:01 AM


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