If, Ifs and statements

Pkocienda

New Member
Joined
Jan 6, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Good Afternoon,

I am looking for help in creating a formula. I have tried multiple if, ifs and statements and cannot get the desired result.

I would like the result to populate in Column G. (The result would be 1,2,3,4 or ,5)

I need help in putting this as one formula in G2. The result in G2 would be 3

If B2<C2, 1
If B2<D2, 2
IF B2<E2, 3
If B2<F2,4
If B2>=F2,5

ABCDEFG
NameRate10th33.33rd66.67th90thResult
Getting care easily​
0.877​
0.825​
0.868​
0.900​
0.924​
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Ifs (B2<C2, 1, B2<D2, 2, B2<E2, 3, B2<F2,4, B2>=F2,5, TRUE, 0 )

but it works left to right
 
Upvote 0
Book9
ABCDEFG
1NameRate10th33.33rd66.67th90thResult
2Getting care easily0.8770.8250.8680.9000.9243
Sheet1
Cell Formulas
RangeFormula
G2G2=IFS(B2<C2,1,B2<D2,2,B2<E2,3,B2<F2,4,B2>=F2,5,TRUE,0)
 
Upvote 0
Solution
Book9
ABCDEFG
1NameRate10th33.33rd66.67th90thResult
2Getting care easily0.8770.8250.8680.9000.9243
Sheet1
Cell Formulas
RangeFormula
G2G2=IFS(B2<C2,1,B2<D2,2,B2<E2,3,B2<F2,4,B2>=F2,5,TRUE,0)
Book9
ABCDEFG
1NameRate10th33.33rd66.67th90thResult
2Getting care easily0.8770.8250.8680.9000.9243
Sheet1
Cell Formulas
RangeFormula
G2G2=IFS(B2<C2,1,B2<D2,2,B2<E2,3,B2<F2,4,B2>=F2,5,TRUE,0)
Book9
ABCDEFG
1NameRate10th33.33rd66.67th90thResult
2Getting care easily0.8770.8250.8680.9000.9243
Sheet1
Cell Formulas
RangeFormula
G2G2=IFS(B2<C2,1,B2<D2,2,B2<E2,3,B2<F2,4,B2>=F2,5,TRUE,0)
Thank you for your help
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,269
Members
449,075
Latest member
staticfluids

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