Multiple formula options in cell

FROGGER24

Well-known Member
Joined
May 22, 2004
Messages
704
Office Version
  1. 2013
  2. 2010
Platform
  1. Windows
In cell N1 if the value is A,B,C,D then use formula 1,if N1 = 2 use formula 2, if N1=3 use formula 3, if n1 =4 use formula 4, if n1 =5 use formula 5, if n1= 6 use formula 6, if n1 = 7 use formula 7.

Thanks in advance for any help provide.
 

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.
Would something like this work?

=CHOOSE(IF(OR(N1="A",N1="B",N1="C",N1="D"), 1, N1), "formula 1", "formula 2", "formula 3"...etc
 
Upvote 0
Not sure I understand that formula. In cell O3 would like a formula that would include all of theses formulas:

=IF(R1C16="2", ROUND(1.031118+(-5.1827*10^-4)*RC[-2]+(-3.5109*10^-9)*RC[-2]^2+(-1.9836*10^-11)*RC[-2]^3,5)
=IF(R1C16="3",ROUND(1.031118+(-5.1827*10^-4)*RC[-2]+(-3.5109*10^-9)*RC[-2]^2+(-1.9836*10^-11)*RC[-2]^3,5))
=IF(R1C16="4",ROUND(1.038382492+(-6.2307*10^-4)*RC[-2]+(-2.8505*10^-7)*RC[-2]^2+(1.2692*10^-10)*RC[-2]^3,5))
=IF(R1C16="5",ROUND(1.031436449+(-5.2302*10^-4)*RC[-2]+(-2.5217*10^-9)*RC[-2]^2+(-2.1384*10^-10)*RC[-2]^3,5))
=IF(R1C16="6",ROUND(1.032307+(-5.2815*10^-4)*RC[-2]+(-1.8416*10^-7)*RC[-2]^2+(1.89256*10^-10)*RC[-2]^3,5))
=IF(R1C16="7",ROUND(1.035323647+(-5.8887*10^-4)*RC[-2]+(2.46508*10^-9)*RC[-2]^2+(-7.2802*10^-12)*RC[-2]^3,5))
=ROUND(V_C_F(RC[-1],RC[-2],R1C16,0,0,),5)
 
Upvote 0

Forum statistics

Threads
1,215,923
Messages
6,127,721
Members
449,399
Latest member
VEVE4014

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