Kashyap Barot
New Member
Hi,
Below is my dataset.
12-Sep-13 10
13-Sep-13 10.01
16-Sep-13 10.02
17-Sep-13 10.03
18-Sep-13 10.04
19-Sep-13
20-Sep-13 10.06
23-Sep-13 10.07
24-Sep-13
25-Sep-13
26-Sep-13 10.10
27-Sep-13 10.11
30-Sep-13 10.12
I need to calculate average of daily return i.e. average of {[(10.01/10)-1]+.... [(10.12/10.11)-1]}/10
condition: if blank e.g 19-Sep-13, ignore the entry and for 20-Sep-13 calculate daily return as [(10.06/10.04)-1]. Similarly ignore 24 and 25-Sep-13 & calculate daily return for 26-Sep-13 as [(10.10/10.07)-1].
I am using the array formula {=AVERAGE((C1399:C1440/C1398:C1439)-1)}
which works fine with data set having no blanks.
I need to do this calculation for much larger series.
Please guide me on the same.
Below is my dataset.
12-Sep-13 10
13-Sep-13 10.01
16-Sep-13 10.02
17-Sep-13 10.03
18-Sep-13 10.04
19-Sep-13
20-Sep-13 10.06
23-Sep-13 10.07
24-Sep-13
25-Sep-13
26-Sep-13 10.10
27-Sep-13 10.11
30-Sep-13 10.12
I need to calculate average of daily return i.e. average of {[(10.01/10)-1]+.... [(10.12/10.11)-1]}/10
condition: if blank e.g 19-Sep-13, ignore the entry and for 20-Sep-13 calculate daily return as [(10.06/10.04)-1]. Similarly ignore 24 and 25-Sep-13 & calculate daily return for 26-Sep-13 as [(10.10/10.07)-1].
I am using the array formula {=AVERAGE((C1399:C1440/C1398:C1439)-1)}
which works fine with data set having no blanks.
I need to do this calculation for much larger series.
Please guide me on the same.