Hi, I have gone round & round in circles trying to find a solution to this.
In sheet1 I have a bunch of document names & the dates that the documents were revised like this:
[TABLE="width: 284"]
<tbody>[TR]
[TD]Doc Number
[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]Company-DDA-C101_1-50003[/TD]
[TD="align: right"]27/03/2019[/TD]
[/TR]
[TR]
[TD]Company-DDA-C101_1-60003[/TD]
[TD="align: right"]28/11/2018[/TD]
[/TR]
[TR]
[TD]Company-DDA-C101_1-60004[/TD]
[TD="align: right"]26/02/2019[/TD]
[/TR]
</tbody>[/TABLE]
This report is generated from a database, so I can't edit it.
In sheet2 I have:
<tbody>
[TD="class: xl1084"]Model[/TD]
[TD="class: xl1086"]Date[/TD]
[TD="class: xl1085, align: right"]27/03/2019[/TD]
[TD="class: xl1085, align: right"]28/11/2019[/TD]
[TD="class: xl1085, align: right"]28/11/2019[/TD]
[TD="class: xl1085, align: right"]28/11/2019[/TD]
</tbody>
What I would like is to find a formula to go in the date column of sheet2 that returns the latest (max) date from sheet 1 in rows that contain the text string "*C101_1-60*.
The text string is extracted from the cells in the model column on sheet2.
I'm currently using an index with match function but as you can see it's just returning the first row from the match function rather than the max date from rows 2&3 in sheet1.
I have tried using a max function with if cell range equals text but it doesn't like the wildcards.
Sorry for how lengthy this post is but I wanted to put as much information as possible.
In sheet1 I have a bunch of document names & the dates that the documents were revised like this:
[TABLE="width: 284"]
<tbody>[TR]
[TD]Doc Number
[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]Company-DDA-C101_1-50003[/TD]
[TD="align: right"]27/03/2019[/TD]
[/TR]
[TR]
[TD]Company-DDA-C101_1-60003[/TD]
[TD="align: right"]28/11/2018[/TD]
[/TR]
[TR]
[TD]Company-DDA-C101_1-60004[/TD]
[TD="align: right"]26/02/2019[/TD]
[/TR]
</tbody>[/TABLE]
This report is generated from a database, so I can't edit it.
In sheet2 I have:
Company-DMA-C101_1-50001 |
Company-DMA-C101_1-60001 |
Company-DMA-C101_1-60002 |
Company-DMA-C101_1-60003 |
<tbody>
[TD="class: xl1084"]Model[/TD]
[TD="class: xl1086"]Date[/TD]
[TD="class: xl1085, align: right"]27/03/2019[/TD]
[TD="class: xl1085, align: right"]28/11/2019[/TD]
[TD="class: xl1085, align: right"]28/11/2019[/TD]
[TD="class: xl1085, align: right"]28/11/2019[/TD]
</tbody>
What I would like is to find a formula to go in the date column of sheet2 that returns the latest (max) date from sheet 1 in rows that contain the text string "*C101_1-60*.
The text string is extracted from the cells in the model column on sheet2.
I'm currently using an index with match function but as you can see it's just returning the first row from the match function rather than the max date from rows 2&3 in sheet1.
I have tried using a max function with if cell range equals text but it doesn't like the wildcards.
Sorry for how lengthy this post is but I wanted to put as much information as possible.