0

I have a worksheet on Mac Numbers in which I get share values using function :

ACTION("AAPL";0)

for APPLE for example.

This function only gets the value of day - 1.

My need is to feed a table with values of ALL days, feeding day after day. So for each new day passed, I would like to get the share value of this day - 1 and so on.

Col A         Col B
09/07/2021    Share price of 08/07/2021 (function ACTION("AAPL";0) executed on 09/07/2021)
12/07/2021    Share price of 09/07/2021 (function ACTION("AAPL";0) executed on 12/07/2021)
13/07/2021    Share price of 09/07/2021 (function ACTION("AAPL";0) executed on 13/07/2021)
etc.

My code is simply, in column B cell :

IF($A5760=TODAY();ACTION("AAPL";0);)

So it works when day is today date, but the day after the share value is lost.

How would you proceed to "lock" the share value once obtained ?

Please note my Numbers is in French, so maybe the ACTION formula has another name in English version.

Thanks.

4

0 回答 0