Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default IF function not working =IF((B3:B6)='N'), 'FAIL')

Hi.
I have a worksheet full of tasks that I want to keep track their test result.
I want to put a formula in the cell adjacent to every TaskTitle. This formula
will be used to scan all the tasks for that TaskTitle and check if any of
them contain an 'F' value. Most will have a 'Y' value. If there is at least
one 'F' then I want the cell adjacent to the TaskTitle to show 'FAIL'. Do you
know how to make this formula work? It will not work for me. Thanks. MC

Tasks | Results

taskTitle0 =IF((B3:B6)='N'), 'FAIL')
task1 Y
task2 Y
task3 Y
task4 Y
taskTitle4 =IF((B8:B11)='N'), 'FAIL')
task1 Y
task2 N
task3 Y
task4 Y

--
Misty :-)

Message posted via http://www.officekb.com

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default IF function not working =IF((B3:B6)='N'), 'FAIL')

=IF((B3:B6)='N'), 'FAIL')

Try it like this:

=IF(COUNTIF(B3:B6,"N"),"FAIL","")


--
Biff
Microsoft Excel MVP


"Mitchell_Collen via OfficeKB.com" <u33726@uwe wrote in message
news:90942e7980d51@uwe...
Hi.
I have a worksheet full of tasks that I want to keep track their test
result.
I want to put a formula in the cell adjacent to every TaskTitle. This
formula
will be used to scan all the tasks for that TaskTitle and check if any of
them contain an 'F' value. Most will have a 'Y' value. If there is at
least
one 'F' then I want the cell adjacent to the TaskTitle to show 'FAIL'. Do
you
know how to make this formula work? It will not work for me. Thanks. MC

Tasks | Results

taskTitle0 =IF((B3:B6)='N'), 'FAIL')
task1 Y
task2 Y
task3 Y
task4 Y
taskTitle4 =IF((B8:B11)='N'), 'FAIL')
task1 Y
task2 N
task3 Y
task4 Y

--
Misty :-)

Message posted via http://www.officekb.com



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default IF function not working =IF((B3:B6)='N'), 'FAIL')

hi
small syntax problem plus...
try this..
=IF(COUNTIF(B7:B10,"N")0,"Fail","Not")

regards
FSt1

"Mitchell_Collen via OfficeKB.com" wrote:

Hi.
I have a worksheet full of tasks that I want to keep track their test result.
I want to put a formula in the cell adjacent to every TaskTitle. This formula
will be used to scan all the tasks for that TaskTitle and check if any of
them contain an 'F' value. Most will have a 'Y' value. If there is at least
one 'F' then I want the cell adjacent to the TaskTitle to show 'FAIL'. Do you
know how to make this formula work? It will not work for me. Thanks. MC

Tasks | Results

taskTitle0 =IF((B3:B6)='N'), 'FAIL')
task1 Y
task2 Y
task3 Y
task4 Y
taskTitle4 =IF((B8:B11)='N'), 'FAIL')
task1 Y
task2 N
task3 Y
task4 Y

--
Misty :-)

Message posted via http://www.officekb.com


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
ISBLANK function not working when cell is blank dut to function re mcmilja Excel Discussion (Misc queries) 9 May 7th 23 03:43 AM
Templates Fail Brian Excel Discussion (Misc queries) 0 November 15th 06 07:18 PM
Excel fail to launch George Excel Discussion (Misc queries) 0 September 28th 05 03:35 AM
Links to 2nd closed worksheet fail when using offset function ?? Jordan795 Excel Worksheet Functions 1 June 21st 05 01:43 AM
pass fail Tricia New Users to Excel 3 January 20th 05 03:45 PM


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