Please help me edit this code to fit the sheet. Having problems after making some changes to the sheet and it won't work now.
Field column DE
=IFERROR(IF(INDEX(Sheet2!$A$2:$I$10,MATCH(A2,Sheet2!$A$2:$A$10,0),SMALL(IFERROR(COLUMN($A$1:$I$1)/(LEFT(Sheet2!$A$1:$I$1,3)="Qty"),100000),COUNTIFS(A$2:A2,A2)))=0,"",INDEX(Sheet2!$A$2:$I$10,MATCH(A2,Sheet2!$A$2:$A$10,0),SMALL(IFERROR(COLUMN($A$1:$I$1)/(LEFT(Sheet2!$A$1:$I$1,3)="Qty"),100000),COUNTIFS(A$2:A2,A2)))),"")
Field column DF
=IF(CV2="","",INDEX(Sheet2!$A$2:$I$10,MATCH(A2,Sheet2!A$2:A$10,0),SMALL(IFERROR(COLUMN($A$1:$I$1)/(LEFT(Sheet2!$A$1:$I$1,3)="Pri"),100000),COUNTIFS(A$2:A2,A2))))
When I made the changes in my code to use D2 instead of A2 to search for the sku in the MATCH as well as changing I to K to reflect the additional price and qty break added and the length of the spreadsheet from 10(test size) to 9624 it now it not working.
Please help.
Field column DE
=IFERROR(IF(INDEX(Sheet2!$A$2:$I$10,MATCH(A2,Sheet2!$A$2:$A$10,0),SMALL(IFERROR(COLUMN($A$1:$I$1)/(LEFT(Sheet2!$A$1:$I$1,3)="Qty"),100000),COUNTIFS(A$2:A2,A2)))=0,"",INDEX(Sheet2!$A$2:$I$10,MATCH(A2,Sheet2!$A$2:$A$10,0),SMALL(IFERROR(COLUMN($A$1:$I$1)/(LEFT(Sheet2!$A$1:$I$1,3)="Qty"),100000),COUNTIFS(A$2:A2,A2)))),"")
Field column DF
=IF(CV2="","",INDEX(Sheet2!$A$2:$I$10,MATCH(A2,Sheet2!A$2:A$10,0),SMALL(IFERROR(COLUMN($A$1:$I$1)/(LEFT(Sheet2!$A$1:$I$1,3)="Pri"),100000),COUNTIFS(A$2:A2,A2))))
When I made the changes in my code to use D2 instead of A2 to search for the sku in the MATCH as well as changing I to K to reflect the additional price and qty break added and the length of the spreadsheet from 10(test size) to 9624 it now it not working.
Please help.