Cell Validation (or part thereof...)

lynxbci

Board Regular
Joined
Sep 22, 2004
Messages
201
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi,
I have a column with completion dates, and i want the user to be able to put a date in the format "Week XX YYYY" where XX is the week no. and YYYY is the year. Is there a way of validating a cell to allow this, without creating a list somewhere with 20 years of week numbers and years?

Thanks in advance
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Before going any further, have you considered having a column for year choice and a column for week number?
 
Upvote 0
I have considered this, but it is an established spreadsheet and there are 6 date columns in it, that would mean 6 more columns and some re-shuffling, and I was hoping i had missed a 'simple' solution.
Plus having 2 columns means that users have to remember to change a week and the year.......and you know users.

I have written a userform where they can enter the date and it converts it to week number and year, and was hoping that i could stop them typing anything in to the cells at all.
 
Upvote 0

Forum statistics

Threads
1,224,569
Messages
6,179,605
Members
452,928
Latest member
VinceG

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