ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Displaying symbol from inside a calculation (https://www.excelbanter.com/excel-worksheet-functions/143518-displaying-symbol-inside-calculation.html)

pdberger

Displaying symbol from inside a calculation
 
Good morning. I need professional help.

I would like to display a symbol, rather than a alphameric character, as the
result of an IF statement.

Something like:

=IF(A1="Y", (box with X in it), (box with no X in it))

I've tried using CHAR inside the IF statement, but just get an alphameric
character. I think I specified CHAR(113) for the box with no X, and got a
'q'.

Any help would be appreciated. Thanks in advance.

Peo Sjoblom

Displaying symbol from inside a calculation
 
If you format the cell with wingdings fonts you will get a square using char
113
if you want a check mark in a square use wingdings and char(252)


--
Regards,

Peo Sjoblom


"pdberger" wrote in message
...
Good morning. I need professional help.

I would like to display a symbol, rather than a alphameric character, as
the
result of an IF statement.

Something like:

=IF(A1="Y", (box with X in it), (box with no X in it))

I've tried using CHAR inside the IF statement, but just get an alphameric
character. I think I specified CHAR(113) for the box with no X, and got a
'q'.

Any help would be appreciated. Thanks in advance.





RagDyeR

Displaying symbol from inside a calculation
 
Change the font of the cell containing your formula to "WingDings"!

Then ALSO ... Char(120) will display a box with an "X".
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"pdberger" wrote in message
...
Good morning. I need professional help.

I would like to display a symbol, rather than a alphameric character, as the
result of an IF statement.

Something like:

=IF(A1="Y", (box with X in it), (box with no X in it))

I've tried using CHAR inside the IF statement, but just get an alphameric
character. I think I specified CHAR(113) for the box with no X, and got a
'q'.

Any help would be appreciated. Thanks in advance.



pdberger

Displaying symbol from inside a calculation
 
Thanks to you both!

"RagDyeR" wrote:

Change the font of the cell containing your formula to "WingDings"!

Then ALSO ... Char(120) will display a box with an "X".
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"pdberger" wrote in message
...
Good morning. I need professional help.

I would like to display a symbol, rather than a alphameric character, as the
result of an IF statement.

Something like:

=IF(A1="Y", (box with X in it), (box with no X in it))

I've tried using CHAR inside the IF statement, but just get an alphameric
character. I think I specified CHAR(113) for the box with no X, and got a
'q'.

Any help would be appreciated. Thanks in advance.





All times are GMT +1. The time now is 12:32 AM.

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