使用索引匹配功能提取数据 [英] Extracting data using Index Match function
问题描述
我使用图片中显示的上述公式从C列中提取数据。我可以提取CE的数据,但是我错误地提取PE的数据。一切都显示在图片中。任何人都可以帮助我。
还有一件事要添加到这里。 CE和PE行是动态的。在每日数据执行价格中可以加或减。意味着添加罢工说5600,5700可能在双方。
使用下面的数组公式来 F3
单元格,然后拖放。
= IFERROR(INDEX($ C $ 3:$ C $ 12 ,SMALL(IF($ A $ 3:$ A $ 12 = PE,ROW($ C $ 3:$ C $ 12)-ROW($ C $ 2), ),ROW(1:1))) )
下面的公式为 G3
($ C $ 3 $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ ,ROW($ C $ 3:$ C $ 12)-ROW($ C $ 2),),ROW(1:1))),)
按 CTRL + SHIFT + ENTER 来评估公式,因为它是一个数组公式。
I am using above formulas shown in picture to extract data from column "C". I could extract data of "CE" but where I am making mistake to extract data of "PE". Everything is shown in picture. Could anyone help me out.
One more thing to add here. "CE" and "PE" rows are dynamic. In daily data strike price could add or subtracts. Means adding of strike say 5600, 5700 could possible on both side.
Use below array formula to F3
cell then drag and down.
=IFERROR(INDEX($C$3:$C$12,SMALL(IF($A$3:$A$12="PE",ROW($C$3:$C$12)-ROW($C$2),""),ROW(1:1))),"")
Below formula to G3
cell
=IFERROR(INDEX($C$3:$C$12,SMALL(IF($A$3:$A$12="CE",ROW($C$3:$C$12)-ROW($C$2),""),ROW(1:1))),"")
Press CTRL+SHIFT+ENTER to evaluate the formula as it is an array formula.
这篇关于使用索引匹配功能提取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!