ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   IF Question (https://www.excelbanter.com/excel-discussion-misc-queries/89650-if-question.html)

Serge

IF Question
 
I am creating a spreadsheet for solving "Solution of Triangles).
For the most part everything works well except for one situation.

In: B51 (Angle A)--------------J51 (Angle B)
So in J51 the formula is "=B51-90"
It works as long as there is data in B51. But when the cell is empty the
answer I get is 90 with the degree symbol because the cell is formated to
show the answer with the degree symbol.
How can this formula in J51 be modified to show an empty cell when B51 has
no input yet?

Many Thanks in advance.
Serge

Serge

IF Question
 
J51 should have read "=90-B51"

"Serge" wrote:

I am creating a spreadsheet for solving "Solution of Triangles).
For the most part everything works well except for one situation.

In: B51 (Angle A)--------------J51 (Angle B)
So in J51 the formula is "=B51-90"
It works as long as there is data in B51. But when the cell is empty the
answer I get is 90 with the degree symbol because the cell is formated to
show the answer with the degree symbol.
How can this formula in J51 be modified to show an empty cell when B51 has
no input yet?

Many Thanks in advance.
Serge


Biff

IF Question
 
Hi Serge!

Try this:

=IF(B51="","",B51-90)

Biff

"Serge" wrote in message
...
I am creating a spreadsheet for solving "Solution of Triangles).
For the most part everything works well except for one situation.

In: B51 (Angle A)--------------J51 (Angle B)
So in J51 the formula is "=B51-90"
It works as long as there is data in B51. But when the cell is empty the
answer I get is 90 with the degree symbol because the cell is formated to
show the answer with the degree symbol.
How can this formula in J51 be modified to show an empty cell when B51 has
no input yet?

Many Thanks in advance.
Serge




Serge

IF Question
 
Hello Biff,
You always seem to be there for my rescue.
Thank you so much.
Serge J.

"Biff" wrote:

Hi Serge!

Try this:

=IF(B51="","",B51-90)

Biff

"Serge" wrote in message
...
I am creating a spreadsheet for solving "Solution of Triangles).
For the most part everything works well except for one situation.

In: B51 (Angle A)--------------J51 (Angle B)
So in J51 the formula is "=B51-90"
It works as long as there is data in B51. But when the cell is empty the
answer I get is 90 with the degree symbol because the cell is formated to
show the answer with the degree symbol.
How can this formula in J51 be modified to show an empty cell when B51 has
no input yet?

Many Thanks in advance.
Serge





Biff

IF Question
 
You're welcome. Thanks for the feedback!

Biff

"Serge" wrote in message
...
Hello Biff,
You always seem to be there for my rescue.
Thank you so much.
Serge J.

"Biff" wrote:

Hi Serge!

Try this:

=IF(B51="","",B51-90)

Biff

"Serge" wrote in message
...
I am creating a spreadsheet for solving "Solution of Triangles).
For the most part everything works well except for one situation.

In: B51 (Angle A)--------------J51 (Angle B)
So in J51 the formula is "=B51-90"
It works as long as there is data in B51. But when the cell is empty
the
answer I get is 90 with the degree symbol because the cell is formated
to
show the answer with the degree symbol.
How can this formula in J51 be modified to show an empty cell when B51
has
no input yet?

Many Thanks in advance.
Serge








All times are GMT +1. The time now is 10:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com