Data Validation Error

piperjo

New Member
Joined
May 15, 2021
Messages
8
Office Version
  1. 2010
Platform
  1. Windows
I am trying to create a drop down for scheduling and I want it to hide names once they are clicked. I have followed all the instructions to a T. Once I get to the validation and enter the name range I get the error "Source currently evaluates to an error. I have window 10pro I am not sure what to do next.
 

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
Once I get to the validation and enter the name range I get the error "Source currently evaluates to an error.
You might find that this happens when you set it up and the cell to be validated is still empty. If you ignore the error message and continue then it could still work.

That's best guess without seeing the 'instructions' that you have used.
 
Upvote 0
I don't see any reason for the error in the guide. I've set up a test sheet and don't get an error so you may have missed something. As I can not see your screen, it is impossible to say what you may have missed.

Try changing the formula in column B to this one (steps 1 and 2 in the link)
Excel Formula:
=IFERROR(INDEX($A$1:$A$11,AGGREGATE(15,6,ROW($A$1:$A$11)/ISNA(MATCH($A$1:$A$11,$F$1:$F$11,0)),ROWS($B$1:$B1))),"")
Ignore steps 3 and 4 (delete the formulas from this step if you have already entered them)
Continue from step 5 onward using this formula in place of their suggestion for step 6
Excel Formula:
=$B$1:INDEX($B$1:$B$11,COUNTIF($B$1:$B$11,"?*"))
** Note that I have not used the sheet name in the second formula, excel will add this in automatically. Make sure that you have the correct sheet selected when you complete step 6! **

Note that this method (and the one in the link) create the dropdown in the same order as the original list.. You can sort the list with the formulas if required but it becomes much more complicated when working with anything other than an up to date version of office 365.

Book1 (version 1).xlsb
ABCDEF
1JamesJamesAndrew
2MaxMaxJessie
3JoneJone
4MichaelMichael
5AndrewPhillip
6PhillipTom
7JessiePeter
8TomMicheal
9PeterAnny
10Micheal 
11Anny 
Sheet5
Cell Formulas
RangeFormula
B1:B11B1=IFERROR(INDEX($A$1:$A$11,AGGREGATE(15,6,ROW($A$1:$A$11)/ISNA(MATCH($A$1:$A$11,$F$1:$F$11,0)),ROWS($B$1:$B1))),"")
Named Ranges
NameRefers ToCells
namecheck=Sheet5!$B$1:INDEX(Sheet5!$B$1:$B$11,COUNTIF(Sheet5!$B$1:$B$11,"?*"))B1:B11
Cells with Data Validation
CellAllowCriteria
F1:F11List=namecheck
 
Upvote 0
I got the same error, I can upload the spreadsheet if that would help.
 
Upvote 0
Have you adjusted the formula ranges to match your own data layout?

Are the formulas in your sheet duplicating the list as expected?
 
Upvote 0
I can do the very basics in excel, so I am afraid that I can't answer that
 
Upvote 0
OK, approaching the task from a different angle.

Where is your original list of names? I need the sheet name and the range, for example Sheet1 A1:A10.

Where are your data validation dropdowns going? As above, I need the sheet name and the range.
 
Upvote 0
You will need to enter this formula into B2, then fill it down to B51 as per step 2 in the link.
Excel Formula:
=IFERROR(INDEX($A:$A,AGGREGATE(15,6,ROW($A$2:$A$51)/ISNA(MATCH($A$2:$A$51,$G$2:$G$51,0)),ROWS($B$2:$B2))),"")
Then use this one for the named range definition (the 'Refers to:-' box) as per step 6 in the guide.
Excel Formula:
=Sheet!$B$2:INDEX(Sheet!$B$2:$B$51,COUNTIF(Sheet!$B$2:$B$51,"?*"))
As before, steps 3 and 4 can be omitted. The rest should be done as per the guide with the formulas changed to those above.
 
Upvote 0

Forum statistics

Threads
1,215,316
Messages
6,124,228
Members
449,149
Latest member
mwdbActuary

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