I have a Table1 and I would like to find the row #s that correspond to a specific value (ListBox2 values) using a column header (ComboBox1 value).
I have a Table1 and I would like to find the row #s that correspond to a specific value (ListBox2 values) using a column header (ComboBox1 value).
It will be much easier to provide specific solutions if you attach a sample workbook, so we can see your data structure.
let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source
If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE
Walking the tightrope between genius and eejit...
Thanks for the reply.
If you run the macro, a userform will pop up. The combobox value is selected by the user. The listbox will be already populated in the original workbook.
I want to search for the header in the table that corresponds to the combobox value and find the row for the first value in the listbox.
Ultimately, what I need to do is find the first and last rows in the column for all the items in the listbox. But, if I know how to do the first task, I can figure out the rest.
So, in this example, say Merchant Group is selected, I want to find the first row (and eventually last row) with that first item in the listbox (Automotive).
Last edited by thisguy4000; 07-18-2014 at 11:27 AM.
Okay - try this:
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks