Multiple data Validations on one cell.

paun_shotts

New Member
Joined
Nov 4, 2021
Messages
38
Office Version
  1. 2013
Platform
  1. Windows
Hi,
I need help with creating multiple data validations in one cell.
I have a date is column B and another date in column J.
I want to apply the data validation to column J with the following criteria.
Date in column J must be less than the date in column B by up to 10 days
Date in column J can only be up to 60 days greater than the date in column B
If the date in column J is not known, allow for the user to input "unknown"

Example:
Column B has a date of 1/1/2022
Date in column J can be between 22/12/2021 and 2/3/22 (up to 10 days prior to 1/1/22 and up to 60 days after 1/1/22)
If the date is not known, allow the user to input "unknown" into the cell in column J

Thank you!!!
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
just give a first shot:
Capture.JPG
 
Upvote 0
Upvote 0
You could try this in 'Custom' in Data Validation (for J2)
Formula: =OR(J2="Unknown",AND(J2>=B2-10,J2<B2+60))
 
Upvote 0
Solution

Forum statistics

Threads
1,214,947
Messages
6,122,411
Members
449,081
Latest member
JAMES KECULAH

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