alipete122
New Member
- Joined
- Dec 7, 2015
- Messages
- 2
Long time reader, first time poster. Thanks for all of the quality questions and answers.
I am using an Index-CSE Fx to return whole rows of data from a source table (time log) into three separate sub-tables based on a selected "category column" which is my vertical lookup column (i.e. "Port Time" or "Weather"). This has worked exactly as intended as long as I am referencing a single value in the column. However, in the third and final sub-table, I would like to return three separate values to the sub-table as they might occur in the source table (i.e. "Pumping" and/or "Vessel Delay" and/or Shore Delay"). This has me completely stumped. Can anyone advise me if and how I can reference two or more values from the SAME vertical lookup column, so that they return the sub-table as they occur each time. Some further details below:
"Port Time" - Works as intended
=IFERROR(INDEX(TimeLog!A$2:A$20,SMALL(IF(TimeLog!$B$2:$B$20=Analysis!$A$1,ROW(TimeLog!A$2:A$20)-ROW(TimeLog!A$2)+1),ROWS(TimeLog!A$2:TimeLog!A2))),"")
"Weather" - Works as intended
=IFERROR(INDEX(TimeLog!A$2:A$20,SMALL(IF(TimeLog!$B$2:$B$20=Analysis!$A$24,ROW(TimeLog!A$2:A$20)-ROW(TimeLog!A$2)+1),ROWS(TimeLog!A$2:TimeLog!A2))),"")
"Pumping" and/or "Shore Delay" and/or "Vessel Delay" - Does not work as intended
=IFERROR(INDEX(TimeLog!A$2:A$20,SMALL(IF(TimeLog!$B$2:$B$20=Analysis!$G$49:$G$51,ROW(TimeLog!A$2:A$20)-ROW(TimeLog!A$2)+1),ROWS(TimeLog!A$2:TimeLog!A2))),"")
Thanks for your time
I am using an Index-CSE Fx to return whole rows of data from a source table (time log) into three separate sub-tables based on a selected "category column" which is my vertical lookup column (i.e. "Port Time" or "Weather"). This has worked exactly as intended as long as I am referencing a single value in the column. However, in the third and final sub-table, I would like to return three separate values to the sub-table as they might occur in the source table (i.e. "Pumping" and/or "Vessel Delay" and/or Shore Delay"). This has me completely stumped. Can anyone advise me if and how I can reference two or more values from the SAME vertical lookup column, so that they return the sub-table as they occur each time. Some further details below:
"Port Time" - Works as intended
=IFERROR(INDEX(TimeLog!A$2:A$20,SMALL(IF(TimeLog!$B$2:$B$20=Analysis!$A$1,ROW(TimeLog!A$2:A$20)-ROW(TimeLog!A$2)+1),ROWS(TimeLog!A$2:TimeLog!A2))),"")
"Weather" - Works as intended
=IFERROR(INDEX(TimeLog!A$2:A$20,SMALL(IF(TimeLog!$B$2:$B$20=Analysis!$A$24,ROW(TimeLog!A$2:A$20)-ROW(TimeLog!A$2)+1),ROWS(TimeLog!A$2:TimeLog!A2))),"")
"Pumping" and/or "Shore Delay" and/or "Vessel Delay" - Does not work as intended
=IFERROR(INDEX(TimeLog!A$2:A$20,SMALL(IF(TimeLog!$B$2:$B$20=Analysis!$G$49:$G$51,ROW(TimeLog!A$2:A$20)-ROW(TimeLog!A$2)+1),ROWS(TimeLog!A$2:TimeLog!A2))),"")
Thanks for your time