Dubble numbers

bullit_nl

Active Member
Joined
Jun 27, 2002
Messages
280
Hi,

I have posted about this subject before but the post got lost (2002-30-09).

I have a sheet where i use validation to prevent myself (and others) to use the same numbers. This works fine.

Now i also wanna make sure that the numbers i type always must contain 8 numbers.

Ex. 90090001 and not 9009001.

I know this also can be done with validation. But is it possible to have it both?

Thanks
This message was edited by bullit_nl on 2002-10-04 05:30
This message was edited by bullit_nl on 2002-10-04 05:31
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
On 2002-10-04 05:29, bullit_nl wrote:
Hi,

I have posted about this subject before but the post got lost (2002-30-09).

I have a sheet where i use validation to prevent myself (and others) to use the same numbers. This works fine.

Now i also wanna make sure that the numbers i type always must contain 8 numbers.

Ex. 90090001 and not 9009001.

I know this also can be done with validation. But is it possible to have it both?

Thanks
This message was edited by bullit_nl on 2002-10-04 05:30
This message was edited by bullit_nl on 2002-10-04 05:31

Expand the formula that you use...

=AND(...,LEN(Cell)=8)
 
Upvote 0
On 2002-10-04 05:56, Aladin Akyurek wrote:
On 2002-10-04 05:29, bullit_nl wrote:
Hi,

I have posted about this subject before but the post got lost (2002-30-09).

I have a sheet where i use validation to prevent myself (and others) to use the same numbers. This works fine.

Now i also wanna make sure that the numbers i type always must contain 8 numbers.

Ex. 90090001 and not 9009001.

I know this also can be done with validation. But is it possible to have it both?

Thanks
This message was edited by bullit_nl on 2002-10-04 05:30
This message was edited by bullit_nl on 2002-10-04 05:31

Expand the formula that you use...

=AND(...,LEN(Cell)=8)

Hi Aladin,

The formula is use now is:

=AANTAL.ALS($B$3:$K$100;E46)=1

Where (how) should i expand the formula?

Thanks
 
Upvote 0
Hi Aladin,

The formula is use now is:

=AANTAL.ALS($B$3:$K$100;E46)=1

Where (how) should i expand the formula?

I assume the formula wrt B3 will look as

=AANTAL.ALS($B$3:$K$100;B3)=1

If so, select B3:K100, activate Data|Validation and change the formula to:

=EN(AANTAL.ALS($B$3:$K$100;B3)=1,LENGTE(B3)=8)
 
Upvote 0
On 2002-10-04 08:11, bullit_nl wrote:
It works perfect.

Thanks Aladin

Is it also possible with this formula to check for the dubble numbers on more sheets in one workbook?
 
Upvote 0

Forum statistics

Threads
1,224,396
Messages
6,178,390
Members
452,844
Latest member
Shebl

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top