Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
vipa2000
 
Posts: n/a
Default #div/0! how do i supress?

On one of my worksheets I am creating a standard report that is doing quite a
number of calculations. On occassions my data in certain areas will be null.
For example cell H34 is returning the error because it has been looking for
type 5 priorities and there are none. I am a fussy person and want to
suppress the error message as it looks untidy. I have looked at a few threads
and cannot quite find one that sorts this out. Thanks up front to all you
patient people out there that take your time out to help others.
--
Regards vipa
  #2   Report Post  
Anne Troy
 
Posts: n/a
Default

Hi, Vipa. It's ever so helpful to provide an edited formula if we have your
original formula, but here's a shot at it:

=if(iserror(yourformula),"",yourformula)
*******************
~Anne Troy

www.OfficeArticles.com


"vipa2000" wrote in message
...
On one of my worksheets I am creating a standard report that is doing

quite a
number of calculations. On occassions my data in certain areas will be

null.
For example cell H34 is returning the error because it has been looking

for
type 5 priorities and there are none. I am a fussy person and want to
suppress the error message as it looks untidy. I have looked at a few

threads
and cannot quite find one that sorts this out. Thanks up front to all you
patient people out there that take your time out to help others.
--
Regards vipa



  #3   Report Post  
KL
 
Posts: n/a
Default

Hi vipa,

Could you please show the formula that returns the error to be surpressed?

Thx,
KL


"vipa2000" wrote in message
...
On one of my worksheets I am creating a standard report that is doing
quite a
number of calculations. On occassions my data in certain areas will be
null.
For example cell H34 is returning the error because it has been looking
for
type 5 priorities and there are none. I am a fussy person and want to
suppress the error message as it looks untidy. I have looked at a few
threads
and cannot quite find one that sorts this out. Thanks up front to all you
patient people out there that take your time out to help others.
--
Regards vipa



  #4   Report Post  
vipa2000
 
Posts: n/a
Default

Sorry KL and Anne, did not think in this instance it would be as critical.

cell h34 contains: =$H32/$H31

h32 =
=SUMPRODUCT((Sheet1!$C$2:$C$30000=5)*(Sheet1!$D$2: $D$30000="")*(MONTH(Sheet1!$I$2:$I$30000)=$F3)*(YE AR(Sheet1!$I$2:$I$30000)=$H3)*ISNUMBER(SEARCH({"*T ECO*","*CLSD*"},Sheet1!$E$2:$E$30000)))

KL you might recognise it!

h31 = h9 which is the result of
=SUMPRODUCT(--(Sheet1!$C$2:$C$30000=5),--(Sheet1!$D$2:$D$30000=""),--(MONTH(Sheet1!$I$2:$I$30000)=F3),--(YEAR(Sheet1!$I$2:$I$30000)=H3))

--
Regards vipa


"KL" wrote:

Hi vipa,

Could you please show the formula that returns the error to be surpressed?

Thx,
KL


"vipa2000" wrote in message
...
On one of my worksheets I am creating a standard report that is doing
quite a
number of calculations. On occassions my data in certain areas will be
null.
For example cell H34 is returning the error because it has been looking
for
type 5 priorities and there are none. I am a fussy person and want to
suppress the error message as it looks untidy. I have looked at a few
threads
and cannot quite find one that sorts this out. Thanks up front to all you
patient people out there that take your time out to help others.
--
Regards vipa




  #5   Report Post  
vipa2000
 
Posts: n/a
Default

Hi Anne

please see respone to KL
--
Regards vipa


"Anne Troy" wrote:

Hi, Vipa. It's ever so helpful to provide an edited formula if we have your
original formula, but here's a shot at it:

=if(iserror(yourformula),"",yourformula)
*******************
~Anne Troy

www.OfficeArticles.com


"vipa2000" wrote in message
...
On one of my worksheets I am creating a standard report that is doing

quite a
number of calculations. On occassions my data in certain areas will be

null.
For example cell H34 is returning the error because it has been looking

for
type 5 priorities and there are none. I am a fussy person and want to
suppress the error message as it looks untidy. I have looked at a few

threads
and cannot quite find one that sorts this out. Thanks up front to all you
patient people out there that take your time out to help others.
--
Regards vipa






  #6   Report Post  
KL
 
Posts: n/a
Default

Hi vipa,

Generally Anne's solution is the one to use. However, in this case it can be
slightly shorter:

=IF($H31,$H32/$H31,0)

Regards,
KL


"vipa2000" wrote in message
...
Sorry KL and Anne, did not think in this instance it would be as critical.

cell h34 contains: =$H32/$H31

h32 =
=SUMPRODUCT((Sheet1!$C$2:$C$30000=5)*(Sheet1!$D$2: $D$30000="")*(MONTH(Sheet1!$I$2:$I$30000)=$F3)*(YE AR(Sheet1!$I$2:$I$30000)=$H3)*ISNUMBER(SEARCH({"*T ECO*","*CLSD*"},Sheet1!$E$2:$E$30000)))

KL you might recognise it!

h31 = h9 which is the result of
=SUMPRODUCT(--(Sheet1!$C$2:$C$30000=5),--(Sheet1!$D$2:$D$30000=""),--(MONTH(Sheet1!$I$2:$I$30000)=F3),--(YEAR(Sheet1!$I$2:$I$30000)=H3))

--
Regards vipa


"KL" wrote:

Hi vipa,

Could you please show the formula that returns the error to be
surpressed?

Thx,
KL


"vipa2000" wrote in message
...
On one of my worksheets I am creating a standard report that is doing
quite a
number of calculations. On occassions my data in certain areas will be
null.
For example cell H34 is returning the error because it has been looking
for
type 5 priorities and there are none. I am a fussy person and want to
suppress the error message as it looks untidy. I have looked at a few
threads
and cannot quite find one that sorts this out. Thanks up front to all
you
patient people out there that take your time out to help others.
--
Regards vipa






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
how to sum cells and ignore the #div/0! 's ? Todd Excel Worksheet Functions 6 April 25th 10 12:31 AM
#DIV/0!.......how to get rid of it renold1958 Excel Discussion (Misc queries) 7 July 17th 05 05:43 PM
replace "#DIV/0!" error with blanks Mark B Excel Worksheet Functions 0 June 22nd 05 10:19 AM
# DIV/0! error in Excel Helpwanted Excel Discussion (Misc queries) 8 May 6th 05 09:31 PM
blank instead of DIV/0! bill gras Excel Discussion (Misc queries) 2 March 21st 05 01:43 PM


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