+ Reply to Thread
Results 1 to 5 of 5

Toggle yes,no in 10 cells allowing only 1 yes

  1. #1
    Registered User
    Join Date
    07-03-2019
    Location
    Gold Coast, Aus
    MS-Off Ver
    2016
    Posts
    3

    Toggle yes,no in 10 cells allowing only 1 yes

    Hi I am looking for away to have a yes,no drop box or yes,blank in a row of cells and on allow one yes. All other cells in the group return to no or blank.

  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
    53,049

    Re: Toggle yes,no in 10 cells allowing only 1 yes

    Hi, welcome to the forum

    Setting up drop-downs (data validation) is not that hard. However, no formula or function (or DD) can affect other cells, they only work on the cell they reside in.

    there is nothing magical about a drop down (Data Validation). It is exactly the same as if you had typed the entry in manually, the only differences being that a DD can save you some typing, help avoid typos and help restrict entry to only a specified "list". Other than that, there is basically no difference. You would refer to it in formulas etc the exact same way as if you were referencing a manually entered cell
    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
    Registered User
    Join Date
    07-03-2019
    Location
    Gold Coast, Aus
    MS-Off Ver
    2016
    Posts
    3

    Re: Toggle yes,no in 10 cells allowing only 1 yes

    Hi Ford
    Thanks for the reply, I dont have any issues with the drop down box, the question is there away to group a set of cellls that look at a response in the other cell. I could place a macro toclear all cells back to no and then select the one needed but that requires the macro button to be selected then select the yes cell, I was hoping to achieve it in one selection.
    Cheers JPCruiser

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Toggle yes,no in 10 cells allowing only 1 yes

    What about a radio button in excel
    https://www.wallstreetmojo.com/radio-button-in-excel/
    you can only select one option

  5. #5
    Registered User
    Join Date
    07-03-2019
    Location
    Gold Coast, Aus
    MS-Off Ver
    2016
    Posts
    3

    Re: Toggle yes,no in 10 cells allowing only 1 yes

    Thanks davsth
    Looks exactly what i want. Will play with it over the weekend and close this string once Ive got it going.
    Have a great day

+ 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. [SOLVED] Toggle Hide/Unhide Cols & Toggle adj column width
    By anare in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-20-2018, 11:04 AM
  2. [SOLVED] how do i make a toggle button change other toggle buttons value to false
    By kevinu in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-10-2018, 04:19 PM
  3. Replies: 1
    Last Post: 02-13-2014, 10:55 PM
  4. Allowing only 1 toggle button pushed out of 2 choices
    By ahigh17 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-30-2013, 11:51 AM
  5. only allowing data in 1 of 4 cells
    By stage1v8 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-17-2010, 01:09 PM
  6. Only allowing access to certain cells
    By collierd in forum Excel General
    Replies: 3
    Last Post: 01-14-2007, 06:40 AM
  7. Cells formatting done without me allowing it in VBA
    By Werner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2005, 02:25 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