Drop down boxes

Zakir Khan

New Member
Joined
Feb 18, 2005
Messages
2
I am making a pc pice calculator. :biggrin:
But i dont know how to make a drop down box that enables the end-user to select a computer product which automatically calculates the price into the total price cell. :rolleyes:
Please could i have some help and the steps of how to do this?
:confused:
Cheerz! :wink:
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
I am not sure how others would do it , but, I would do a simple validation with vlookup.

- Click Data in toolbar
- Validation
- Allow (change to list)
- go get your list
- Enter

Most data validations have to be on the same sheet, so I would plop
it way out to the right. Also, if you have your pick list at BB
I would put your price at BC.

Then if your drop down cell is C4, at d4 I would put in your
=vlookup(C4,xx.xx,2)

Good luck
 
Upvote 0
hey man, relax, I am not blind or something.

type a number of computer names on your sheet underneath each other. type the prices for them next to them.
Make a combobox (from the forms toolbar) rightclick on it and select format.
somewhere between those options, click rowsource. Click and drag your list of computers. click on linkedcell. click on another cell. click ok. click on the cell where you want the result in. click on the f(x) button on your toolbar. Select VLOOKUP. In the first field, click on the cell you have the computer name in (the cell linked to your combobox). in the second field, drag the list of computer names and prices. In the third field, type 2. In the fourth field, type false. Click ok.
ready.
 
Upvote 0
Oops, forgot (vlookup,a1,xx.xx,2,false) the false part

Hey H.

I like alternative methods, looking at that.
Did not have format, only (format control)...Properties had linked cell.
Perhaps old vers 97 does not have that...

I guess you could write some code behind it?
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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