Ashish Mathur
New Member
- Joined
- Mar 10, 2013
- Messages
- 40
- Office Version
- 365
- Platform
- Windows
Hi,
This is the data i have in range A1:C7 - headings are in range A1:C1
My objective is to keep one row for each Docket and Transporter combination and create as many columns as there are Del.'s for that docket and transporter combination. I am trying to solve this problem by using the BYROW() and LAMBDA function. This is what i have tried so far
In cell E2, i entered this formula
=UNIQUE(A2:B7)
In cell G2, I entered this formula but i received the #CALC! error
=BYROW(INDEX(E2#,,1),LAMBDA(r,TRANSPOSE(FILTER($C$2:$C$7,$A$2:$A$7=r))))
I'd like the formula written in cell G2 to spill over to the rows and columns automatically.
What mistake have i committed in the formula written in cell G2? How can i modify the formula so that it spills over to the rows and columns automatically?
Thank you for your help.
This is the data i have in range A1:C7 - headings are in range A1:C1
Docket No | Transporter Name | Del. |
126341335 | 0M LOGISTICS LIMITED | 1227061646 |
126341335 | 0M LOGISTICS LIMITED | 1227062927 |
126341348 | 0M LOGISTICS LIMITED | 1227061664 |
126341348 | 0M LOGISTICS LIMITED | 1227063340 |
126341363 | 0M LOGISTICS LIMITED | 1227060552 |
126341363 | 0M LOGISTICS LIMITED | 1227061325 |
My objective is to keep one row for each Docket and Transporter combination and create as many columns as there are Del.'s for that docket and transporter combination. I am trying to solve this problem by using the BYROW() and LAMBDA function. This is what i have tried so far
In cell E2, i entered this formula
=UNIQUE(A2:B7)
In cell G2, I entered this formula but i received the #CALC! error
=BYROW(INDEX(E2#,,1),LAMBDA(r,TRANSPOSE(FILTER($C$2:$C$7,$A$2:$A$7=r))))
I'd like the formula written in cell G2 to spill over to the rows and columns automatically.
What mistake have i committed in the formula written in cell G2? How can i modify the formula so that it spills over to the rows and columns automatically?
Thank you for your help.