+ Reply to Thread
Results 1 to 10 of 10

Auto put Yes/No/Both in nested table.

  1. #1
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Auto put Yes/No/Both in nested table.

    If a table has 2 levels separated by row grouping and Level headings in 2 different columns.
    How to put Yes in heading if there are all YESs under that level heading.
    Or put all yes under a heading if yes is put infornt of that heading.
    Pls see the attachment to understand better
    Attached Files Attached Files
    Last edited by Excelforum*ser_mH7; 06-07-2018 at 03:21 PM.

  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,936

    Re: Auto put Yes/No/Both in nested table.

    Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your problem n your posts for the searching benefit of all.
    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
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Auto put Yes/No/Both in nested table.

    Fixed it............

  4. #4
    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,936

    Re: Auto put Yes/No/Both in nested table.

    Thanks. Still a bit puzzled

    Lets take row 2 as an example.

    If there is an entry in all 3 cells = Yes
    If only 2 cells are entered = ????
    if only 1 cell is entered = ???
    If no cells are entered = No

    Please fill in the ??? and correct wherever necessary

  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,936

    Re: Auto put Yes/No/Both in nested table.

    Im thinking some variation on this will work for you...
    J
    K
    L
    M
    1
    a a a three

    M1=IFERROR(CHOOSE(COUNTA(J1:L1),"One", "two", "three"), "None")
    change as needed

  6. #6
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Auto put Yes/No/Both in nested table.

    No not like that.
    If all Yes/No(drop-down) is field is filled with Yes under a heading then the Yes/No field of that heading should turn Yes.If its all no then no.if both then Yes/No.If all are not filled then ???.
    And the opposite also,if Yes if put in a heading's yes/no field then all things under the heading should turn Yes.

  7. #7
    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,936

    Re: Auto put Yes/No/Both in nested table.

    OK, so like this?

    If all 3 have YES = Yes
    If all 3 have NO = No
    If only 2 cells have YES = ????
    if only 1 cell has NO = ???
    If only 2 cells have NO = ????
    if only 1 cell has YES = ???
    If no cells are entered = ???

  8. #8
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Auto put Yes/No/Both in nested table.

    If all 3 have YES = Yes
    If all 3 have NO = No
    If only 2 cells have YES and 1 cell has No = Yes/No
    if there is no entry yes/no field = ???
    If there is only some entries fills but same options are selected = "the same entry'

    And I want it to be 2-way
    Below level affects above level(s) like explained above.
    And heading affects sub levels like when yes is added to a heading then all sub levels under that heading should turn yes
    Last edited by Excelforum*ser_mH7; 06-08-2018 at 11:50 AM.

  9. #9
    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,936

    Re: Auto put Yes/No/Both in nested table.

    Is this what you want?
    A
    B
    C
    D
    1
    Yes Yes Yes Yes
    2
    Yes Yes No Yes/No
    3
    Yes No No Yes/No
    4
    No No No No
    5
    ???

    D1=IF(COUNTA(A1:C1)=0,"???",IF(COUNTIF(A1:C1,"yes")=3,"Yes",IF(COUNTIF(A1:C1,"no")=3,"No","Yes/No")))
    copied down

  10. #10
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Auto put Yes/No/Both in nested table.

    getting wrong output (see attachment)
    ans how to do it other way (heading affects sub levels like when yes is added to a heading then all sub levels under that heading should turn yes )
    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. Replies: 6
    Last Post: 12-01-2017, 03:45 PM
  2. [SOLVED] Macro To copy information in a table (keeping format and nested table intact)
    By meabrams in forum Word Programming / VBA / Macros
    Replies: 6
    Last Post: 03-29-2017, 03:20 AM
  3. [SOLVED] Nested IF or Table
    By ColtsRocker1 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-19-2016, 03:20 PM
  4. [SOLVED] Auto Populate cell based on auto filter selection from table in same sheet
    By missydanni in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-02-2013, 05:03 PM
  5. Nested Ifs Logical Help to auto populate a schedule
    By alienj19 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-18-2012, 12:28 PM
  6. Nested if then else to Auto-populate?
    By buckeyeguy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-28-2011, 07:20 PM
  7. Replies: 2
    Last Post: 06-16-2011, 06:53 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