Dynamic Data Validation ignoring cells with #N/A

aaa324

New Member
Joined
Sep 13, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Hi, I have a row with month names from Nov18 to Dec21 in the data validation. I want the data validation to ignore future months. I can manage to filter out future months with dates between November 2018 and end date =EOMONTH(TODAY(),0). But how can I get a pull-down list of those months at the same time? I prefer a non-VBA solution if possible. Thank you

DashboardData.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAP
1All MonthsOct18Nov18Dec18Jan19Feb19Mar19Apr19May19Jun19Jul19Aug19Sep19Oct19Nov19Dec19Jan20Feb20Mar20Apr20May20Jun20Jul20Aug20Sep20Oct20Nov20Dec20Jan21Feb21Mar21Apr21May21Jun21Jul21Aug21Sep21Oct21Nov21Dec21
2
3Select MonthAug21Oct18Nov18Dec18Jan19Feb19Mar19Apr19May19Jun19Jul19Aug19Sep19Oct19Nov19Dec19Jan20Feb20Mar20Apr20May20Jun20Jul20Aug20Sep20Oct20Nov20Dec20Jan21Feb21Mar21Apr21May21Jun21Jul21Aug21#N/A#N/A#N/A#N/A
DashboardData
Cell Formulas
RangeFormula
D3:AP3D3=IF(D$1>$B$3,#N/A,EOMONTH(D$1,0))
Named Ranges
NameRefers ToCells
Portfolio=DashboardData!$D$1:$AP$1D3
Cells with Data Validation
CellAllowCriteria
B3List=$D$3:$AP$3
 

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.
Welcome to the Forum!

Perhaps ...

ABCDEFGHIJK
1StartDate
215 Feb 2021Feb 21Mar 21Apr 21May 21Jun 21Jul 21Aug 21Sep 21
3
4
5
6
Sheet3
Cell Formulas
RangeFormula
C2:J2C2=EOMONTH(StartDate,SEQUENCE(,1+DATEDIF(EOMONTH(StartDate,0)+1,EOMONTH(TODAY(),0)+1,"m"),0))
Dynamic array formulas.
Named Ranges
NameRefers ToCells
StartDate=Sheet3!$A$2C2
Cells with Data Validation
CellAllowCriteria
C5List=C2#

1631782975684.png
 
Upvote 0
Solution
A really good forum which I will use more for sure. Many thanks. That did it!
 
Upvote 0

Forum statistics

Threads
1,215,428
Messages
6,124,832
Members
449,190
Latest member
rscraig11

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