+ Reply to Thread
Results 1 to 8 of 8

Data Validation - without Create from Selection

  1. #1
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Data Validation - without Create from Selection

    I do not want to Create from Selection because I have a simple selection
    So I need a Formula in B1

    A1 can be 1,2,3 so here I have Data Validation, List 1,2,3

    I want in B1

    B1="Text1","Text2" if A1 is 1 and "Text1" if A1 is 2 OR 3
    If A1 is 1 I need to be able to have ...List text1,Text2

  2. #2
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Data Validation - without Create from Selection

    =ifs(a1=1,"text1"&"text2",and(a1=2,a1=3),"text1")

    ...doesn't work for me...

  3. #3
    Registered User
    Join Date
    10-15-2018
    Location
    Iran
    MS-Off Ver
    2013
    Posts
    30

    Re: Data Validation - without Create from Selection

    Hi,
    Does this formula work?
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Data Validation - without Create from Selection

    no, it doesnt

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: Data Validation - without Create from Selection

    Try this in B1:

    =if(a1=1,"text1"&"text2",IF(OR(a1=2,a1=3),"text1",""))

    An alternative:

    =IF(A1="","","text1"&IF(A1=1,"text2",""))

    Hope this helps.

    Pete

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,963

    Re: Data Validation - without Create from Selection

    Are you trying to use the text in A1 as a data validation list in B1?
    Ben Van Johnson

  7. #7
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Data Validation - without Create from Selection

    but were to put this formula ?
    If I SELECT 1 in A1 then I need to be able to SELECT or TEXT1 or TEXT2 in B1
    Again, in A1 is Data Validation, List : 1,2,3
    In A1 I have 3 options
    If A1 selection is 1
    I need to selctions in B1, List text1,Text2
    so it is drop down list
    A1 : 1,2,3
    B1 : if A1 =1 then drop down list Text1,Text2
    B1 : if A1 = 2 or 3 drop down list Text1

  8. #8
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Data Validation - without Create from Selection

    I arbitrarily chose B4 to hold "Text1" and B5 to hold "Text2"

    Select cell B1 then "Data validation", choose "List". Then under "Source" enter:
    =IF(A1=1, B4:B5, B4)
    Select OK to exit the data validation dialog.
    That should do it:
    If A1 is 1 then the dropdown list for B1 is:
    Text1
    Text2
    If A1 is 2 or 3 (or anything else) then the dropdown list for B1 is:
    Text1

    I think that's what you were looking for. See the attached spreadsheet
    Attached Files Attached Files

+ 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. Data Validation - without Create from Selection
    By ionelz in forum Excel General
    Replies: 2
    Last Post: 10-18-2018, 06:52 AM
  2. Replies: 1
    Last Post: 01-14-2018, 11:04 AM
  3. Replies: 3
    Last Post: 06-04-2015, 02:27 PM
  4. Data Validation List Selection
    By gwedel in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-25-2015, 01:39 PM
  5. Replies: 1
    Last Post: 04-01-2014, 08:10 AM
  6. [SOLVED] Data Validation - Look up a whole table rather than a selection
    By Ben1985 in forum Excel General
    Replies: 7
    Last Post: 01-14-2014, 09:19 AM
  7. Multiple Selection Data Validation and Placement of Selection.
    By LCS in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-08-2012, 08:48 AM

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