I have tried this formula a NUMBER of different ways and still not able to get the result I'm looking for. I think I've researched it so much that I'm now trying the same things repeatedly and still not getting the answer, so I'll make my first post over...
I'm working with excel 2016, while all my other coworkers are with 2010, so I am a little limited on formulas.
I'm really basically trying to bring up the date the furthest away from today (in column C) based on cells in column A matching cell B - and the information is across sheets, but in the same workbook.
Here's the formula I have now: =IF(ISNA(MATCH(A1,'sheet2'!A:A,0)),"",(INDEX('sheet2'!B:B,(MAX(MATCH(A1,'sheet2'!A:A,0))))))
The IF(ISNA(MATCH(A1,'sheet2'!A:A,0)),"" part makes sure that a1 information is actually in sheet 2.
In sheet1
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]Header[/TD]
[TD]WBS[/TD]
[TD]Last Material Due[/TD]
[TD]How many materials[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0813.02[/TD]
[TD]Formula[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In sheet2:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]Header[/TD]
[TD]WBS[/TD]
[TD]DATE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0813.02[/TD]
[TD]02/22/19[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0813.02[/TD]
[TD]01/15/19[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]0799.01[/TD]
[TD]02/16/19[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]0813.02[/TD]
[TD]02/03/19[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]0654.02[/TD]
[TD]01/23/19[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]0813.02[/TD]
[TD]01/19/19[/TD]
[/TR]
</tbody>[/TABLE]
I hope all this makes sense. I substituted the actual formula for the tables above to try to give a visual representation. But basically I'm trying to say is if sheet 2 HAS the WBS (sheet 1 a1), then index all the matches in sheet 2 and give me the furthest date from B:B.
Thanks in advance.
I'm working with excel 2016, while all my other coworkers are with 2010, so I am a little limited on formulas.
I'm really basically trying to bring up the date the furthest away from today (in column C) based on cells in column A matching cell B - and the information is across sheets, but in the same workbook.
Here's the formula I have now: =IF(ISNA(MATCH(A1,'sheet2'!A:A,0)),"",(INDEX('sheet2'!B:B,(MAX(MATCH(A1,'sheet2'!A:A,0))))))
The IF(ISNA(MATCH(A1,'sheet2'!A:A,0)),"" part makes sure that a1 information is actually in sheet 2.
In sheet1
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]Header[/TD]
[TD]WBS[/TD]
[TD]Last Material Due[/TD]
[TD]How many materials[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0813.02[/TD]
[TD]Formula[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In sheet2:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]Header[/TD]
[TD]WBS[/TD]
[TD]DATE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0813.02[/TD]
[TD]02/22/19[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0813.02[/TD]
[TD]01/15/19[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]0799.01[/TD]
[TD]02/16/19[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]0813.02[/TD]
[TD]02/03/19[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]0654.02[/TD]
[TD]01/23/19[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]0813.02[/TD]
[TD]01/19/19[/TD]
[/TR]
</tbody>[/TABLE]
I hope all this makes sense. I substituted the actual formula for the tables above to try to give a visual representation. But basically I'm trying to say is if sheet 2 HAS the WBS (sheet 1 a1), then index all the matches in sheet 2 and give me the furthest date from B:B.
Thanks in advance.