Link to home
Create AccountLog in
Avatar of Mark Wood
Mark WoodFlag for United States of America

asked on

Excel Data Validation issue

I am trying to create a data validation where if one value = yes then the second value is displayed.

I have been using =if(memberactive="yes",fullname). Both named ranges on their own return the proper data but for some reason when I put it together it doesn't work.

please help.
Avatar of Mark Wood
Mark Wood
Flag of United States of America image

ASKER

This is for a dropdown list ... should have said that first. Also the actual error I am getting is "The source currently evaluates to an error".
SOLUTION
Avatar of Professor J
Professor J

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Let me explain this in detail. On sheet 1 I have the 2 named ranges FullName and MemberActive. On sheet 2 is where I need a single validation list that will pull the list of names where MemberActive = Yes.

If I go to sheet 2 and set the validation list to =FullName it will pull a list of all of the names, if I set it to =MemberActive it will pull a list of either Yes or No.

When I put it together like =if(memberactive="yes",fullname or =if(memberactive,"=yes",fullname) it does not work and gives me the error "The source currently evaluates to an error".

It works fine with =if(memberactive="yes",fullname ) when I have only one name in the list on sheet 1.
Avatar of Professor J
Professor J

it would be easy if you just upload plz a dummy example of the file
Here is the sample of what I am doing
Attendee-List-Plus---sample.xlsx
I see you are using a Table which is good. However, using a Table you do not need to have unused rows, simply add them as required and the lists will expand.

I'm not clear what you are doing but it seems to me that filtering would work.

Where are you putting the data validation list and where do you want the data extracting to?
The data validation is under the Name field on the Attendance Month 1 tab
When I change that the VLOOKUP formulas fill the rest of the row. What do you want to happen?
I am aware that vlookup fills in everything and under each day I will show the person as present etc. I just need the dropdown to show only the names of the people from the attendees tab where active = yes.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
perhaps
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
I came up with the best fix to the problem.
Sorry I've been really busy at work so I missed your reply. If you need further help just post back