Calendar array to return unique results based on date and PO number

jdefont

New Member
Joined
Oct 6, 2016
Messages
2
I am trying to modify the below array to determine if a date and PO number have already been returned as a result for a date then skip to the next PO. see the attached screen capture which is returning the same PO number multiple times in the calendar.
I'm using named ranges (CalList, PO_Number) when referencing the table holding all the data.
=IFERROR(INDEX(CalList,SMALL(IF(Date=A$8,ROW(Date)),ROW(1:1))-TableRowStart,5),"")
In the screen capture "Garb" is showing up 3 times and "Stance" 5 times, and I'm looking for the array formula to determine that PO and Date has already been used in the calendar so skip to the next matching date and PO.


Y2CsV.jpg
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
I'm getting an error message but this formula seems closer to what I am trying to accomplish
=IFERROR(INDEX(CalList,SMALL(IF(Date=A$8,IF(MATCH(A$9:A$18&A$8, Date&A$8,0)=ROW(Date),ROW(1:1)))-TableRowStart,5),""))
 
Upvote 0

Forum statistics

Threads
1,215,149
Messages
6,123,311
Members
449,095
Latest member
Chestertim

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top