Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default Automaticallychanging the number of decimal places displayed

Using Excel 2002, I have created a form for others at work to use.
Depending on the circumstances, sometimes it is best to show the data
entered in AA21:AA200 with 5 decimal places, sometimes 3, sometimes 2,
or 1, or zero. Is there some way the user could enter the number of
decimal places desired in a cell or whatever so that the number of
decimal places displayed in these cells automatically change to
display that number of decimal places? Other cells in the sheet are
fixed at zero, or 1, 2, etc.

As always, thanks to all!

Tonso

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default Automaticallychanging the number of decimal places displayed

=ROUND(AA21,B$1)
--
David Biddulph

"Tonso" wrote in message
ups.com...
Using Excel 2002, I have created a form for others at work to use.
Depending on the circumstances, sometimes it is best to show the data
entered in AA21:AA200 with 5 decimal places, sometimes 3, sometimes 2,
or 1, or zero. Is there some way the user could enter the number of
decimal places desired in a cell or whatever so that the number of
decimal places displayed in these cells automatically change to
display that number of decimal places? Other cells in the sheet are
fixed at zero, or 1, 2, etc.

As always, thanks to all!

Tonso



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default Automaticallychanging the number of decimal places displayed

On Feb 15, 5:07 pm, "David Biddulph" wrote:
=ROUND(AA21,B$1)
--
David Biddulph

"Tonso" wrote in message

ups.com...



Using Excel 2002, I have created a form for others at work to use.
Depending on the circumstances, sometimes it is best to show the data
entered in AA21:AA200 with 5 decimal places, sometimes 3, sometimes 2,
or 1, or zero. Is there some way the user could enter the number of
decimal places desired in a cell or whatever so that the number of
decimal places displayed in these cells automatically change to
display that number of decimal places? Other cells in the sheet are
fixed at zero, or 1, 2, etc.


As always, thanks to all!


Tonso- Hide quoted text -


- Show quoted text -


I am so sorry, l but I do not understand. If I put that formula in a
cell, will it not be overwritten when the user enters a number into
that cell? The cells i am referring to are data entry cells. Tthe user
can of course just select all the cells and change the format to the
desired decimal places, but i was looking to automate that activity.
Thanks,

Tonso

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 623
Default Automaticallychanging the number of decimal places displayed

You asked "is there some way the user could enter the number of decimal places".

David answered.

What more do you want?

After the user enters the number of decimal places, store it in a place where
they won't override it. It doesn't have to be B1. Pick whatever cell you like,
and adjust the formula to suit.

--
Regards,
Fred


"Tonso" wrote in message
ups.com...
On Feb 15, 5:07 pm, "David Biddulph" wrote:
=ROUND(AA21,B$1)
--
David Biddulph

"Tonso" wrote in message

ups.com...



Using Excel 2002, I have created a form for others at work to use.
Depending on the circumstances, sometimes it is best to show the data
entered in AA21:AA200 with 5 decimal places, sometimes 3, sometimes 2,
or 1, or zero. Is there some way the user could enter the number of
decimal places desired in a cell or whatever so that the number of
decimal places displayed in these cells automatically change to
display that number of decimal places? Other cells in the sheet are
fixed at zero, or 1, 2, etc.


As always, thanks to all!


Tonso- Hide quoted text -


- Show quoted text -


I am so sorry, l but I do not understand. If I put that formula in a
cell, will it not be overwritten when the user enters a number into
that cell? The cells i am referring to are data entry cells. Tthe user
can of course just select all the cells and change the format to the
desired decimal places, but i was looking to automate that activity.
Thanks,

Tonso



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Automaticallychanging the number of decimal places displayed

The default toolbar displays 2 icons for increasing and decreasing decimal
places.

Simply have your users select the cells to change, and click on the icons,
where each click will increase or decrease the decimals in the selected
cells by 1.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Tonso" wrote in message
ups.com...
On Feb 15, 5:07 pm, "David Biddulph" wrote:
=ROUND(AA21,B$1)
--
David Biddulph

"Tonso" wrote in message

ups.com...



Using Excel 2002, I have created a form for others at work to use.
Depending on the circumstances, sometimes it is best to show the data
entered in AA21:AA200 with 5 decimal places, sometimes 3, sometimes 2,
or 1, or zero. Is there some way the user could enter the number of
decimal places desired in a cell or whatever so that the number of
decimal places displayed in these cells automatically change to
display that number of decimal places? Other cells in the sheet are
fixed at zero, or 1, 2, etc.


As always, thanks to all!


Tonso- Hide quoted text -


- Show quoted text -


I am so sorry, l but I do not understand. If I put that formula in a
cell, will it not be overwritten when the user enters a number into
that cell? The cells i am referring to are data entry cells. Tthe user
can of course just select all the cells and change the format to the
desired decimal places, but i was looking to automate that activity.
Thanks,

Tonso





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default Automaticallychanging the number of decimal places displayed

On Feb 15, 8:58 pm, "Ragdyer" wrote:
The default toolbar displays 2 icons for increasing and decreasing decimal
places.

Simply have your users select the cells to change, and click on the icons,
where each click will increase or decrease the decimals in the selected
cells by 1.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------"Tonso" wrote in message

ups.com...



On Feb 15, 5:07 pm, "David Biddulph" wrote:
=ROUND(AA21,B$1)
--
David Biddulph


"Tonso" wrote in message


roups.com...


Using Excel 2002, I have created a form for others at work to use.
Depending on the circumstances, sometimes it is best to show the data
entered in AA21:AA200 with 5 decimal places, sometimes 3, sometimes 2,
or 1, or zero. Is there some way the user could enter the number of
decimal places desired in a cell or whatever so that the number of
decimal places displayed in these cells automatically change to
display that number of decimal places? Other cells in the sheet are
fixed at zero, or 1, 2, etc.


As always, thanks to all!


Tonso- Hide quoted text -


- Show quoted text -


I am so sorry, l but I do not understand. If I put that formula in a
cell, will it not be overwritten when the user enters a number into
that cell? The cells i am referring to are data entry cells. Tthe user
can of course just select all the cells and change the format to the
desired decimal places, but i was looking to automate that activity.
Thanks,


Tonso- Hide quoted text -


- Show quoted text -


Thanks to all for the great responses! As usual, you have solved my
problem!

Tonso

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
Setting the number of decimal places for a text box. Aaron1978 Excel Discussion (Misc queries) 3 March 8th 06 04:59 PM
how to count the number of decimal places in a cell? Warren Smith Excel Worksheet Functions 7 August 28th 05 01:52 PM
Converting a number to 2 decimal places mattslav Excel Discussion (Misc queries) 2 June 4th 05 04:10 AM
How do I change the number of decimal places displayed in Excel Dan Excel Discussion (Misc queries) 1 February 23rd 05 10:31 PM
Number Format Issues-Decimal Places EXCELNCBOY Excel Worksheet Functions 1 November 4th 04 10:41 PM


All times are GMT +1. The time now is 12:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"