So I am trying to add an OR function to my array but I either get all False or all True.
Compared to a certain date, I want to display the date of when an item is upgraded with either:
Type_1
Type_2 with Ver_1
Type_2 with Ver_2
If any other item type comes up (example: an item has an upgrade of a Type_4), it should be ignored and not displayed. Right now my code is displaying each item and their upgrade date and type.
Example Data of an 4 item list:
Column A: List of Items (A1 is the reference for the first item. It will change based on the item)
Column B: Dates to be upgraded (B6 is the date being compared)
Column C: End of upgrade
Column E: List of Types
Column F: List of versions
=IFERROR(INDEX(B1:B4,MATCH(A1&MIN(IF((A1:A4=A1)*(B1:B4>=B6)*((E1:E4="Type_1" >0)+(AND(E1:E4="Type_2",F1:F4="Ver_1")>0)+(AND(E1:E4="Type_2",F1:F4="Ver_2")>0)),IF(B1:B4>=A6,C1:C4))),A1:A4&C1:C4,0)),"-")
Compared to a certain date, I want to display the date of when an item is upgraded with either:
Type_1
Type_2 with Ver_1
Type_2 with Ver_2
If any other item type comes up (example: an item has an upgrade of a Type_4), it should be ignored and not displayed. Right now my code is displaying each item and their upgrade date and type.
Example Data of an 4 item list:
Column A: List of Items (A1 is the reference for the first item. It will change based on the item)
Column B: Dates to be upgraded (B6 is the date being compared)
Column C: End of upgrade
Column E: List of Types
Column F: List of versions
=IFERROR(INDEX(B1:B4,MATCH(A1&MIN(IF((A1:A4=A1)*(B1:B4>=B6)*((E1:E4="Type_1" >0)+(AND(E1:E4="Type_2",F1:F4="Ver_1")>0)+(AND(E1:E4="Type_2",F1:F4="Ver_2")>0)),IF(B1:B4>=A6,C1:C4))),A1:A4&C1:C4,0)),"-")