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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
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,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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