Logic Formulas

kosborn

New Member
Joined
Oct 1, 2010
Messages
5
I need to create a formula for a cell that has multiple tests with individual TRUE for each test...

example Slope is 1, 2, or 3. Each Slope has a differnet degree.

I need a formula the inputs the degree for each slope depending on what slope is enterered in a sperate cell.

In other words, if Column a is 1 then column B in the chart is 4, and if its 2 then the degree is 7.4, and so on....

I need Cell B26 to have an if formula that says if Cell B25 is equal to 1, then value should be 4, but if B25 is equal to 2 then value should be 7.4 and so on..... Can someone help?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
I need to create a formula for a cell that has multiple tests with individual TRUE for each test...

example Slope is 1, 2, or 3. Each Slope has a differnet degree.

I need a formula the inputs the degree for each slope depending on what slope is enterered in a sperate cell.

In other words, if Column a is 1 then column B in the chart is 4, and if its 2 then the degree is 7.4, and so on....

I need Cell B26 to have an if formula that says if Cell B25 is equal to 1, then value should be 4, but if B25 is equal to 2 then value should be 7.4 and so on..... Can someone help?


Just keep using IF statements within a single IF statement. the '[value_if_false]' would be your next condition if the previous one doesn't meet. So this is what you'd put:

=IF(B25=1,4,IF(B25=2,7.4,IF(B25=........))) etc.

good luck
 
Upvote 0
Ok it will only let me nest 8 levels, which is fine I will cope but once I got it all entered it just replied false.... I need it to enter the if true value, I don't even have an if false value.

Do I need an If(Or( formula possibly?
 
Upvote 0
Nevermind I got reference wrong base cell.... always something dumb or easy or both. Thank You!!!
 
Upvote 0
Excel Workbook
AB
1910.11
Sheet1
Excel Workbook
LM
114
227.3
339
445
557
669
7715
8819.3
9910.11
Sheet1
 
Upvote 0

Forum statistics

Threads
1,215,459
Messages
6,124,944
Members
449,198
Latest member
MhammadishaqKhan

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