Data Validation - Indirect formula quit working

melodramatic

Board Regular
Joined
Apr 28, 2003
Messages
156
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

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Toadstool

Well-known Member
Joined
Mar 5, 2018
Messages
1,533
Office Version
  1. 2016
Platform
  1. Windows
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)
 
Solution

Watch MrExcel Video

Forum statistics

Threads
1,132,646
Messages
5,654,561
Members
418,140
Latest member
ahepple86

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
Top