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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,214,646
Messages
6,120,720
Members
448,986
Latest member
andreguerra

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