Listbox search function without duplicates

dss28

Board Regular
Joined
Sep 3, 2020
Messages
165
Office Version
  1. 2007
Platform
  1. Windows
I am enclosing my two sheets - first master data and second sheet showing a tabulated result which I want in a list box.
In the master sheet I have data in column A to R.
The columns F, G, R have same values for a one Patient ID (in column F). rest of the columns have different values for a given Patient ID

I want a listbox to show results of only columns F, G, R but in a single row without duplicates. (summary type)


search listbox data.xlsx
A
2
MastData


search listbox data.xlsx
J
19
ListBoxResult


can any one guide in this please.
 
Well, I still need a sample workbook.
I sorted it out by adding filter code to a column with serial number entry, and then copying the filtered data to another sheet which then is captured in the listbox.
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,223,248
Messages
6,171,021
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top