LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
bac bac is offline
external usenet poster
 
Posts: 76
Default Cell has a value of #N/A when the formula refers to nothing

But what if A5 is not empty, but rather has something other than a number in
it including another error message??..

try:

=if(iserror(2*A5),"",2*A5)

if 2*A5 returns an error for any reason, make this cell empty,
otherwise make it 2*A5



"Man Utd" wrote:

Thank you Gord.

=If(A5="","",2*A5)

If A5 is empty, return nothing.

If A5 has a value, return 2*A5




 
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
I need to create a link that refers to the cell Dee New Users to Excel 1 August 27th 09 02:10 PM
macro than refers to a cell? jackrobyn1 Excel Discussion (Misc queries) 1 June 18th 08 11:01 PM
How do I keep the format of a cell that an if statment refers to? Gerardo Excel Discussion (Misc queries) 1 March 10th 05 05:49 PM
How can I keep the original value in a cell that refers to anothe. KentHuff Excel Worksheet Functions 1 February 2nd 05 09:28 PM
List ranges a formula refers to KL[_5_] Excel Programming 0 November 23rd 04 09:56 PM


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