If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Comparing #Ref! value

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-25-08, 13:31
ontheDB ontheDB is offline
Registered User
 
Join Date: Sep 2003
Posts: 80
Comparing #Ref! value

In an Excel sheet cell, what is the formula to compare a value to the '#Ref!' or '#Name?' values ?


For instance, for the forumla:
=IF(C8=#Ref!,0,E8/C8)

what would be the correct syntax?
Reply With Quote
  #2 (permalink)  
Old 06-26-08, 08:12
MikeTheBike MikeTheBike is offline
Registered User
 
Join Date: Apr 2004
Location: Derbyshire, UK
Posts: 714
Hi

There are a couple of of 'ISEROR' functons but perhaps the one you want is

=ERROR.TYPE(C8)

This function returns a number depending on the error.
However, if there is no error this function returns an error, so it will need an if statment to check that there is an error !!??

Try searching in Excel help


MTB

Last edited by MikeTheBike; 06-26-08 at 08:21.
Reply With Quote
  #3 (permalink)  
Old 09-23-08, 12:12
weejas weejas is offline
Registered User
 
Join Date: Sep 2006
Location: Surrey, UK
Posts: 448
I have a suite of forms that pull data through to a printable sheet from a data entry sheet that rather heavily use:
=IF(ISERROR([OtherFunction]),"",[OtherFunction])
where [OtherFunction] is frequently a VLOOKUP call to translate user input into computer input.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On