473,396 Members | 1,765 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

numerical cell entry problem

As my username implies, I am a wannabe tech assistant to my wife- she works from home with insurance issues while I offer a modest level of computer advice. Here;s the issue:
laying out a simple spreadsheet to record insurance claim data. claims are assigned sequential numbers all of which begin with 0 (zero) followed by 8-10 other digits. When we enter the complete number into a cell, the leading zero is always dropped when we move to another cell. I realize from a mathmatical standpoint the leading zero is meaningless unless it is part of a number that is representing a decimal (.01225) for example. But,we cannot alter the claim number; it is assigned- what is the solution here?
I would appreciate any and all suggestions

Lindasman
May 7 '07 #1
8 1161
Rabbit
12,516 Expert Mod 8TB
I'm assuming you're using Excel.

1) Select said cells.

2) Hit Ctrl+1.

3) On the Number tab, in the category list, select Text.

4) Put the leading zeroes back.
May 7 '07 #2
I'm assuming you're using Excel.

1) Select said cells.

2) Hit Ctrl+1.

3) On the Number tab, in the category list, select Text.

4) Put the leading zeroes back.
Thanks for the quick reply- yes it is Excel; I'll try what you suggested.
May 7 '07 #3
Easier: precede each entry with a double quote (") when you enter it, thus making it right-justified text in the first place. No need to add in leading zeros or whatever. Thus for 00012345 enter "00012345 (double quote only at beginning). Works in any spreadsheet program!
May 9 '07 #4
Rabbit
12,516 Expert Mod 8TB
Easier: precede each entry with a double quote (") when you enter it, thus making it right-justified text in the first place. No need to add in leading zeros or whatever. Thus for 00012345 enter "00012345 (double quote only at beginning). Works in any spreadsheet program!
In this case he still has to go back and change the values by adding '' and the leading zeroes.

By formatting the cells, or better yet, the entire column if that's the only data going into that column, he will never have to precede it with ''.
May 9 '07 #5
Rabbit, your solution is fine if he wants to edit away the mistakes he made by entering the stuff as numbers.

My point is that If he enters the values preceded by a double quote when he first enters them, then he doesn't have to fiddle around and edit leading zeros later. If the entries are text from the beginning, then these problems can't arise. Why ask for mistakes by starting out wrong??
May 15 '07 #6
Rabbit
12,516 Expert Mod 8TB
And I'm saying if he formats the field as text before he first enters them then he won't have to bother with typing '' before each entry.
May 15 '07 #7
phytorion
116 100+
And I'm saying if he formats the field as text before he first enters them then he won't have to bother with typing '' before each entry.
With your method he could just format the whole column and be done with it. The only extra step would be ignoring the error generated from putting a number in a text field which again can be ignored by highlighting the whole column then ignoring the error.
May 16 '07 #8
Rabbit
12,516 Expert Mod 8TB
Moved the thread to the appropriate forum.
May 17 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

31
by: Arthur Shapiro | last post by:
I'm the webmaster for a recreational organization. As part of one page of the site, I have an HTML "Calendar at a Glance" of the organization's events for the month. It's a simple table of a...
2
by: Kyle Friesen via AccessMonster.com | last post by:
Hello, I have two fields (Customer and Product) which I need to track or assign an "ID number" to. For example, when Customer A has its first Product Y entry, then AY1. When Customer B has its first...
5
by: Edward Hua | last post by:
Hi, I'm wondering if anybody has ever copied the quicksort algorithm from the book Numerical Recipes in C: The Art of Scientific Computing (2nd ed.), by Press, Teukolsky, Vetterling, and...
6
by: tshad | last post by:
I have a cell with 2 items in it: a textbox and a link. The link is actually a button (image), but for the example I am using a link, which is doing the same thing. Here is the stripped down...
8
by: jaYPee | last post by:
i have downloaded the sample of cell by cell validation from this site http://www.syncfusion.com/faq/winforms/search/773.asp but it is a c sharp. anyone have a vb version of this sample program?
6
by: tshad | last post by:
If you have nothing in a cell, the cell doesn't have the inset appearance that all the other cells do. Normally, you could just put a "&ndsp;" in the cell if the it is blank. But how do you do...
6
TMS
by: TMS | last post by:
This spreadsheet is almost done, but there is some functionality that is driving me nuts. For instance: a cell, for instance 'a0' is to have 'a0' as a string, but if something is entered like...
3
by: Bill Gower | last post by:
I have an cell which contains a field member which is filled with String.Empty. When I retrieve the value in the cell with Cells.Text.ToString() and try to compare it to String.Empty, I can't...
2
by: lee.walczak | last post by:
Hi, I am using Tkinter & the Kevin Walzer's TableList Wrapper for python implemented GUI: http://tkinter.unpythonic.net/wiki/TableListWrapper The TableList has been extremely useful in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.