Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default I want to enter a figure &excel makes last two digits decimals

for speeding up data entry I want to enter the figures without a decimal
point, and have excel make the last two digits decimals. e.g. key in 3925
which will desplay as 39.25. I've done this before but forget how! Its a
custom number format I think
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,069
Default I want to enter a figure &excel makes last two digits decimals

Toolsoptionsedit tabfixed decimals & set to 2 places
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"Jude" wrote:

for speeding up data entry I want to enter the figures without a decimal
point, and have excel make the last two digits decimals. e.g. key in 3925
which will desplay as 39.25. I've done this before but forget how! Its a
custom number format I think
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default I want to enter a figure &excel makes last two digits decimals

thanks that works. It must apply to the whole spreadsheet I guess. Suppose I
wanted just one column to behave in this way?

"John" wrote:

Toolsoptionsedit tabfixed decimals & set to 2 places
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"Jude" wrote:

for speeding up data entry I want to enter the figures without a decimal
point, and have excel make the last two digits decimals. e.g. key in 3925
which will desplay as 39.25. I've done this before but forget how! Its a
custom number format I think
Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default I want to enter a figure &excel makes last two digits decimals

=A1/100

Copy down as far as required


"Jude" wrote:

for speeding up data entry I want to enter the figures without a decimal
point, and have excel make the last two digits decimals. e.g. key in 3925
which will desplay as 39.25. I've done this before but forget how! Its a
custom number format I think
Thanks

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default I want to enter a figure &excel makes last two digits decimals

For one column you could use event code.

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Cells.Column = 1 Then
If Not IsNumeric(Target.Value) Then Exit Sub
On Error GoTo endit
Application.EnableEvents = False
With Target
.Value = .Value / 100
.NumberFormat = "0.00"
End With
End If
endit:
Application.EnableEvents = True
End Sub

Right-click on the sheet tab and "View Code". Copy/paste the code into that
sheet module.

As written, works only on Column A. Change the Column = 1 to whatever column
you wish.


Gord Dibben MS Excel MVP

On Tue, 20 Mar 2007 08:14:10 -0700, Jude wrote:

thanks that works. It must apply to the whole spreadsheet I guess. Suppose I
wanted just one column to behave in this way?

"John" wrote:

Toolsoptionsedit tabfixed decimals & set to 2 places
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"Jude" wrote:

for speeding up data entry I want to enter the figures without a decimal
point, and have excel make the last two digits decimals. e.g. key in 3925
which will desplay as 39.25. I've done this before but forget how! Its a
custom number format I think
Thanks


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
can't enter in excel some letters, or digits. Darius Excel Discussion (Misc queries) 1 February 2nd 07 08:40 PM
excel, how enter 15 digits in a cell without rounding off last? mike marcus Excel Worksheet Functions 3 August 24th 06 01:31 AM
Format monetary amount to 9 digits with No decimals without rounding [email protected] Excel Worksheet Functions 4 December 20th 05 11:14 PM
significant digits for decimals Raj Excel Worksheet Functions 7 November 4th 05 01:26 AM
How can I enter 8 digits in excel (eg 19710625) and get it to dis. Moira Excel Worksheet Functions 17 March 16th 05 11:13 PM


All times are GMT +1. The time now is 02:43 AM.

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"