+ Reply to Thread
Results 1 to 5 of 5

Dynamically Generate a List of headers and questions

  1. #1
    Registered User
    Join Date
    05-11-2010
    Location
    Alberta, Canada
    MS-Off Ver
    Excel 2016
    Posts
    7

    Dynamically Generate a List of headers and questions

    Hi,

    Tried to find something similar by search but didn't.

    Been very stuck with this for a few days. I have to generate a list of questions with a heading based on user input. In the attached sheet the user would select yes/no in column B.

    Column C generates a list of the ones with the yes answer and they would be the Category headings. Then in Column D to I would be the unique question identifiers. Column J generates a list of the all the question Identifiers that would be used.

    I've tried playing with Offset, Row and just can't seem to get anything to display right. I've tried to get the category headings to insert into column J, but it just breaks things. Currently I've deleted all my attempts, and reverted Column J back to a list of question ID's only.

    It would need to look like, with a space if possible after the Question ID part:

    Flatbed
    Questions Identifiers

    Dry Van
    Questions Identifiers

    Reefer
    Questions Identifiers

    Any help would be really appreciated, and if possible need the solution with a formula versus using Visual Basic, our IT guys gets grumpy with sheets that are built with them.
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Dynamically Generate a List of headers and questions

    Like this?
    Please try at J2 with CSE and copy down

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-11-2010
    Location
    Alberta, Canada
    MS-Off Ver
    Excel 2016
    Posts
    7

    Re: Dynamically Generate a List of headers and questions

    Works great, follow on question if I want to include the Group 2 (haven't written them yet) would that work?

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Dynamically Generate a List of headers and questions

    ํYes, adjust range to match Group 2 and include Header name.

    I add index, No need CSE

    K2

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-11-2010
    Location
    Alberta, Canada
    MS-Off Ver
    Excel 2016
    Posts
    7

    Re: Dynamically Generate a List of headers and questions

    Awesome, thank you so such. I never would have thought of using Match/Index

+ 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: 3
    Last Post: 08-10-2015, 09:58 AM
  2. dynamically generate list on userform
    By ArielZusya in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-21-2014, 02:43 PM
  3. Dynamically create headers in Excelsheet using Access table values
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-08-2014, 07:11 AM
  4. How to dynamically generate the Formula
    By simi in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-04-2013, 01:26 PM
  5. Generate Random Math Questions
    By danoost in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-24-2012, 04:03 PM
  6. Replies: 1
    Last Post: 05-25-2012, 11:03 PM
  7. [SOLVED] generate sub dynamically
    By Christian Galbavy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-11-2005, 01:06 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