question about formulas

Globster

New Member
Joined
Jan 25, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
First of all - Thank you very much for any help.

I have a following question - how it is possible (i know it is) to fill a cell with a formula based on dropdown list in another cell:

Example:
In a1 i have height in b1 width in c1 im sellecting from list circumference and area and in d1 is either =2*(a1+b1) or =a1*b1

This is only basic example - in reality i have a long list containg "extras" to product price and each of those have separate formula.

I can go with =CHOOSE(MATCH(dropdown, list of options, 0), 1st formula, 2nd formula, ...) BUT i have a list which is growing and i have to modify this formula everywhere and everytime when i add or worse modify formulas.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
aaa important NOTE - i have to avoid VBA because workbook will be distributed to customers.
 
Upvote 0
Are you saying you want to tell the calculation cell what to do based on a drop down text that says calculate "xyz statistic" but have no calculation information in the cell that displays the result? Without VBA? I don't think that is possible.
 
Upvote 0
There must be a way to do something like this:

1674728576911.png
 
Upvote 0
If you find a way to do this without VBA please tag me with that solution. I would like that too!
 
Upvote 0

Forum statistics

Threads
1,214,793
Messages
6,121,619
Members
449,039
Latest member
Mbone Mathonsi

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