[TABLE="width: 668"]
<tbody>[TR]
[TD]Location[/TD]
[TD]Exp Date[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 4"]Status[/TD]
[/TR]
[TR]
[TD]North[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]North[/TD]
[TD]East[/TD]
[TD]South[/TD]
[TD]West[/TD]
[/TR]
[TR]
[TD]North[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]URGENT[/TD]
[TD]READY[/TD]
[TD]URGENT[/TD]
[TD]REQUIRED[/TD]
[/TR]
[TR]
[TD]East[/TD]
[TD]1/11/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]South[/TD]
[TD]20/05/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]North[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]South[/TD]
[TD]1/06/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]East[/TD]
[TD]15/10/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]West[/TD]
[TD]10/06/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have a table (Above) that tells me when a location is going out of date. I would also like the status to report "no stock" if the matching location is not listed and "Ready" if there are no dates for that location.
The array formula used so far is {=IF(MIN(IF((Table1[Location]=H4)*(Table1[Exp Date]<>""),Table1[Exp Date]))<today()+15,"urgent",if(min(if((table1[location]=h4)*(table1[exp date]<="">""),Table1[Exp Date]))<today()+90,"required","ready"))}
For this example H4 is "North" Underlined
</today()+90,"required","ready"))}
</today()+15,"urgent",if(min(if((table1[location]=h4)*(table1[exp>
<tbody>[TR]
[TD]Location[/TD]
[TD]Exp Date[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 4"]Status[/TD]
[/TR]
[TR]
[TD]North[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]North[/TD]
[TD]East[/TD]
[TD]South[/TD]
[TD]West[/TD]
[/TR]
[TR]
[TD]North[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]URGENT[/TD]
[TD]READY[/TD]
[TD]URGENT[/TD]
[TD]REQUIRED[/TD]
[/TR]
[TR]
[TD]East[/TD]
[TD]1/11/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]South[/TD]
[TD]20/05/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]North[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]South[/TD]
[TD]1/06/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]East[/TD]
[TD]15/10/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]West[/TD]
[TD]10/06/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have a table (Above) that tells me when a location is going out of date. I would also like the status to report "no stock" if the matching location is not listed and "Ready" if there are no dates for that location.
The array formula used so far is {=IF(MIN(IF((Table1[Location]=H4)*(Table1[Exp Date]<>""),Table1[Exp Date]))<today()+15,"urgent",if(min(if((table1[location]=h4)*(table1[exp date]<="">""),Table1[Exp Date]))<today()+90,"required","ready"))}
For this example H4 is "North" Underlined
</today()+90,"required","ready"))}
</today()+15,"urgent",if(min(if((table1[location]=h4)*(table1[exp>