Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 237
Default Percent Format

In a worksheet in various cells I have values. Some
values need to be converted to percents, but when I right
click a cell on the spreadsheet and use the format
function, the percent format is all messed up.
For instance, lets use the following number that is
located in cell A1...
4.992867332

When I change the format to percent and try to round 2
places (like I want to round) it produces the value 499.28
percent. This is wrong. I need it to say 4.99 percent.

Is there some code that I can use to specifiy for any
value in cell A1, it be converted to XX.XX% format?


Thank you

Todd Huttenstine
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Percent Format

You can set the cell's number format to

0.00"%


----- Todd Huttenstine wrote: ----

In a worksheet in various cells I have values. Some
values need to be converted to percents, but when I right
click a cell on the spreadsheet and use the format
function, the percent format is all messed up
For instance, lets use the following number that is
located in cell A1..
4.99286733

When I change the format to percent and try to round 2
places (like I want to round) it produces the value 499.28
percent. This is wrong. I need it to say 4.99 percent

Is there some code that I can use to specifiy for any
value in cell A1, it be converted to XX.XX% format


Thank yo

Todd Huttenstin

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 237
Default Percent Format

Thanx, it worked.


-----Original Message-----
You can set the cell's number format to :

0.00"%"


----- Todd Huttenstine wrote: -----

In a worksheet in various cells I have values. Some
values need to be converted to percents, but when I

right
click a cell on the spreadsheet and use the format
function, the percent format is all messed up.
For instance, lets use the following number that is
located in cell A1...
4.992867332

When I change the format to percent and try to round

2
places (like I want to round) it produces the value

499.28
percent. This is wrong. I need it to say 4.99

percent.

Is there some code that I can use to specifiy for

any
value in cell A1, it be converted to XX.XX% format?


Thank you

Todd Huttenstine

.

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
TextBox on a userform - format to currency & percent Terry Excel Discussion (Misc queries) 2 September 12th 08 02:46 PM
Custom Format - Percent jmuslim Excel Discussion (Misc queries) 3 February 21st 07 11:13 PM
Conditional format if a cell has a formula or if a percent or numb wrightlife11 Excel Discussion (Misc queries) 1 July 12th 06 04:55 AM
Custom percent format needed Will Fleenor Excel Worksheet Functions 1 June 29th 05 02:57 AM
How do I format a negative percent? Hawk186 Excel Discussion (Misc queries) 1 February 10th 05 09:02 PM


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