#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Data Validation?

Unfortunately, Excel cannot contain a 16 character number in one cell. An
alternative is to split the number into either 4 digits in 4 cells or 8 in 2
cells. though, changing to text may be the simplest idea.

"Jamie" wrote:

I have a form that contains credit card numbers. I have set up a validation
block to hold those numbers, however, Ive run into a problem with Excel
simply changing the last digit. IE: 4000120078135436, becomes
4000120078135430. Ive tried setting the validation up thusly:

Allow whole number 0
Allow whole number 9
Allow whole number between 0, 9999999999999999
Allow whole number between 0, 99999999999999999
Allow whole number between 0, 0000000000000000
Allow Any Value, with the cell formatted to Custom, 0000000000000000

Nothing is keeping the number the way it was originally typed. If I set the
validation to text, it will alleviate the problem of the number being right,
however it will defeat the purpose of creating a cell to hold only numbers.
(BTW: the card number is bogus.)

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
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
Data Validation Update Validation Selection PCreighton Excel Worksheet Functions 3 September 11th 07 03:32 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


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