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 Logical Test for blank and then for score

I am trying to score results
- M4 = test criteria (e.g. 5)
- O4 = test result (blank or a number .001 to 9999)
- P4 = scoring (if the result is blank, retun a blank in P4. if result is
less than test criteria set P4 to 100, else 0)

I need to check for blank and return a blank so that when I total the
scores, I'm not averaging in a zero.

I need to replace this which returns a 0 when O4 is blank:
=IF(O4="",0,IF(O4<=M4,100,0))
This returns an error for using the "" replacing the 0:
=IF(O4="","",IF(O4<=M4,100,0))

Ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Logical Test for blank and then for score

=IF(ISBLANK(O4),"",IF(O4<=M4,100,0))
should work in cell P4.

"Mikesnhu" wrote:

I am trying to score results
- M4 = test criteria (e.g. 5)
- O4 = test result (blank or a number .001 to 9999)
- P4 = scoring (if the result is blank, retun a blank in P4. if result is
less than test criteria set P4 to 100, else 0)

I need to check for blank and return a blank so that when I total the
scores, I'm not averaging in a zero.

I need to replace this which returns a 0 when O4 is blank:
=IF(O4="",0,IF(O4<=M4,100,0))
This returns an error for using the "" replacing the 0:
=IF(O4="","",IF(O4<=M4,100,0))

Ideas?

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
Can I use 'CONTAINS' in an IF Logical Test? MichaelRobert Excel Worksheet Functions 3 April 2nd 23 08:11 PM
problem with a function to calculate weighted test score Drew P. Excel Worksheet Functions 2 September 17th 09 12:55 PM
A logical test in the If function for blank, i.e., If blank? egii Excel Worksheet Functions 5 September 16th 09 11:46 AM
Help needed...test score statistics Justin Excel Discussion (Misc queries) 8 July 8th 06 01:35 AM
Highest Score for each Test abqhusker Excel Worksheet Functions 4 October 8th 05 06:25 PM


All times are GMT +1. The time now is 05:32 PM.

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"