drop down option

peerogel

Board Regular
Joined
Jan 25, 2011
Messages
108
I am horrible at explaining things so hopefully I do this right. :confused:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
Cell A1:A3 will be my input values. Cell B1 adds those values. <o:p></o:p>
<o:p></o:p>
I wanted Cell C1 when B1 was grater than zero to return as FPS.<o:p></o:p>
<o:p></o:p>
I got it to work by doing the following if function. (=IF(B1>0,"FPS",""))<o:p></o:p>
<o:p></o:p>
However I also wanted to make a dropdown in cell C1 with two options "FPS" and "MPH". But I read somewhere in the forums that you cannot combine the dropdown and the if formula. <o:p></o:p>
<o:p></o:p>
So I was wondering if I can get some help. <o:p></o:p>
<o:p></o:p>
My main goal is to make the drop down in cell C1 with those two options (FPS and MPH). When the values in A1:A3 are entered C1 automatically changes to FPS. Then if I pull down the drop down and Choose "MPH", B1 gets divided by 1.466. <o:p></o:p>
<o:p></o:p>
or have cell b1 with formatted with to return the value with "fps" and if MPH is selected in change the format to "mph" and somehow also divide it by 1.466. :eeek:<o:p></o:p>
<o:p></o:p>
I don’t mind hiding cells, I tried VLookup but im not good at using it and just could not get it to work. <o:p></o:p>
<o:p></o:p>
Thanks for any help. <o:p></o:p>
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
:cool: lol..why, it shouldn't??

I kept getting a run time error '13' every time i cleared the cells. Also if if only one of the cells had value (a2 or a3). So far that cleared the error and have not noticed anything else.
 
Upvote 0
One more question if you dont mind. The keep having an issue with the workbook I created with all the equations I need.

I have several tabs with all the equations I need. So I created a menu. The menu has a scroll bar with the types of equations. Then there is a list box with different equations dependent of the scroll bar. So I can select a type of equation and the list box gives me a list of equations available for the type of equation selected.

On the menu I also made it so a picture of the formula appears when an equation is selected on the list box.

And Finally i have a button that takes you to the appropiate tab of the where i have the equation.

Once on the tab (in this case the tab with the radius equation). I also have a clear cells macro that i recorded.

For what ever reason after i pluggled in the macros you created the tab slows down alot when clearing the input cells or clicking the clear cells button i recorded.

Is there just to much stuff going on, in the worksheet? or do you think the worksheet is corrupted somehow or is that just normal.
 
Upvote 0
Nope :)

You just need:
Application.Calculation=xlCalculationManual
at the top of your code and the below at the bottom:
Application.Calculation=xlCalculationAutomatic
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,308
Members
452,904
Latest member
CodeMasterX

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