+ Reply to Thread
Results 1 to 15 of 15

How to hide/show cells by a drop down button on parent cell ?

  1. #1
    Registered User
    Join Date
    08-05-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    6

    Post How to hide/show cells by a drop down button on parent cell ?

    Hello !

    I want an option, if click on drop down button on parent cell than few a cells will come out in which I have mentioned details of the parent cell.

    By pressing the same button again those cells will be hidden or covered under parent cell. ​
    Last edited by avnthk; 08-05-2014 at 11:51 PM. Reason: language

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to hide/show cells by a drop down button on parent cell ?

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,373

    Re: How to hide/show cells by a drop down button on parent cell ?

    Not sure without seeing your file and your expected results, try to upload your sample file/workbook, click "Go Advanced" button and find Paperclip Button to attach your file

    Regards

  4. #4
    Registered User
    Join Date
    08-05-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    6

    Re: How to hide/show cells by a drop down button on parent cell ?

    @azumi
    Find attachedsample.xlsx

  5. #5
    Registered User
    Join Date
    08-05-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    6

    Re: How to hide/show cells by a drop down button on parent cell ?

    @azumi
    Find attachedAttachment 337259

    I want to put a button on cell where "A" written to hide/ show "a-d" series below.

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to hide/show cells by a drop down button on parent cell ?

    Not sure where you have the drop down and the concerned data and all

  7. #7
    Registered User
    Join Date
    08-05-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    6

    Re: How to hide/show cells by a drop down button on parent cell ?

    What need is :

    A drop down button in A1 cell, by use of which I can hide/show cell no A2-A5

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to hide/show cells by a drop down button on parent cell ?

    Please confirm why A1 consist the text "A"?

    What will be the drop down textS of cell A1?

  9. #9
    Registered User
    Join Date
    08-05-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    6

    Re: How to hide/show cells by a drop down button on parent cell ?

    "A" is just to fill the cell.

    Cell matter/text could be anything I just want something in the A1 cell cell so that I can hide/show A2-A5 cells.

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to hide/show cells by a drop down button on parent cell ?

    Check the attached file and confirm
    Attached Files Attached Files

  11. #11
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,373

    Re: How to hide/show cells by a drop down button on parent cell ?

    Maybe something like this? Using array formula and helper column
    Attached Files Attached Files

  12. #12
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to hide/show cells by a drop down button on parent cell ?

    Hi azumi,

    I think you can avoid array in this way...

    In A3 cell of your file

    =IFERROR(INDEX($D$3:$G$6,ROWS($1:1),MATCH($A$2,$D$2:$G$2,0)),"")

    Dragged down...

  13. #13
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,373

    Re: How to hide/show cells by a drop down button on parent cell ?

    @Sixthsense
    Yes sure, sometimes I cant' thing a simple way.. lol

  14. #14
    Registered User
    Join Date
    08-05-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    6

    Re: How to hide/show cells by a drop down button on parent cell ?

    Validation With SheetChange Event Code.xlsm

    @Sixth Sense: I have attached excel sheet.

    I have explained my requirements inside the sheet. Please help. Once done teach me how did you do that.

  15. #15
    Registered User
    Join Date
    08-05-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    6

    Re: How to hide/show cells by a drop down button on parent cell ?

    Plz help with the xcel sheet

+ 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] Show/hide rows based on drop down cell using named ranges
    By Stu091074 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2014, 11:00 AM
  2. VBA hide row based on pull down with button to toggle show/hide
    By myronr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2012, 06:07 PM
  3. How to hide/show cells and assign it to a macro (button)
    By sazzaK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-07-2012, 05:13 AM
  4. Show/Hide Button
    By sdbrown81 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-17-2012, 09:19 AM
  5. [SOLVED] Hide/Show Command button based on cell value
    By paxile2k in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2010, 08:59 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