Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 201
Default Number display in formula bar

Excel 2002, WinXP
In VBA I calculate a number as .32123. The code rounds that number to 3
places and puts the number in a cell that is formatted to Percentage.
The cell displays 32.0%.
But the formula bar displays 32%.
Question: Is there any way to get the formula bar to display the same as
the cell, 32.0% ?

Thanks for your help. Otto


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 201
Default Number display in formula bar

Oops. The original number should be .320123. Otto
"Otto Moehrbach" wrote in message
...
Excel 2002, WinXP
In VBA I calculate a number as .32123. The code rounds that number to 3
places and puts the number in a cell that is formatted to Percentage.
The cell displays 32.0%.
But the formula bar displays 32%.
Question: Is there any way to get the formula bar to display the same as
the cell, 32.0% ?

Thanks for your help. Otto




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Number display in formula bar

You cannot format the formula bar. It displays what is really in the cell.
What you see in a cell itself can be formatted so is not necessarily the
same.

--
Jim Rech
Excel MVP
"Otto Moehrbach" wrote in message
...
| Oops. The original number should be .320123. Otto
| "Otto Moehrbach" wrote in message
| ...
| Excel 2002, WinXP
| In VBA I calculate a number as .32123. The code rounds that number to 3
| places and puts the number in a cell that is formatted to Percentage.
| The cell displays 32.0%.
| But the formula bar displays 32%.
| Question: Is there any way to get the formula bar to display the same
as
| the cell, 32.0% ?
|
| Thanks for your help. Otto
|
|
|
|


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 201
Default Number display in formula bar

Thanks Jim. That's what I thought it would be. Otto
"Jim Rech" wrote in message
...
You cannot format the formula bar. It displays what is really in the

cell.
What you see in a cell itself can be formatted so is not necessarily the
same.

--
Jim Rech
Excel MVP
"Otto Moehrbach" wrote in message
...
| Oops. The original number should be .320123. Otto
| "Otto Moehrbach" wrote in message
| ...
| Excel 2002, WinXP
| In VBA I calculate a number as .32123. The code rounds that number to

3
| places and puts the number in a cell that is formatted to Percentage.
| The cell displays 32.0%.
| But the formula bar displays 32%.
| Question: Is there any way to get the formula bar to display the same
as
| the cell, 32.0% ?
|
| Thanks for your help. Otto
|
|
|
|




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 to display just number and not text edeaston1983 Excel Discussion (Misc queries) 3 March 25th 09 11:43 AM
how to display rounded number in a cell w/formula Hershey Excel Discussion (Misc queries) 4 June 8th 07 08:41 PM
DISPLAY A FIXED NUMBER IF GREATER THAN FORMULA RESULTS Peter Excel Discussion (Misc queries) 7 January 23rd 07 05:18 PM
Formula to display the row number above? [email protected] Excel Worksheet Functions 1 May 26th 06 09:01 PM
display total above certain number and display MGD Excel Discussion (Misc queries) 3 March 4th 06 05:03 PM


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