Retrieve data from multi-column listbox for cell or textbox

Ron Morris

Active Member
Joined
Oct 18, 2004
Messages
430
Hi,

I have a listbox with 5 columns loaded through ADO from another workbook. I can populate a cell or textbox with the Bound column but I also want to populate a cell or textbox (haven't decided yet) with the data from column 5, based on the selection in the bound column.

I was using a Vlookup formula in a cell to retireve the data but have found a problem since the Bound column is a listing of customer names and we may have customers with multiple locations, so the Vlookup is finding the first instance and returning the wrong address, city, and account number.

How do I offset the listbox selection in the bound column to also provide me with data from the 5th column?

Thanks,

Ron
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Watch MrExcel Video

Forum statistics

Threads
1,130,169
Messages
5,640,547
Members
417,151
Latest member
ChickenTenderer

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
Top