If statement between ranges

Sushiboy

New Member
Joined
Jan 18, 2019
Messages
24
Struggling to get this to work.

Column A has a range of number of days

Trying to place a value so that if the number falls in a range, this will produce the narrative. Any ideas ppl please?

IF(AND(S2>=0,S2<=90,"0-3 Months",S2>=91,S2<=180,"3-6 Months",S2>=181,S2<=360),"6-10 Months","12 Months")



Ageing Business Days

12

12

12

13

13

14

16

17

17

18

21

24

24

24

24

24

24

24

29

29

40

44

44

44

44

44

44

61

66

67

74

76

78

103

131

174

197

208

230

271

289

296

356

362

369

381

389

404

419

431

457

684

904
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
How about
Excel Formula:
IF(S2<=90,"0-3 Months",IF(S2<=180,"3-6 Months",IF(S2<=360,"6-10 Months","12 Months")))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,875
Messages
6,122,037
Members
449,062
Latest member
mike575

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