#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default DIV/0

I have a spreadsheet wherein i receive a CORRECT error message "DIV/0" such
as as follows:

A B C D E

1 10 5 0 0 10

2 3.00 =A3 =B3 =C3 =D3

3 =5/A1 + =5/B1 + =5/C1 + =5/D1 + =5/E1+
A2 B2 C2 D2 E2

3 3.50 4.50 DIV/0 DIV/0 5.00


I am keeping, eg, a rolling (running) average.

QUESTION: IS IT POSSIBLE, for my spreadsheet purpose only, TO ...

INSTEAD OF DISPLAYING "DIV/0", I can display, for example, a text message
such as..."NO CALC. POSSIBLE" ??

In other words, can I use the IF function to say...

=If(a3="DIV/0", "No Calc. Possible, a3)

Thanks,

FLKulchar
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default DIV/0

You can use "IsError" to get what you want.
=If(IsError(B1/C1),"NO CALC. POSSIBLE",B1/C1)

Charles Chickering

F. Lawrence Kulchar wrote:
I have a spreadsheet wherein i receive a CORRECT error message "DIV/0" such
as as follows:

A B C D E

1 10 5 0 0 10

2 3.00 =A3 =B3 =C3 =D3

3 =5/A1 + =5/B1 + =5/C1 + =5/D1 + =5/E1+
A2 B2 C2 D2 E2

3 3.50 4.50 DIV/0 DIV/0 5.00


I am keeping, eg, a rolling (running) average.

QUESTION: IS IT POSSIBLE, for my spreadsheet purpose only, TO ...

INSTEAD OF DISPLAYING "DIV/0", I can display, for example, a text message
such as..."NO CALC. POSSIBLE" ??

In other words, can I use the IF function to say...

=If(a3="DIV/0", "No Calc. Possible, a3)

Thanks,

FLKulchar


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default DIV/0

You can use =IF(ISERROR(A3),"No Calc Possible",<Some Calc)

NickHK

"F. Lawrence Kulchar" wrote in
message ...
I have a spreadsheet wherein i receive a CORRECT error message "DIV/0"

such
as as follows:

A B C D E

1 10 5 0 0 10

2 3.00 =A3 =B3 =C3 =D3

3 =5/A1 + =5/B1 + =5/C1 + =5/D1 + =5/E1+
A2 B2 C2 D2 E2

3 3.50 4.50 DIV/0 DIV/0 5.00


I am keeping, eg, a rolling (running) average.

QUESTION: IS IT POSSIBLE, for my spreadsheet purpose only, TO ...

INSTEAD OF DISPLAYING "DIV/0", I can display, for example, a text

message
such as..."NO CALC. POSSIBLE" ??

In other words, can I use the IF function to say...

=If(a3="DIV/0", "No Calc. Possible, a3)

Thanks,

FLKulchar



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default DIV/0

THANK YOU

"Die_Another_Day" wrote:

You can use "IsError" to get what you want.
=If(IsError(B1/C1),"NO CALC. POSSIBLE",B1/C1)

Charles Chickering

F. Lawrence Kulchar wrote:
I have a spreadsheet wherein i receive a CORRECT error message "DIV/0" such
as as follows:

A B C D E

1 10 5 0 0 10

2 3.00 =A3 =B3 =C3 =D3

3 =5/A1 + =5/B1 + =5/C1 + =5/D1 + =5/E1+
A2 B2 C2 D2 E2

3 3.50 4.50 DIV/0 DIV/0 5.00


I am keeping, eg, a rolling (running) average.

QUESTION: IS IT POSSIBLE, for my spreadsheet purpose only, TO ...

INSTEAD OF DISPLAYING "DIV/0", I can display, for example, a text message
such as..."NO CALC. POSSIBLE" ??

In other words, can I use the IF function to say...

=If(a3="DIV/0", "No Calc. Possible, a3)

Thanks,

FLKulchar



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default DIV/0

Thank you

"NickHK" wrote:

You can use =IF(ISERROR(A3),"No Calc Possible",<Some Calc)

NickHK

"F. Lawrence Kulchar" wrote in
message ...
I have a spreadsheet wherein i receive a CORRECT error message "DIV/0"

such
as as follows:

A B C D E

1 10 5 0 0 10

2 3.00 =A3 =B3 =C3 =D3

3 =5/A1 + =5/B1 + =5/C1 + =5/D1 + =5/E1+
A2 B2 C2 D2 E2

3 3.50 4.50 DIV/0 DIV/0 5.00


I am keeping, eg, a rolling (running) average.

QUESTION: IS IT POSSIBLE, for my spreadsheet purpose only, TO ...

INSTEAD OF DISPLAYING "DIV/0", I can display, for example, a text

message
such as..."NO CALC. POSSIBLE" ??

In other words, can I use the IF function to say...

=If(a3="DIV/0", "No Calc. Possible, a3)

Thanks,

FLKulchar






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default DIV/0

NickHK, this would create a circular reference since the formula needs to go
into cell A3.
Also: IsError catches ANY error, not just Div/0.

Why not simply IF(A1=0,"No Calc Possible",5/A1+A2)?

Cheers

Joerg



"NickHK" wrote in message
...
You can use =IF(ISERROR(A3),"No Calc Possible",<Some Calc)

NickHK

"F. Lawrence Kulchar" wrote

in
message ...
I have a spreadsheet wherein i receive a CORRECT error message "DIV/0"

such
as as follows:

A B C D E

1 10 5 0 0 10

2 3.00 =A3 =B3 =C3 =D3

3 =5/A1 + =5/B1 + =5/C1 + =5/D1 + =5/E1+
A2 B2 C2 D2 E2

3 3.50 4.50 DIV/0 DIV/0 5.00


I am keeping, eg, a rolling (running) average.

QUESTION: IS IT POSSIBLE, for my spreadsheet purpose only, TO ...

INSTEAD OF DISPLAYING "DIV/0", I can display, for example, a text

message
such as..."NO CALC. POSSIBLE" ??

In other words, can I use the IF function to say...

=If(a3="DIV/0", "No Calc. Possible, a3)

Thanks,

FLKulchar





  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default DIV/0

I didn't examine the OP's structure/data, just pointed out the existence of
ISERROR.
If the OP wishes to check the Help and/or other references that would be a
good thing.

As you say, there are other (better) ways of achieving the goal.

NickHK

"Joerg" wrote in message
...
NickHK, this would create a circular reference since the formula needs to

go
into cell A3.
Also: IsError catches ANY error, not just Div/0.

Why not simply IF(A1=0,"No Calc Possible",5/A1+A2)?

Cheers

Joerg



"NickHK" wrote in message
...
You can use =IF(ISERROR(A3),"No Calc Possible",<Some Calc)

NickHK

"F. Lawrence Kulchar" wrote

in
message ...
I have a spreadsheet wherein i receive a CORRECT error message "DIV/0"

such
as as follows:

A B C D E

1 10 5 0 0 10

2 3.00 =A3 =B3 =C3 =D3

3 =5/A1 + =5/B1 + =5/C1 + =5/D1 + =5/E1+
A2 B2 C2 D2 E2

3 3.50 4.50 DIV/0 DIV/0 5.00


I am keeping, eg, a rolling (running) average.

QUESTION: IS IT POSSIBLE, for my spreadsheet purpose only, TO ...

INSTEAD OF DISPLAYING "DIV/0", I can display, for example, a text

message
such as..."NO CALC. POSSIBLE" ??

In other words, can I use the IF function to say...

=If(a3="DIV/0", "No Calc. Possible, a3)

Thanks,

FLKulchar







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



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