Forum Discussion

Zephyr360's avatar
Zephyr360
Copper Contributor
Mar 01, 2022
Solved

Excel - Obtaining Data From A Table

Good Afternoon In the table below. I would like to: Count the quantity of items of the same size in column A and put into a separate cell. Count the quantity of items of the same size in column A...
  • OliverScheurich's avatar
    OliverScheurich
    Mar 04, 2022

    Zephyr360 

    =LET(qtyrqd,A6:A416,
    item,B6:B416,
    length,D6:D416,
    itemlength,UNIQUE(B6:D416),
    itemonlyitem,FILTER(UNIQUE(B6:D416),{1,0,0}),
    itemConly,FILTER(UNIQUE(B6:D416),{0,1,0}),
    itemonlylength,FILTER(UNIQUE(B6:D416),{0,0,1}),
    itemlengthqty,FILTER(SUMIFS(qtyrqd,item,itemlength,length,itemonlylength),{1,0,0}),
    multiply,itemlengthqty*itemonlylength,
    result,CHOOSE({1,2,3,4,5},itemlengthqty,itemonlyitem,itemConly,itemonlylength,multiply),
    finalresult,SORT(FILTER(result,itemlengthqty>0),2),
    finalresult)

     

    This formula seems to return the expected result in my spreadsheet.

Resources