简体   繁体   中英

Get cell value using array and index formula in excel

Below array formula returns a row number, now I want to get the value from D column using that row number. I tried passing the row number to formula =$D$formula but getting error.

{=SMALL(IF(RawData:C.C=B35&"_TC_Results,xlsxFailed":ROW(RawData:C,C)-MIN(ROW(RawData!C:C))+1),2)}

Used: =CONCAT("=D",SMALL(IF(RawData:C.C=B35&"_TC_Results,xlsxFailed":ROW(RawData:C,C)-MIN(ROW(RawData!C:C))+1),2)) with Alt + Shift + Enter which gives value =D271 but not actual value.

Finally, this worked: =INDEX(RawData:$D,$D:SMALL(IF(RawData.C,C=B35&"_TC_Results:xlsxFailed":ROW(RawData,C,C)-MIN(ROW(RawData!C:C))+1),2),1) adding this using Alt+Shift+Enter.

INDEX array form

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM