formula derived from cells

abanky

Board Regular
Joined
Apr 23, 2002
Messages
144
Office Version
  1. 2019
Platform
  1. Windows
I know i've done this before, but can't figure it out.

A1: is a data validation list: Sum, Max, Min
A2: is a number
A3: is a number

I want a4 to become a formula based upon what is dropped down in A1 so, Sum(A2,A3), or Max(A2,A3), or Min(A2,A3)
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
wasn't sure if there was a way to do it with out adding that mod
 
Upvote 0
If you have XL2010 or higher, here is one option:

=AGGREGATE(INDEX({9,4,5},MATCH(A1,{"Sum","Max","Min"},0)),4,A2:A3)
 
Upvote 0

Forum statistics

Threads
1,203,241
Messages
6,054,326
Members
444,717
Latest member
melindanegron

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