Now the Popup Button only shows the first column of the testMenu variable for choosing (the Description in your example). Once chosen, the attached procedure searches the first column of testMenu for the value of menuOut that has been selected and uses that value to find the corresponding compound element of in the testMenu array. It then extracts the second or last part of that element. Now when you select Seven from the popup list, fileOut will have a value of Something7.
You can change the separators to the ones you are currently using. The only problem may be if you have two Descriptions with the same exact value.
Gary, I have to hand it to you. When I read the original question, I didn’t understand it and I thought it was impossible. However, I was just misreading it. Fortunately you did not do that.
Now that you’ve helped me understand the actual question, I have a slight improvement on the answer. In the Procedure panel I think it would be much simpler to use the arraylookup( function, which is designed for exactly this purpose.