populate a cell based on either a formula or text

grapevine

Board Regular
Joined
May 23, 2007
Messages
208
I have a field that needs to be populated with either the result of a formula or a manual input and am wondering whether I could do this with means of an input box?

I have a drop down list (validation) say in cell K11 with various percentage commission rates and the option of a fixed rate. the percentages are easy to deal with as I can put a formula in a cell (say J11) to work out the commision based on selling price and the rate selected, but if a fixed rate as been agreed I was wondering whether i could put VBA to check if Fixed is select to bring up a dialog box where a manual price can be entered which could populate a cell (AA11) which the if statement could then pick up. (as I do not want users overwriting the formula.)
any suggestions on the coding or a better solution would be appreciation
Many thanks
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,215,059
Messages
6,122,913
Members
449,093
Latest member
dbomb1414

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