• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

Getting Error while applying list based data validation in excel

Hi,

I have an excel sheet in which i have entered names in Cells XFC1:XFC12 and also I have named that list as Shifts. When I try to apply list based data validation in Cell C5 using the formula =IF(TEXT(C$4,"mmmm")=$C$1,Shifts,FALSE) it gives me an error the list source must be a delimited list of a reference to single row or column. Attached is the error screenshot.

The value in C4 is a date and value in C1 is a month name. I want to display the list if the month names match or else it should not display the list.

error
How to get rid of the error? Where am I wrong?

Thanks in advance.
0
Vipin Kumar
Asked:
Vipin Kumar
1 Solution
 
Rory ArchibaldCommented:
C4's month must equal C1 when you add the validation or you will get that error. You can add some temporary values to get the DV set and then delete them afterwards.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now