+ Reply to Thread
Results 1 to 3 of 3

Heading selection in one cell corresponds to another its items in another cell

  1. #1
    Registered User
    Join Date
    03-26-2013
    Location
    Canada
    MS-Off Ver
    ms365
    Posts
    79

    Heading selection in one cell corresponds to another its items in another cell

    Hello Everyone,

    I need a bit of help. I have a few columns on one worksheet (sheet2); it has headings(A1-C1) and corresponding items below it (A2 - and downward). Now I want a drop-down selection on Sheet1 at A2 and when I select a particular Heading Say(A1 Heading), I want the corresponding items list of that heading to show up in the cell(B1). I have attached a sample of how it should look like. Any help would be greatly appreciated. Thank u in advance.
    best regards,

    Ahsan Khan
    Attached Files Attached Files
    Last edited by snkhan; 05-15-2019 at 02:32 PM.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Heading selection in one cell corresponds to another its items in another cell

    See in the attachment how 2 names are defined (ribbon: formulas-> group: Defined names -> Name manager)

    cell with a header has just a list of all headers as validation list, cell with values - the second defined name.

    note that after changing cell with selected header nothing changes automatically with selected item. Only selecting new item allows one to to it from an updated item list (corresponding to selected header).

    To change items automatically after category cjanges, one shall use events hangdler (VBA procedure) for Worksheet_Change event . There are many examples of such procedures on our forum.
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    03-26-2013
    Location
    Canada
    MS-Off Ver
    ms365
    Posts
    79

    Re: Heading selection in one cell corresponds to another its items in another cell

    Thank you so much, Worked perfectly. Cheers

+ 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: 8
    Last Post: 04-19-2019, 07:22 PM
  2. [SOLVED] Brain Freeze - Cell that has selection items
    By telcocook in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-06-2018, 12:12 AM
  3. [SOLVED] Search Heading and copy first cell under heading
    By Simone Fick in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-19-2017, 06:21 PM
  4. Replies: 5
    Last Post: 07-26-2016, 09:16 AM
  5. Chart name corresponds to cell value
    By freak11 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-15-2013, 06:51 AM
  6. [SOLVED] Drop box corresponds with another cell.
    By Wagaitwag in forum Excel General
    Replies: 3
    Last Post: 09-20-2012, 03:54 PM
  7. Replies: 2
    Last Post: 06-03-2009, 06:37 AM

Tags for this Thread

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