Validation numbers and a word

master_of_none

Board Regular
Joined
Jan 29, 2003
Messages
62
Is there a formula for the entire column that I can use for validation? I would like to have validation between 0000 and 2359 and to include one word. I know I can make a list but I was seeing if a formula or vba might work. XL2003

Thanks

Rob
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Not sure I understand what you mean...But I think this is what you want...

In A1 put

="OneWord " & TEXT(ROWS(A$1:A1),"0000")

Then copy/fill it down to A2359
 
Upvote 0
I would like to have validation between 0000 and 2359 and to include one word.

Hello Rob,

Are the numbers time values, do you mean to say 00:00 and 23:59 or do you want them without the colon? If it's the latter would 2299 be allowed, I presume not.....
 
Upvote 0
Barry, that's a good point. I wasn't thinking clearly. I have column B formatted so the users can type in just the time without the ":". I currently have validation in that column of whole number 0000 to 2359.

I need to set up validation for time values of 0000 to 2359 and the word "CNX".

Should I just make a list or is there some other way of doing it?

Rob
 
Upvote 0

Forum statistics

Threads
1,214,264
Messages
6,118,560
Members
448,837
Latest member
Josephjet

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