Data Validation - Indirect formula quit working

melodramatic

Board Regular
Joined
Apr 28, 2003
Messages
180
Office Version
  1. 365
Platform
  1. Windows
I have a data validation formula that has worked non-stop, and overnight, all of a sudden, it doesn't work. I keep the sheet locked, so no users can change it, but when I was told this morning the drop-down list was blank, I went in to try to re-build the formula, and am getting errors.

The set-up: I want a drop-down list of all current employees, but want to make sure the list doesn't expand past the current # (in row M). Thus, with a list starting at cell M6, I have a calculation in cell M2 that shows what row contains the last employee (currently at 76).

In the data validation for my table, the formula I have written is:

Code:
=indirect("$M$6:$M$"&$M$2)

When I click on OK, I get "The Source currently evaluates to an error. Do you want to continue?

Why am I getting an error, when I never had one before? There are no errors anywhere in the list that is created by the indirect statement, and nothing else that I can see as a problem.

Help?
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hi Melodramatic,

I can't diagnose without seeing your sheet but this OFFSET should give the result you seek:

Melodramatic.xlsx
MNO
1LoV
276
3
4
5
6Fred
7Bert
8John
9Sue
10Bill
11
Sheet1
Cells with Data Validation
CellAllowCriteria
O2List=OFFSET($M$6,,,$M$2)
 
Upvote 0
Solution

Forum statistics

Threads
1,214,649
Messages
6,120,731
Members
448,987
Latest member
marion_davis

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