Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default Type X when criteria is match

How can I mark X a particular student in a row where grade range of 70-79 is
visible at any of his subjects (i.e Peter with 76 grade in Math)?

Students Math English Science Average Remarks
John 85 90 80 85
Mark 82 85 92 86
Peter 76 85 87 82 X

Thanks,

Rechie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Type X when criteria is match


Hi,

Enter this in d2 and drag down

=IF(SUMPRODUCT((B4:D4=70)*(B4:D4<=79))0,"X","")

Mike

"Rechie" wrote:

How can I mark X a particular student in a row where grade range of 70-79 is
visible at any of his subjects (i.e Peter with 76 grade in Math)?

Students Math English Science Average Remarks
John 85 90 80 85
Mark 82 85 92 86
Peter 76 85 87 82 X

Thanks,

Rechie

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Type X when criteria is match

One way:

=IF((COUNTIF(B2:E2,"="&70)-COUNTIF(B2:E2,"="&80))0,"X","")

Count all the scores bigger than or equal to 70, but subtract the ones that are
too big (bigger than or equal to 80).





Rechie wrote:

How can I mark X a particular student in a row where grade range of 70-79 is
visible at any of his subjects (i.e Peter with 76 grade in Math)?

Students Math English Science Average Remarks
John 85 90 80 85
Mark 82 85 92 86
Peter 76 85 87 82 X

Thanks,

Rechie


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default Type X when criteria is match

Hi Mike,

Thanks a lot!
It's a big help.

REchie



"Mike H" wrote:


Hi,

Enter this in d2 and drag down

=IF(SUMPRODUCT((B4:D4=70)*(B4:D4<=79))0,"X","")

Mike

"Rechie" wrote:

How can I mark X a particular student in a row where grade range of 70-79 is
visible at any of his subjects (i.e Peter with 76 grade in Math)?

Students Math English Science Average Remarks
John 85 90 80 85
Mark 82 85 92 86
Peter 76 85 87 82 X

Thanks,

Rechie

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
Match function won't recognize values unless I type them bdp1978 Excel Worksheet Functions 5 April 30th 23 07:43 PM
IF AND MATCH data type issue EZ[_2_] Excel Worksheet Functions 2 June 18th 09 05:35 PM
Count how many criteria in a column match criteria in another colu Charles Stover Excel Discussion (Misc queries) 3 March 6th 09 08:39 PM
MATCH Multiple Criteria & Return Previous / Penultimate Match Sam via OfficeKB.com Excel Worksheet Functions 27 October 6th 07 01:39 AM
Match type? M.A.Tyler Excel Discussion (Misc queries) 1 July 20th 07 03:40 AM


All times are GMT +1. The time now is 01:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"