+ Reply to Thread
Results 1 to 8 of 8

Data Validation Edit

  1. #1
    Forum Contributor
    Join Date
    05-29-2017
    Location
    UK
    MS-Off Ver
    Pro Plus 2016
    Posts
    301

    Data Validation Edit

    Hi guys, I have a formula in Data Validation which is functionable, but lacks criteria. All is as per file and screenshot attached. Possible to take a look please? Thanking in advance!

    https://www.excelforum.com/attachmen...1&d=1528129464 [EXCEL]

    2018-06-04_1721.png
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Data Validation Edit

    On my understanding:

    Created named ranges for the 4 "Special Accounts" and one for "General" accounts

    Add "GENERAL" to the DV list for E12

    in F12

    For DV

    =IF(LEFT($E$12,8)="SPEC-ACC",INDIRECT(SUBSTITUTE(E12,"-","_")),GENERAL_CATEGORIES)
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    05-29-2017
    Location
    UK
    MS-Off Ver
    Pro Plus 2016
    Posts
    301

    Re: Data Validation Edit

    It works JohnTopley, thank you. Only that original file does not contain general names as SPEC-ACC, these are all different account names, while I see SPEC-ACC is specified in your formula. Would there be a way to replace that strict specification in a formula to match each different account in a file itself? I think my original formula was in a way achieving that result, only that I was lacking the additional criteria

  4. #4
    Forum Contributor
    Join Date
    05-29-2017
    Location
    UK
    MS-Off Ver
    Pro Plus 2016
    Posts
    301

    Re: Data Validation Edit

    Too, selection of just General as the account wouldn't click as there are many different accounts in a file, as mentioned in original post

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Data Validation Edit

    I don't follow: the DV selects SPEC-ACC1 to SPEC-ACC4 (as I thought you required).
    Last edited by JohnTopley; 06-04-2018 at 01:45 PM.

  6. #6
    Forum Contributor
    Join Date
    05-29-2017
    Location
    UK
    MS-Off Ver
    Pro Plus 2016
    Posts
    301

    Re: Data Validation Edit

    All accounts, including SPEC-ACC's are in column A. I have linked SPEC-ACC's into E:H as these are the only one's that have specific categories, as this was the only way I could figure how to do dropdowns on those accounts and categories.

    The challenge, however, remains with all other accounts - in E12 I need to be able to select any other account from column A, and once any other (not SPEC-ACC) account is selected, dropdown in F12 should return all categories available in column B.

    Sorry for a confusion!

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Data Validation Edit

    Modify the DV test to include a test for "GEN_ACC" (similar to the SPEC-ACC" test ) and modify the IF to STILL select "General_Accounts"

    You will need to add all the "GEN-ACC" accounts to E12 DV list.

  8. #8
    Forum Contributor
    Join Date
    05-29-2017
    Location
    UK
    MS-Off Ver
    Pro Plus 2016
    Posts
    301

    Re: Data Validation Edit

    Thank you JohnTopley!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 01-14-2018, 11:04 AM
  2. How make edit buttons carry original data validation in userform
    By girivba in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-24-2015, 05:29 AM
  3. Replies: 4
    Last Post: 12-19-2013, 10:44 AM
  4. Replies: 0
    Last Post: 10-28-2012, 11:26 PM
  5. Edit Named Range for Data Validation List
    By RxMiller in forum Excel General
    Replies: 1
    Last Post: 08-31-2011, 10:17 PM
  6. Edit data validation formula from vba
    By zlackoff in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2010, 07:54 PM
  7. Edit Validation List
    By michellee in forum Excel General
    Replies: 3
    Last Post: 11-28-2007, 03:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1