#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bonbon
 
Posts: n/a
Default Validation

Hi again, following up my last post with product codes such as 0001, 0002.
Does anyone know what i should eneter for the formula to validate these cells
so only a 4 digit code could be entered and lets say the limit is 4444. what
is the formula?

Thx in advance
Bonbon
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Beege
 
Posts: n/a
Default Validation

Bonbon

Try Data/Validation Custom =AND(A10,A1<4444)
And format cells Custom 0000

Beege


"Bonbon" wrote in message
...
Hi again, following up my last post with product codes such as 0001, 0002.
Does anyone know what i should eneter for the formula to validate these
cells
so only a 4 digit code could be entered and lets say the limit is 4444.
what
is the formula?

Thx in advance
Bonbon



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Validation

Use Data validation with a type of Whole Number, between 1 and 4444. Format
the cell as 0000.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Bonbon" wrote in message
...
Hi again, following up my last post with product codes such as 0001, 0002.
Does anyone know what i should eneter for the formula to validate these

cells
so only a 4 digit code could be entered and lets say the limit is 4444.

what
is the formula?

Thx in advance
Bonbon



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David McRitchie
 
Posts: n/a
Default Validation

You have almost answered your own question "validation"
see entries in topics index for data validation
you want to include a check on the length if text,
or on the range if a number
http://www.contextures.com/tiptech.html
and it would probably also be shown in one of the videos at
http://www.datapigtechnologies.com/ExcelMain.htm

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Bonbon" wrote in message ...
Hi again, following up my last post with product codes such as 0001, 0002.
Does anyone know what i should eneter for the formula to validate these cells
so only a 4 digit code could be entered and lets say the limit is 4444. what
is the formula?

Thx in advance
Bonbon




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
Remove Duplication from Validation List? [email protected] Excel Discussion (Misc queries) 1 January 17th 06 02:27 AM
Copy workbook- Validation function sjs Excel Worksheet Functions 3 December 28th 05 03:00 PM
data validation lists [email protected] Excel Discussion (Misc queries) 5 June 25th 05 07:44 PM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 05:21 AM
Data Validation Window? Ken Excel Discussion (Misc queries) 1 January 11th 05 10:48 PM


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