Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Return a value based on 2 or more columns of information

Hello All

I was wondering if anyone out there could help me, my quest for a formula is
probably very easy to solve, but I'm just hitting a blank everytime.
Please see the table below:-
ID Student Gender English
1 A Student F B
2 B Student M D
3 C Student M F
4 D Student M G
5 E Student F A
6 F Student F F
7 G Student M B
8 H Student M C
9 I Student F D
10 J Student M C
11 K Student F C
12 L Student F F

Basically what I want is a formula that will answer this; how many females
have achieved A-C grades.
I've tried =IF(C:C=F,(COUNTIF(D:D<=C)),FALSE) and
=IF(AND(C:C=F,D:D<=C),(COUNTA(A:A)),"CHECK"). I've tried other variations,
but I just keep getting an error message and no answer - I think I'm going
mad - does anyone have any suggestions for me?

Thank you very much in advance.
--
Kind regards,
Becca
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Return a value based on 2 or more columns of information

Becca.T. wrote:
Hello All

I was wondering if anyone out there could help me, my quest for a formula is
probably very easy to solve, but I'm just hitting a blank everytime.
Please see the table below:-
ID Student Gender English
1 A Student F B
2 B Student M D
3 C Student M F
4 D Student M G
5 E Student F A
6 F Student F F
7 G Student M B
8 H Student M C
9 I Student F D
10 J Student M C
11 K Student F C
12 L Student F F

Basically what I want is a formula that will answer this; how many females
have achieved A-C grades.
I've tried =IF(C:C=F,(COUNTIF(D:D<=C)),FALSE) and
=IF(AND(C:C=F,D:D<=C),(COUNTA(A:A)),"CHECK"). I've tried other variations,
but I just keep getting an error message and no answer - I think I'm going
mad - does anyone have any suggestions for me?

Thank you very much in advance.



Look he

http://www.contextures.com/xlFunctio...tml#SumProduct

Keep in mind that you should be referencing "F" (and "C")in your formulas.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Return a value based on 2 or more columns of information

Try this:
=SUMPRODUCT(--(C2:C100="F"),--ISNUMBER(SEARCH(D2:D100,"ABC")))

Adjust range sizes as needed. Note that you can't callout entire columns
(C:C) unless using XL 2007.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Becca.T." wrote:

Hello All

I was wondering if anyone out there could help me, my quest for a formula is
probably very easy to solve, but I'm just hitting a blank everytime.
Please see the table below:-
ID Student Gender English
1 A Student F B
2 B Student M D
3 C Student M F
4 D Student M G
5 E Student F A
6 F Student F F
7 G Student M B
8 H Student M C
9 I Student F D
10 J Student M C
11 K Student F C
12 L Student F F

Basically what I want is a formula that will answer this; how many females
have achieved A-C grades.
I've tried =IF(C:C=F,(COUNTIF(D:D<=C)),FALSE) and
=IF(AND(C:C=F,D:D<=C),(COUNTA(A:A)),"CHECK"). I've tried other variations,
but I just keep getting an error message and no answer - I think I'm going
mad - does anyone have any suggestions for me?

Thank you very much in advance.
--
Kind regards,
Becca

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
Multiple if statements based on two columns of information Elizabeth Excel Worksheet Functions 2 July 25th 08 07:51 PM
Return value in 3rd column based on 2 other columns Joe M. Excel Discussion (Misc queries) 2 May 29th 08 04:52 PM
Lookup based on 2 columns; return 1 value MsBeverlee Excel Worksheet Functions 4 December 16th 07 08:20 PM
Is there a way to hide worksheets and/or rows/columns based on information enter into a particular cell of range of cells? Marc New Users to Excel 1 March 10th 06 05:10 PM
Looking up information based on Columns and Rows Sally J Excel Worksheet Functions 6 December 16th 05 09:18 PM


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