Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tuph
 
Posts: n/a
Default ERROR.TYPE formula problem


I am trying to create a formula which will leave a cell empty if it's
dividing by zero, or give me a result if there are numbers in the
referenced cells. It seems simple enough, but I can't get it to work.

My formula looks like this:

=IF(ERROR.TYPE(E13/E2)0,"DUD",E13/E2)

If there are no numbers in E13 and/or E2 it returns DUD, but if I put a
number into either or both of E13 and E2, I get a #N/A error. I have
tried formatting the cells specifically as numbers and as general but
this hasn't made any difference.

HELP!!!

Trish


--
tuph
------------------------------------------------------------------------
tuph's Profile: http://www.excelforum.com/member.php...o&userid=31390
View this thread: http://www.excelforum.com/showthread...hreadid=544947

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default ERROR.TYPE formula problem

Hi!

Just test for 0:

=IF(E2=0,"",E13/E2)

Biff

"tuph" wrote in message
...

I am trying to create a formula which will leave a cell empty if it's
dividing by zero, or give me a result if there are numbers in the
referenced cells. It seems simple enough, but I can't get it to work.

My formula looks like this:

=IF(ERROR.TYPE(E13/E2)0,"DUD",E13/E2)

If there are no numbers in E13 and/or E2 it returns DUD, but if I put a
number into either or both of E13 and E2, I get a #N/A error. I have
tried formatting the cells specifically as numbers and as general but
this hasn't made any difference.

HELP!!!

Trish


--
tuph
------------------------------------------------------------------------
tuph's Profile:
http://www.excelforum.com/member.php...o&userid=31390
View this thread: http://www.excelforum.com/showthread...hreadid=544947



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tuph
 
Posts: n/a
Default ERROR.TYPE formula problem


Thanks, Biff! I knew it had to be simple


--
tuph
------------------------------------------------------------------------
tuph's Profile: http://www.excelforum.com/member.php...o&userid=31390
View this thread: http://www.excelforum.com/showthread...hreadid=544947

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default ERROR.TYPE formula problem

You're welcome!

Biff

"tuph" wrote in message
...

Thanks, Biff! I knew it had to be simple


--
tuph
------------------------------------------------------------------------
tuph's Profile:
http://www.excelforum.com/member.php...o&userid=31390
View this thread: http://www.excelforum.com/showthread...hreadid=544947



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
formula percentage problem thinkpic New Users to Excel 4 November 2nd 05 08:04 PM
formula problem Bart New Users to Excel 4 October 21st 05 12:56 PM
problem with Array Formula OrdOff Excel Worksheet Functions 2 June 30th 05 04:57 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Baffling formula problem Ken Schmidt Excel Discussion (Misc queries) 2 December 21st 04 07:52 AM


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