MephistophelesUK
New Member
- Joined
- May 21, 2021
- Messages
- 4
- Office Version
- 2016
- Platform
- Windows
I am really struggling on this one. At about the 5 hour mark of going round in circles and getting nowhere
.
I want my second table M5:O89 to query the data in the "To and From" columns of my first table and where there is overlapping dates - pull the information from there.
Easy to do in the numeric values using SUMIF's - so where there is overlap from Oct 72-74 the SUMIF returns 45 rather than just 30.
However, I also want to extract the text data - so for Oct 70 to Sept 72 it would return "A", but from Oct 72 to April 74 - "A,B" ... and so on.
I don't just want to check the six cells that are populated in my example so naming them won't work - it has to check the range.
I have had a suggestion of using TEXTJOIN but don't have 365 subscription so that doesn't seem to work.
There must be a way to do it but I am well and truly flummoxed.
I want my second table M5:O89 to query the data in the "To and From" columns of my first table and where there is overlapping dates - pull the information from there.
Easy to do in the numeric values using SUMIF's - so where there is overlap from Oct 72-74 the SUMIF returns 45 rather than just 30.
However, I also want to extract the text data - so for Oct 70 to Sept 72 it would return "A", but from Oct 72 to April 74 - "A,B" ... and so on.
I don't just want to check the six cells that are populated in my example so naming them won't work - it has to check the range.
I have had a suggestion of using TEXTJOIN but don't have 365 subscription so that doesn't seem to work.
There must be a way to do it but I am well and truly flummoxed.