Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Hiding error values in cells

Is it possible to hide the value of a cell if the cell throws up an error
message such as #N/A.

I have a workbook in which I have a formula that will fill a specific cell
based on scores in another couple of cells. Because the cells are not filled
until assessments are graded the formula automatically inserts #N/A as the
formula conditions are not met. The specific formula is :

=IF(COUNTA(D7:E7)<2,"",IF(AND(ISNUMBER(O7),O7<43), "F",LOOKUP(C7,{43;50;65;75;85},{"PC";"P";"C";"D";" HD"})))

Cells D7 and E7 are where the grades end up from another worksheet. I dont
want the #N/A to appear as it makes the sheet appear untidy.

I have a similar situation in the other sheets where based on the formula:

=IF('DO NOT DELETE'!C384.99,"HD",IF('DO NOT DELETE'!C374.99,"D",IF('DO NOT
DELETE'!C364.99,"C",IF('DO NOT DELETE'!C349.99,"P",IF('DO NOT
DELETE'!C342.99,"PC",IF('DO NOT DELETE'!C3=0,"F"))))))

where this formula automatically assigns a fail grade to every student
automatically until I enter the grades received. I would much prefer the
sheet left the cell blanjk rather than put an F in the cell until it was
completed through the process of the formula assigning it through grades.

Is there some way of stopping this occurring until the cell is filled
correctly.

In both aspects I would prefer the cell remained empty to reduce the risk of
errors and to tidy up the appearance of the sheet esstially.

Thanks

Brian
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Hiding error values in cells

Use conditional formatting with a formula of

=ISERROR(A1)

and set the font colour to white.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"brisen09" wrote in message
...
Is it possible to hide the value of a cell if the cell throws up an error
message such as #N/A.

I have a workbook in which I have a formula that will fill a specific cell
based on scores in another couple of cells. Because the cells are not

filled
until assessments are graded the formula automatically inserts #N/A as the
formula conditions are not met. The specific formula is :


=IF(COUNTA(D7:E7)<2,"",IF(AND(ISNUMBER(O7),O7<43), "F",LOOKUP(C7,{43;50;65;75
;85},{"PC";"P";"C";"D";"HD"})))

Cells D7 and E7 are where the grades end up from another worksheet. I dont
want the #N/A to appear as it makes the sheet appear untidy.

I have a similar situation in the other sheets where based on the formula:

=IF('DO NOT DELETE'!C384.99,"HD",IF('DO NOT DELETE'!C374.99,"D",IF('DO

NOT
DELETE'!C364.99,"C",IF('DO NOT DELETE'!C349.99,"P",IF('DO NOT
DELETE'!C342.99,"PC",IF('DO NOT DELETE'!C3=0,"F"))))))

where this formula automatically assigns a fail grade to every student
automatically until I enter the grades received. I would much prefer the
sheet left the cell blanjk rather than put an F in the cell until it was
completed through the process of the formula assigning it through grades.

Is there some way of stopping this occurring until the cell is filled
correctly.

In both aspects I would prefer the cell remained empty to reduce the risk

of
errors and to tidy up the appearance of the sheet esstially.

Thanks

Brian



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
hiding blank cells when no results andyell Excel Worksheet Functions 2 July 14th 06 03:58 PM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
how do i protect cells in a shared worksheet Debi Excel Discussion (Misc queries) 3 September 30th 05 11:15 PM
Hiding cells on condition Pennington Excel Worksheet Functions 19 April 21st 05 12:30 AM
Hiding Formula in cells thrava Excel Discussion (Misc queries) 2 December 23rd 04 12:42 AM


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