Nested Formula, I think?

Gsrgofass

New Member
Joined
Nov 8, 2019
Messages
39
Office Version
  1. 2016
Platform
  1. Windows
Hello All,

I have to populate column B with 1 of 5 responses based on column A entries.
Responses are:
  • A blank cell in column A; blank cell in column B
  • < 0 days; "Past Due"
  • 0 to 15 days; "0 to 15"
  • 16-30 days; "16 to 30"
  • 31-60+ days; "31-60"
1679962935198.png


Thanks
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hello All,

I have to populate column B with 1 of 5 responses based on column A entries.
Responses are:
  • A blank cell in column A; blank cell in column B
  • < 0 days; "Past Due"
  • 0 to 15 days; "0 to 15"
  • 16-30 days; "16 to 30"
  • 31-60+ days; "31-60"
View attachment 88485

Thanks

Is it possible to write the column header name 'Category' into the formula? Would this save from having to copy the formula down into each cell?
 
Upvote 0
Try this:
Im not sure if IFS is a function available in 2016.

mr excel questions 20.xlsm
ABC
1 
2-50 to 15
380 to 15
42016 to 30
53531-60
66531-60
7
Sheet4
Cell Formulas
RangeFormula
B1:B6B1=IFS(A1="","",A1<=15,"0 to 15",A1<=30,"16 to 30",A1>30,"31-60")
 
Upvote 0
IFS is not in 365, so nested IF's it is:
mr excel questions 20.xlsm
ABC
1XL365XL2016
2  
3-5Past DuePast Due
480 to 150 to 15
52016 to 3015 to 30
63531-6031 - 60
76531-6031 - 60
Sheet4
Cell Formulas
RangeFormula
B2:B7B2=IFS(A2="","",A2<0,"Past Due",A2<=15,"0 to 15",A2<=30,"16 to 30",A2>30,"31-60")
C2:C7C2=IF(A2="","",IF(A2<0,"Past Due",IF(A2<=15,"0 to 15",IF(A2<=30,"15 to 30",IF(A2>30,"31 - 60")))))
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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