Making drop down menu represent an item & cost

%3CLINGO-SUB%20id%3D%22lingo-sub-1266428%22%20slang%3D%22en-US%22%3EMaking%20drop%20down%20menu%20represent%20an%20item%20%26amp%3B%20cost%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1266428%22%20slang%3D%22en-US%22%3E%3CP%3EHello.%26nbsp%3B%20What%20I%20need%20to%20do%20is%20create%20a%20drop%20down%20menu%20that%20has%20specific%20items%20in%20it%20that%20also%20reflect%20a%20cost.%20Then%20be%20able%20to%20take%20that%20cost%20and%20multiply%20it%20by%20another%20cell.%3C%2FP%3E%3CP%3EExample%3C%2FP%3E%3CP%3ECell%20A1%20is%20a%20drop%20down%20menu.%26nbsp%3B%20I%20select%20(Car).%20Car%20has%20rate%20of%20%2450%20associated%20with%20it%20somehow.%26nbsp%3B%20In%20cell%20B1%20I%20put%2010.%26nbsp%3B%20In%20cell%20C1%20the%20math%20result%20of%20Cells%20A1%20%26amp%3B%20B1%20being%20multiplied%20leaving%20%24500.00.%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20this%20be%20done%3F%20%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1266428%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1267633%22%20slang%3D%22en-US%22%3ERe%3A%20Making%20drop%20down%20menu%20represent%20an%20item%20%26amp%3B%20cost%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1267633%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F600154%22%20target%3D%22_blank%22%3E%40mark_bates%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20create%20a%20table%20with%20each%20name%20and%20its%20associated%20value.%3C%2FP%3E%3CP%3EThen%2C%20in%20cell%20C2%20use%20a%20lookup%20formula%20to%20return%20the%20associated%20value%20of%20the%20name%20in%20cell%20A2%20and%20then%20multiply%20it%20by%20the%20value%20in%20cell%20B2.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Associated%20values.png%22%20style%3D%22width%3A%20668px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F180859iDD667C83C6B34F06%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Associated%20values.png%22%20alt%3D%22Associated%20values.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20helps%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1268412%22%20slang%3D%22en-US%22%3ERe%3A%20Making%20drop%20down%20menu%20represent%20an%20item%20%26amp%3B%20cost%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1268412%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%20on%20the%20right%20track.%26nbsp%3B%20What%20if%20the%20table%20is%20on%20another%20page%3F%20also%20how%20do%20you%20label%20the%20table%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1268448%22%20slang%3D%22en-US%22%3ERe%3A%20Making%20drop%20down%20menu%20represent%20an%20item%20%26amp%3B%20cost%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1268448%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F600154%22%20target%3D%22_blank%22%3E%40mark_bates%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20move%20the%20table%20to%20a%20new%20sheet%2C%20and%20refer%20to%20it%20in%20the%20formula.%3C%2FP%3E%3CP%3ETo%20change%20the%20table%20name%2C%20select%20any%20cell%20of%20it%2C%20then%20go%20to%20%3CSTRONG%3ETable%20Design%20%26gt%3B%26gt%3B%20Table%20Name%3C%2FSTRONG%3E%20as%20follows%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Change%20table%20name.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F180940iB31C1CF176ADAD5C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Change%20table%20name.png%22%20alt%3D%22Change%20table%20name.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20note%20that%20the%20formula%20will%20update%20automatically%20with%20the%20new%20name.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1268536%22%20slang%3D%22en-US%22%3ERe%3A%20Making%20drop%20down%20menu%20represent%20an%20item%20%26amp%3B%20cost%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1268536%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3EOk%20I%20got%20that%20part.%26nbsp%3B%20My%20Excel%20didn't%20have%20table%20design%20in%20the%20ribbon%20for%20some%20reason.%26nbsp%3B%20If%20you%20don't%20mind%20could%20you%20look%20at%20my%20Excel%3F%20On%20Sheet1%2C%20Cell%20A19%20I%20need%20the%20drop%20down%20to%20select%20equipment%20from%20the%20Equip%20Page%2C%20Cell%20A1%20(equipment%20description).%26nbsp%3B%20I%20also%20need%20for%20the%20rate%20on%20Equip%2C%20Cell%20B1%20to%20go%20to%20Sheet%201%2C%20Cell%20B19.%26nbsp%3B%20This%20would%20make%20it%20so%20when%20I%20select%20a%20piece%20of%20equipment%20the%20rate%20for%20the%20equipment%20would%20automatically%20go%20to%20Sheet1%2C%20Cell%20B19.%20%26nbsp%3B%26nbsp%3B%20Thanks%20for%20the%20help.%26nbsp%3B%20I%20have%20watched%20countless%20You%20Tube%20Videos%20and%20im%20spinning%20my%20wheels.%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1269983%22%20slang%3D%22en-US%22%3ERe%3A%20Making%20drop%20down%20menu%20represent%20an%20item%20%26amp%3B%20cost%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1269983%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F600154%22%20target%3D%22_blank%22%3E%40mark_bates%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOkay%2C%20done.%3C%2FP%3E%3CP%3EPlease%20find%20the%20attached%20file.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello.  What I need to do is create a drop down menu that has specific items in it that also reflect a cost. Then be able to take that cost and multiply it by another cell.

Example

Cell A1 is a drop down menu.  I select (Car). Car has rate of $50 associated with it somehow.  In cell B1 I put 10.  In cell C1 the math result of Cells A1 & B1 being multiplied leaving $500.00.  

 

How can this be done?    

 

6 Replies

@mark_bates

 

Hi,

 

You can create a table with each name and its associated value.

Then, in cell C2 use a lookup formula to return the associated value of the name in cell A2 and then multiply it by the value in cell B2.

Associated values.png

 

 

Hope that helps

 

Thanks @Haytham Amairah on the right track.  What if the table is on another page? also how do you label the table?

@mark_bates

 

You can move the table to a new sheet, and refer to it in the formula.

To change the table name, select any cell of it, then go to Table Design >> Table Name as follows:

Change table name.png

 

Please note that the formula will update automatically with the new name.

 

Regards

@Haytham AmairahOk I got that part.  My Excel didn't have table design in the ribbon for some reason.  If you don't mind could you look at my Excel? On Sheet1, Cell A19 I need the drop down to select equipment from the Equip Page, Cell A1 (equipment description).  I also need for the rate on Equip, Cell B1 to go to Sheet 1, Cell B19.  This would make it so when I select a piece of equipment the rate for the equipment would automatically go to Sheet1, Cell B19.    Thanks for the help.  I have watched countless You Tube Videos and im spinning my wheels.  

@mark_bates

 

Okay, done.

Please find the attached file.

Hi Haytham,

I know this was a while ago but you may be able to help.

I've got your above solution working, but what if my columns are not side by side and three are columns in between that I wish to ignore?

Example, I have my description in column B but my costs are in column E