TEXTJOIN over multiple rows and 3 columns with specific date range

Allen_Mead

New Member
Joined
May 31, 2019
Messages
34
Office Version
  1. 365
Platform
  1. Windows
I want to be able to use the textjoin function to pull data from our CPD table into a summary for the working week, driven by the date on a given Monday (this will be in a separate cell)

The CPD table will be constantly updated and will include old data (as need to keep a record of all undertaken) and future information.

I would like the data to display as a weekday

Really stuck on this, screen shot attached (sorry i cannot install the XL2BB add on as I'm on a work computer) Many thanks for any help!
 

Attachments

  • Screenshot 2024-01-05 120133.png
    Screenshot 2024-01-05 120133.png
    26.1 KB · Views: 41

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
I have another variation that I would like to add in. If the date column is empty (sometimes the date is unknown) I would still like to include the row. I assume the sort function would pull the data with a blank date first, is that possible?
 
Upvote 0
Is there anything else that you have forgotten to mention?
 
Upvote 0
Is there anything else that you have forgotten to mention?
No I don't think so. My apologies for adding additional variations, my brief keeps being added to and I've asked the same question. I'll have no further queries on this formula. Many thanks for your time and help, if I could, I'd get you a beer.
 
Upvote 0
Ok, try
Excel Formula:
=TEXTJOIN(CHAR(10),,BYROW(SORT('CPD-Meetings'!A3:D300,4),LAMBDA(br,IF(OR(INDEX(br,,4)="",AND(INDEX(br,,4)>=D1-7,INDEX(br,,4)<=D1)),TEXTJOIN({": (",") "," "},,TEXT(INDEX(br,,4),"dddd"),CHOOSECOLS(br,2,3,1)),""))))
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,971
Members
452,371
Latest member
Frana

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