从数组公式返回单个单元格 [英] Returning a single cell from an array formula

查看:54
本文介绍了从数组公式返回单个单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从这个公式中得到一个单一的值,即收盘价:

I would like to get a single value, the closing price, from this formula:

=GoogleFinance("NASDAQ:AAPL", "close", "12/13/2012",  1, 1)

相反,此公式填充2个标题行(日期,关闭),然后填充两个值(日期和结束值$ 529.69).有没有办法只获取返回值并将其放置在公式的单元格中?

Instead this formula populates 2 header rows (Date, Close) then two values (the date, and closing value $529.69). Is there a way to get just the closing value returned and placed in the formula's cell?

推荐答案

您可以使用 =INDEX(GoogleFinance("NASDAQ:AAPL";"close";"12/13/2012";1;1);2;2)

这篇关于从数组公式返回单个单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆