+ Reply to Thread
Results 1 to 5 of 5

A formula that makes a cell yes or no if a option from the drop down box is selected

  1. #1
    Registered User
    Join Date
    05-11-2013
    Location
    Wigan, Englan
    MS-Off Ver
    Excel 2010
    Posts
    46

    A formula that makes a cell yes or no if a option from the drop down box is selected

    Hi there

    I hope you are well!

    I am trying to get a formula that will make a cell say yes or no depending on what value is selected in a drop down box.

    I have attached a example spreadsheet with more information in. Please feel free to give it a go.

    thanks

    Mike

    yes or no formula.xlsx

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: A formula that makes a cell yes or no if a option from the drop down box is selected

    perhaps this?

    =IF($C$6=$A$3,"Yes","No")

    edit: is there an echo in here? lol
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: A formula that makes a cell yes or no if a option from the drop down box is selected

    In E6

    =IF(C6=A3,"Yes","No")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Registered User
    Join Date
    05-11-2013
    Location
    Wigan, Englan
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: A formula that makes a cell yes or no if a option from the drop down box is selected

    Thank you. Do you know what formula would be required if there was 4 drop down boxes and if one of them had mobile selected it said yes. (same principle just more drop down boxes to base the formula on). I have tried =IF(C6:C9=A3,"Yes","No") but for some reason it does not work. Please see amended spreadsheet.

    thanks

    yes or no formula (updated) 2.xlsx
    Last edited by mfairhurst1; 10-12-2013 at 11:39 AM.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: A formula that makes a cell yes or no if a option from the drop down box is selected

    maybe this...
    =IF(COUNTIF($C$6:$C$9,A3)>=1,"Yes","No")

+ 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. HELP : Unhide sheet only the Selected option from drop down list
    By shiven.k in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-11-2013, 12:37 AM
  2. Replies: 1
    Last Post: 07-16-2012, 10:42 PM
  3. Assigning a value from the option selected from the Drop Box.
    By hubcitytiger in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-27-2010, 01:03 AM
  4. Replies: 14
    Last Post: 01-19-2009, 02:14 PM
  5. selected option button assign 1 to a cell and others 0
    By hjk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-16-2007, 03:27 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