简体   繁体   中英

Copy the second value in each row to a specific column

Given the table:

A  B  C  D  E
x  x  52 50 48 ...
67 69 71 73 75 ...
57 x  56 49 48 ...
62 x  x  66 66 ...

How to find the second number from the left in each line (marked here with *)?

A    B    C    D    E       Z
x    x    52  *50*  48 ...  50
67  *69*  71   73   75 ...  69
57   x   *56*  49   48 ...  56
62   x    x   *66*  66 ...  66

so that finally for each row the marked number will appear in Column Z.

Put this in column Z: =index(filter(A1:Y1, isnumber(A1:Y1)), 1, 2) . Depending on the language you choose in the spreadsheet settings you may have to change , to ; . eg for french and german it's ; . For english it's , .

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