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

I am creating a spreadsheet, and would like to produce some statistics from it. How do i get data from two different columns one word one numeric.

I.e

Name Age Gender Initial/Review Mother attended
jahd 12 M Initial Y
jshh 14 F Review Y
kajd 13 M Initial N
kasl 12 M Review Y


I would like to know if the mother attended the initial reviews. What would the formula be?




EggHeadCafe - Software Developer Portal of Choice
C# Email With Attachment / Upload / Validation
http://www.eggheadcafe.com/tutorials...ttachment.aspx
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 269
Default Spreadsheets

in Excel 2007 you could use COUNTIFS and simply count the attended column if
it is Y and the Review Column is initial

=COUNTIFS(d1:D10,"Initial",E1:e10,"Y")

you can also use a sumproduct formula (this will work in Excel 2003)

=sumproduct(--(D1:D10)="Initial",--(E1:e10="Y"))

--
If this helps, please remember to click yes.


"Kelly Johns" wrote:

I am creating a spreadsheet, and would like to produce some statistics from it. How do i get data from two different columns one word one numeric.

I.e

Name Age Gender Initial/Review Mother attended
jahd 12 M Initial Y
jshh 14 F Review Y
kajd 13 M Initial N
kasl 12 M Review Y


I would like to know if the mother attended the initial reviews. What would the formula be?




EggHeadCafe - Software Developer Portal of Choice
C# Email With Attachment / Upload / Validation
http://www.eggheadcafe.com/tutorials...ttachment.aspx
.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Spreadsheets

This resource is great!
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
=SUMPRODUCT((C1:C10="M")*(D1:D10="Initial"))

HTH,
Ryan---

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


"Paul C" wrote:

in Excel 2007 you could use COUNTIFS and simply count the attended column if
it is Y and the Review Column is initial

=COUNTIFS(d1:D10,"Initial",E1:e10,"Y")

you can also use a sumproduct formula (this will work in Excel 2003)

=sumproduct(--(D1:D10)="Initial",--(E1:e10="Y"))

--
If this helps, please remember to click yes.


"Kelly Johns" wrote:

I am creating a spreadsheet, and would like to produce some statistics from it. How do i get data from two different columns one word one numeric.

I.e

Name Age Gender Initial/Review Mother attended
jahd 12 M Initial Y
jshh 14 F Review Y
kajd 13 M Initial N
kasl 12 M Review Y


I would like to know if the mother attended the initial reviews. What would the formula be?




EggHeadCafe - Software Developer Portal of Choice
C# Email With Attachment / Upload / Validation
http://www.eggheadcafe.com/tutorials...ttachment.aspx
.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Spreadsheets

Unless I read the OP's post incorrectly, I think your formula should be
this...

=SUMPRODUCT((D1:D10="Initial")*(E1:E10="Y"))

--
Rick (MVP - Excel)


"ryguy7272" wrote in message
...
This resource is great!
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
=SUMPRODUCT((C1:C10="M")*(D1:D10="Initial"))

HTH,
Ryan---

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


"Paul C" wrote:

in Excel 2007 you could use COUNTIFS and simply count the attended column
if
it is Y and the Review Column is initial

=COUNTIFS(d1:D10,"Initial",E1:e10,"Y")

you can also use a sumproduct formula (this will work in Excel 2003)

=sumproduct(--(D1:D10)="Initial",--(E1:e10="Y"))

--
If this helps, please remember to click yes.


"Kelly Johns" wrote:

I am creating a spreadsheet, and would like to produce some statistics
from it. How do i get data from two different columns one word one
numeric.

I.e

Name Age Gender Initial/Review Mother attended
jahd 12 M Initial Y
jshh 14 F Review Y
kajd 13 M Initial N
kasl 12 M Review Y


I would like to know if the mother attended the initial reviews. What
would the formula be?




EggHeadCafe - Software Developer Portal of Choice
C# Email With Attachment / Upload / Validation
http://www.eggheadcafe.com/tutorials...ttachment.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
spreadsheets atkin Excel Discussion (Misc queries) 2 September 24th 09 04:08 PM
Spreadsheets FOXYBLEYE Excel Discussion (Misc queries) 0 March 18th 08 03:02 PM
spreadsheets ray shoey Excel Worksheet Functions 2 July 27th 07 01:57 PM
Can Excel Spreadsheets be saved as Microsoft Works spreadsheets? EXCEL WORKS CONFUSED Excel Discussion (Misc queries) 4 August 18th 06 11:21 PM
SPREADSHEETS rayd Setting up and Configuration of Excel 1 May 27th 06 05:44 PM


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