Excel: How to use an Array to concatenate strings that are next to a criteread section (If function)

后端 未结 3 1668
旧时难觅i
旧时难觅i 2021-01-17 03:51

Good Day Everyone

I have an Excel sheet as bellow in two columns. I know how to use an array if function with sum to add up all values next to a column that has met

3条回答
  •  太阳男子
    2021-01-17 04:21

    • Activate iteration in the options. The maximum number of iterations must be equal to or greater than the number of lines.
    • Add =IF(D1=100;1;D1+1) to cell D1
    • This is the formula in cell E1 for the Stark houses: =IF(D1=1;"";IF(D1-1>COUNTIF(B:B;"Stark");E1;E1&INDEX(A$1:A$100;SMALL(IF(B$1:B$100="Stark";ROW($1:$100));D1-1))))

    (I hope that I got the English names of the functions correctly.)

    I missed one information: You must enter the function as an array function.

    Thanks go to http://www.excelformeln.de/formeln.html?welcher=155

提交回复
热议问题