I need to make validation list but work only if another cell is not blank otherwise it not work
Simply I have a list in I5 cell contain data validation List of 1,2,3,4,5
I need this list work only If A5 is not blank
I need to make validation list but work only if another cell is not blank otherwise it not work
Simply I have a list in I5 cell contain data validation List of 1,2,3,4,5
I need this list work only If A5 is not blank
Last edited by mmenshawy2; 01-29-2017 at 08:36 AM.
Need a little more detail.
Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.
Remember to desensitize the data.
Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
You can do this with a named range which is a formula. Go to the 'Formulas' tab and click 'Define Name'. Enter a name, for example 'ListIfA5NotBlank' and put this in the formula box:
Formula:Please Login or Register to view this content.
Change $Z$1:$Z$5 to where you have the numbers 1 to 5 stored.
Click OK.
Before going any further, make sure you have something in A5 - any number/letter will do.
Now select I5 and go to Data Validation. Select 'List' and enter your named range as the source:
Formula:Please Login or Register to view this content.
Click OK.
Now you'll see the drop-down list in I5. If you delete the value in A5 the drop-down won't work.
Warning - if you select something from the list, then delete the value in A5, the previously selected value will still be there - it won't automatically disappear. You can delete it manually, but to get it to automatically delete would need VBA.
Hope that does what you want.
Regards,
Aardigspook
I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
You don't need to give me rep if I helped, but a thank-you is nice.
As you've marked the thread as solved, I assume the above worked for you. Thanks for the rep as well.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks