简体   繁体   中英

Google Sheets Formula cannot get the date from another cell

I want to get the price of bitcoin on exact date.

The dates are written in Column A and they are updated regularly from a Google form

This is an example of the working formula, but the date in it is written manually (2017-01-31):

=ARRAYFORMULA(IF(ISBLANK($B$2:$B),"",CRYPTOFINANCE("BTC/USD", "price",2017-01-31)))

But when I try to get the dates from Column A , mentioned with $C$2:$C - Google sheets do not understand it

=ARRAYFORMULA(IF(ISBLANK($B$2:$B),"",CRYPTOFINANCE("BTC/USD", "price",$C$2:$C)))

Click here to check The spreadsheet

Thank you in advance!

"Doctor, it hurts when I do this."

In the example spreadsheet you are converting the dates into text for the column C, using the explicit TEXT() function. Then you are wondering why they no longer work as dates?

Stop converting to text.

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