+ Reply to Thread
Results 1 to 14 of 14

How to fix source limitation in data validation, i am looking for a solution

  1. #1
    Registered User
    Join Date
    11-26-2019
    Location
    India
    MS-Off Ver
    office 365
    Posts
    7

    How to fix source limitation in data validation, i am looking for a solution

    Im not able to use the below formula to keep in Source of data validation.

    =IF(AND(E3="NETWORK",F3="FDC1"),NetFDC1,IF(AND(E3="NETWORK",F3="FDC2"),NetFDC2,IF(AND(E3="SECURITY",F3="FDC1"),SecFDC1,IF(AND(E3="SEURITY",F3="FDC2"),SecFDC2,IF(AND(E3="COMPUTE",F3="FDC1"),ComFDC1,IF(AND(E3="COMPUTE",F3="FDC2"),ComFDC2,
    IF(AND(E3="BACKUP",F3="FDC1"),BckFDC1,IF(AND(E3="BACKUP",F3="FDC2"),BckFDC2,IF(AND(E3="STORAGE",F3="FDC1"),StrFDC1,IF(AND(E3="STORAGE",F3="FDC2"),StrFDC2))))))))))

    How to fix it.



    Requirement:

    Attached is the example of data. In G3 i require drop down of "team 1 to Team6" when E3=NETWORK & F3=FDC1 and vice versa.

    I tried for NETWORK,COMPUTE,SECURITY with formula above one but not able to add extra formula for STORAGE & BACKUP.
    Looks some limitaton is there to fill the above formula in SOURCE.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: How to fix source limitation in data validation, i am looking for a solution

    Cab we rearrange J & K to get rid of those awful merged cells?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    11-26-2019
    Location
    India
    MS-Off Ver
    office 365
    Posts
    7

    Re: How to fix source limitation in data validation, i am looking for a solution

    those are required for E3 and F3 to check and fill G3 with Drop down.

  4. #4
    Registered User
    Join Date
    11-26-2019
    Location
    India
    MS-Off Ver
    office 365
    Posts
    7

    Re: How to fix source limitation in data validation, i am looking for a solution

    I mean J & K values are the information for me....im not using them in my formula.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: How to fix source limitation in data validation, i am looking for a solution

    I know that! But being merged cells which are pretty, they are horrible to get formulas to work with!! Ijust want to replace 1 merged cell containing Network, with 6 individual cells containing network.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: How to fix source limitation in data validation, i am looking for a solution

    No. But I want to, but not with those merged cells!!

  7. #7
    Registered User
    Join Date
    11-26-2019
    Location
    India
    MS-Off Ver
    office 365
    Posts
    7

    Re: How to fix source limitation in data validation, i am looking for a solution

    Ok, please check updated one, removed merged cells.
    Attached Files Attached Files

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: How to fix source limitation in data validation, i am looking for a solution

    I did not use your most recent attachment. This was done using the original sampole.

    =INDEX(Sheet1!$L:$L,AGGREGATE(15,6,ROW(Sheet1!$J$2:$J$37)/((Sheet1!$J$2:$J$37=Sheet1!$E3)*(Sheet1!$K$2:$K$37=Sheet1!$F3)),1)):INDEX(Sheet1!$L:$L,AGGREGATE(14,6,ROW(Sheet1!$J$2:$J$37)/((Sheet1!$J$2:$J$37=Sheet1!$E3)*(Sheet1!$K$2:$K$37=Sheet1!$F3)),1))


    I used this to create a Named Range (Track3) and set Track 3 as the Data Validation List.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    11-26-2019
    Location
    India
    MS-Off Ver
    office 365
    Posts
    7

    Re: How to fix source limitation in data validation, i am looking for a solution

    Wow, Fantastic Glenn. In minutes you provided solution. I struggled for it for hours.
    Could you explain steps how to do it. Next time similar work is there for me, will do it myself.

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: How to fix source limitation in data validation, i am looking for a solution

    I have to go now. I promise I will reply in the UK morning. If I forget... remind me!!

  11. #11
    Registered User
    Join Date
    11-26-2019
    Location
    India
    MS-Off Ver
    office 365
    Posts
    7

    Re: How to fix source limitation in data validation, i am looking for a solution

    Sure Glenn, have a good day...will remind you tomorrow.

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: How to fix source limitation in data validation, i am looking for a solution

    Now that the merged cells are gone, you have a nice layout. The desired values for each combination are all beside each other., So what is needed, is a formula to return a range, starting at the first matching row and ending at the last matching row.

    =INDEX(Sheet1!$L:$L,AGGREGATE(15,6,ROW(Sheet1!$J$2:$J$37)/((Sheet1!$J$2:$J$37=Sheet1!$E3)*(Sheet1!$K$2:$K$37=Sheet1!$F3)),1)):INDEX(Sheet1!$L:$L,AGGREGATE(14,6,ROW(Sheet1!$J$2:$J$37)/((Sheet1!$J$2:$J$37=Sheet1!$E3)*(Sheet1!$K$2:$K$37=Sheet1!$F3)),1))

    Red = First matching row, blue - last matching row. How does each bit work? They differ only in the aggregate function: 15 (SMALL) and 14 (LARGE).

    INDEX(Sheet1!$L:$L,AGGREGATE(15,6,ROW(Sheet1!$J$2:$J$37)/((Sheet1!$J$2:$J$37=Sheet1!$E3)*(Sheet1!$K$2:$K$37=Sheet1!$F3)),1))

    Green: when these two criteria are met,
    Cyan: return the row number
    Red: smallest (or largest if 14 instead of 15)
    Black: and return the corresponding value from column L.

    So you then have the statrting point & ending point for the required range... Set up a Named Range and call the named Range in data validation. Job done.


    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  13. #13
    Registered User
    Join Date
    11-26-2019
    Location
    India
    MS-Off Ver
    office 365
    Posts
    7

    Re: How to fix source limitation in data validation, i am looking for a solution

    Thanks for the information. But not able to understand getting confused.

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: How to fix source limitation in data validation, i am looking for a solution

    Well, if you want a further explanation - you'll have to be precise about where you are getting lost. You should also look at Formulas/Formula auditing/Evaluate formula

+ 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. Need better solution for Data Validation formula
    By AvidanR in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-08-2019, 04:15 AM
  2. [SOLVED] Data validation problem/solution !!!
    By sonu1975 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-28-2014, 10:24 AM
  3. Data Validation character limitation issue
    By sj80 in forum Excel General
    Replies: 21
    Last Post: 05-30-2014, 10:22 AM
  4. [SOLVED] Workaround for Data Validation (List) limitation
    By abousetta in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-04-2013, 06:04 PM
  5. data validation-Can the source of the validation criteria be dfrom a different sheet?
    By yael pinkert in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2009, 04:28 AM
  6. [SOLVED] VLOOKUP Limitation and Solution?
    By KL Cheong in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-01-2006, 10:00 AM
  7. Data Validation Limitation
    By r wilcox in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-08-2006, 06:30 PM

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