DerekWooley
New Member
- Joined
- May 1, 2018
- Messages
- 34
HI, I have seen there are ways to return the smallest value with certain criteria using the SMALL(if(Criteria Array: Criteria Array=Criteria, Value Range:Value Range),1).
I want to know if there is a way to identify the Smallest value and return a value in another column based on criteria. Below is my data. I want to return the Machine # where the smallest date is for each Item # in Column E. My Current Small formula is returning the date in Column D correctly.
[TABLE="width: 701"]
<tbody>[TR]
[TD]Col A[/TD]
[TD]Col B[/TD]
[TD]Column1[/TD]
[TD]Col C[/TD]
[TD]Col D[/TD]
[TD]Col E[/TD]
[/TR]
[TR]
[TD]Items[/TD]
[TD]Date[/TD]
[TD] [/TD]
[TD]Machine[/TD]
[TD]Return smallest date for Item #[/TD]
[TD]Return Machine where smallest date[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]8/15/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]8/18/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]8/23/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]8/28/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]8/31/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]9/8/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]9/13/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]9/19/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]9/25/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Queue[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]9/13/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]8/23/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]9/8/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]8/18/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]8/31/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]8/15/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]8/28/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col></colgroup>[/TABLE]
I want to know if there is a way to identify the Smallest value and return a value in another column based on criteria. Below is my data. I want to return the Machine # where the smallest date is for each Item # in Column E. My Current Small formula is returning the date in Column D correctly.
[TABLE="width: 701"]
<tbody>[TR]
[TD]Col A[/TD]
[TD]Col B[/TD]
[TD]Column1[/TD]
[TD]Col C[/TD]
[TD]Col D[/TD]
[TD]Col E[/TD]
[/TR]
[TR]
[TD]Items[/TD]
[TD]Date[/TD]
[TD] [/TD]
[TD]Machine[/TD]
[TD]Return smallest date for Item #[/TD]
[TD]Return Machine where smallest date[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]8/15/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]8/18/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]8/23/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]8/28/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]8/31/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]9/8/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]9/13/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]9/19/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]9/25/2019[/TD]
[TD] [/TD]
[TD]A[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Queue[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]9/13/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]8/23/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]9/8/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]8/18/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]8/31/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]8/15/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]12/31/1999[/TD]
[TD] [/TD]
[TD]B[/TD]
[TD]8/28/2019[/TD]
[TD]Wanted formula:Should Return A[/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col></colgroup>[/TABLE]