Assigning a cell to a certain name

Succeeding4

New Member
Joined
Jun 12, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I am trying to take a column with aging numbers and assign them to categories, so for instance I have tasks that are past due and I want to show the number of days within groups like 0-30 days, 31-60 days etc...how do I do that?
 

Attachments

  • Screenshot 2023-06-12 105902.png
    Screenshot 2023-06-12 105902.png
    110 KB · Views: 2

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Create a lookup table with the required days and use XLOOKUP 9or VLOOKUP) to return the closest match.

Book4
ABCDE
1days agedaging (lookup)daysaging
200 to 30 Days00 to 30 Days
3100 to 30 Days3131 to 60 Days
4290 to 30 Days6161 to 90 Days
5300 to 30 Days9091 to 120 Days
63131 to 60 Days121121+ Days
74531 to 60 Days
86031 to 60 Days
96161 to 90 Days
108861 to 90 Days
119091 to 120 Days
129191 to 120 Days
1311091 to 120 Days
1412091 to 120 Days
15121121+ Days
16150121+ Days
17170121+ Days
Sheet1
Cell Formulas
RangeFormula
B2:B17B2=XLOOKUP(A2,$D$2:$D$6,$E$2:$E$6,,-1)
 
Upvote 0
Solution

Forum statistics

Threads
1,215,273
Messages
6,123,985
Members
449,137
Latest member
abdahsankhan

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