Data Validation Query

grf

Board Regular
Joined
Oct 30, 2004
Messages
70
Office Version
  1. 365
Hi Experts,
I have a query concerning the production of a Data Validation list.
I want the list to consist of 2 dates. The date which appears in the current cell above the cursor and the date 1 day after that which appears in the current cell above the cursor.
Is this possible?
Regards Graham
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
in the cell above, can you add a column that has +1 date as cell above? then you can do list as cell above or offset 1. Like in below, have the 1/1/17 be 12/31 + 1 and Active cell will have list of 12/31 and 1/1

12/31/16 1/1/17
Active Cell
 
Upvote 0
In cell H2 I put the date 12/31/2016
In Cell I2 I put this formula: =IF(H2<>"",H2,I1+1) and copied that down
In Cell H3 I put this Data Validation Formula as a List: =OFFSET(H3,-1,1,2,1) and copied that down.

Now you can choose the previous date or the next date.
 
Upvote 0
crazydragon84, thank you very much for your help, and Jeffrey Mahoney, your formulas worked a treat. Thanks again, I'm very grateful
Regards, Graham
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,269
Members
452,628
Latest member
dd2

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