Automatically create a list in date order taken from a number of Grouped fields

rushdenx1

New Member
Joined
Oct 7, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
The enclosed file (some confidential information has been blacked out) shows groups of customers and when their contract is due for renewal. What I would like is formulas which will automatically create the information shown in the yellow boxes. (columns G-I). I have manually filled in these boxes with 8 entries, but would like the list to include all customers and renewal dates. I am using Office 365 ProPlus. Any help appreciated. Kevin. in the UK.

Example.xlsx
ABCDEFGHI
1Group 1
2CustomerDatePer MonthProviderRenewal DateContracts up for renewal by date
3Utilities1st-£ 180.00Octopus13/11/21CustomerRenewal DateDays until Renewal
4Tax1st-£ 223.00SKDC26/11/21Insurance10/10/213
5TV1st-£ 67.50Sky04/05/22Bank 115/10/218
6Travel17th-£ 5.00Elm Services01/02/22Bank 216/10/219
7Retail24th-£ 9.99Spotify03/03/22Sport21/10/2114
8Medical26th-£ 53.00Virgin Media19/01/22Licence01/11/2125
9-£ 538.49Utilities13/11/2137
10Group 2Service20/11/2144
11Customer Cost per yr Per MonthProviderRenewal DateBS23/11/2147
12Water-£ 488.00-£ 40.67Anglian Water14/02/22
13 Construction-£ 320.00-£ 26.67Direct Line15/02/22
14 Insurance-£ 358.00-£ 29.83Halifax10/10/21
15Licence-£ 157.50-£ 13.13Government01/11/21
16Car-£ 490.00-£ 40.83DVLA01/08/22
17Service-£ 1,000.00-£ 83.33Vertu20/11/21
18Post-£ 25.00-£ 2.08Ring25/09/22
19Sport-£ 105.00-£ 8.75Rouvy21/10/21
20-£ 245.29
21Group 3
22CustomerTypeRateStartedRenewal Date
23Bank 1Instant Saver15/10/21
24Bank 21yr Fixed1.01%16/10/2016/10/21
25Bank 31yr Regular 1.05%16/02/2116/02/22
26Bank 41yr ISA0.41%18/04/2118/04/22
27Bank 51yr Fixed1.23%13/08/2113/08/22
28
29Group 4
30CustomerTypeRateStartedRenewal Date
31Drink2 yr Fixed0.71%23/03/2123/03/23
32Leisure2 yr Fixed0.76%01/04/2101/04/23
33Commercial1 yr Fixed0.59%14/04/2114/04/22
34Train1yr Fixed1.00%09/06/2109/06/22
35Airport95 day notice0.60%11/04/2101/06/23
36BSEasy Access0.45%01/05/2123/11/21
37ISALtd Easy Access0.55%26/07/2112/12/21
Sheet1
Cell Formulas
RangeFormula
C9C9=SUM(C3:C8)
C12:C19C12=SUM(B12)/12
C20C20=SUM(C12:C19)
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi & welcome to MrExcel.
How about
Excel Formula:
=LET(Fltr,SORT(FILTER(A3:E37,ISNUMBER(E3:E37)),5),CHOOSE({1,2,3},INDEX(Fltr,,1),INDEX(Fltr,,5),INDEX(Fltr,,5)-TODAY()))
 
Upvote 0
Many Thanks for the quick reply. My excel knowledge is pretty basic so where do I put the formula? I have pasted it into a blank cell and it says #NAME?
 
Upvote 0
Ok, you may not have the LET function yet, try
+Fluff 1.xlsm
AEFGHI
1Group 1
2CustomerRenewal Date
3Utilities13/11/2021CustomerRenewal DateDays until Renewal
4Tax26/11/2021 Insurance10/10/20213
5TV04/05/2022Bank 115/10/20218
6Travel01/02/2022Bank 216/10/20219
7Retail03/03/2022Sport21/10/202114
8Medical19/01/2022Licence01/11/202125
9Utilities13/11/202137
10Group 2Service20/11/202144
11CustomerRenewal DateBS23/11/202147
12Water14/02/2022Tax26/11/202150
13 Construction15/02/2022ISA12/12/202166
14 Insurance10/10/2021Medical19/01/2022104
15Licence01/11/2021Travel01/02/2022117
16Car01/08/2022Water14/02/2022130
17Service20/11/2021 Construction15/02/2022131
18Post25/09/2022Bank 316/02/2022132
19Sport21/10/2021Retail03/03/2022147
20Commercial14/04/2022189
21Group 3Bank 418/04/2022193
22CustomerRenewal DateTV04/05/2022209
23Bank 115/10/2021Train09/06/2022245
24Bank 216/10/2021Car01/08/2022298
25Bank 316/02/2022Bank 513/08/2022310
26Bank 418/04/2022Post25/09/2022353
27Bank 513/08/2022Drink23/03/2023532
28Leisure01/04/2023541
29Group 4Airport01/06/2023602
30CustomerRenewal Date
31Drink23/03/2023
32Leisure01/04/2023
33Commercial14/04/2022
34Train09/06/2022
35Airport01/06/2023
36BS23/11/2021
37ISA12/12/2021
Lists
Cell Formulas
RangeFormula
G4:H29G4=INDEX(SORT(FILTER(A3:E37,ISNUMBER(E3:E37)),5),SEQUENCE(ROWS(SORT(FILTER(A3:E37,ISNUMBER(E3:E37)),5))),{1,5})
I4:I29I4=INDEX(G4#,,2)-TODAY()
Dynamic array formulas.
 
Upvote 0
Solution
Ok, you may not have the LET function yet, try
+Fluff 1.xlsm
AEFGHI
1Group 1
2CustomerRenewal Date
3Utilities13/11/2021CustomerRenewal DateDays until Renewal
4Tax26/11/2021 Insurance10/10/20213
5TV04/05/2022Bank 115/10/20218
6Travel01/02/2022Bank 216/10/20219
7Retail03/03/2022Sport21/10/202114
8Medical19/01/2022Licence01/11/202125
9Utilities13/11/202137
10Group 2Service20/11/202144
11CustomerRenewal DateBS23/11/202147
12Water14/02/2022Tax26/11/202150
13 Construction15/02/2022ISA12/12/202166
14 Insurance10/10/2021Medical19/01/2022104
15Licence01/11/2021Travel01/02/2022117
16Car01/08/2022Water14/02/2022130
17Service20/11/2021 Construction15/02/2022131
18Post25/09/2022Bank 316/02/2022132
19Sport21/10/2021Retail03/03/2022147
20Commercial14/04/2022189
21Group 3Bank 418/04/2022193
22CustomerRenewal DateTV04/05/2022209
23Bank 115/10/2021Train09/06/2022245
24Bank 216/10/2021Car01/08/2022298
25Bank 316/02/2022Bank 513/08/2022310
26Bank 418/04/2022Post25/09/2022353
27Bank 513/08/2022Drink23/03/2023532
28Leisure01/04/2023541
29Group 4Airport01/06/2023602
30CustomerRenewal Date
31Drink23/03/2023
32Leisure01/04/2023
33Commercial14/04/2022
34Train09/06/2022
35Airport01/06/2023
36BS23/11/2021
37ISA12/12/2021
Lists
Cell Formulas
RangeFormula
G4:H29G4=INDEX(SORT(FILTER(A3:E37,ISNUMBER(E3:E37)),5),SEQUENCE(ROWS(SORT(FILTER(A3:E37,ISNUMBER(E3:E37)),5))),{1,5})
I4:I29I4=INDEX(G4#,,2)-TODAY()
Dynamic array formulas.
Many Thanks. Works !!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,361
Members
449,080
Latest member
Armadillos

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