Display multiple fields in drop-down list, return single value

jwuj97f

New Member
Joined
Aug 11, 2012
Messages
2
I am stuck, have a table with [ID, Fname, Lname, Amount].

Need to create drop-down list showing [ID, Fname & Lname]; ID be returned to be used in other calculations.

Is this possible in Excel or VBA?
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
You could add a column to your table to concatenate the 3 values and use that as the dropdown list
- concatenate in a way to make column values line up (if required)

Are IDs a consistent length? (alpha? Numeric? Leading zeros?)
 
Last edited:
Upvote 0
You could add a column to your table to concatenate the 3 values and use that as the dropdown list
- concatenate in a way to make column values line up (if required)

Are IDs a consistent length? (alpha? Numeric? Leading zeros?)


I achieved the desired result by adding a field to the end of the table; which identified the unique dates.

=SUM(IF(COUNTIF(A$3:A4,A4)<>1,0,COUNTIF(A$3:A4,A4)),BM3)

This formula worked really well. all I had to do was assign a name to the range, then use the = MAX(name) to get the max number unique values. then assigned the formula to dropdown list validation.

Thanks for your help
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,316
Members
452,634
Latest member
cpostell

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