YTD return for a moving range.

MarcJohn

New Member
Joined
Jun 2, 2014
Messages
28
I have a moving date range (changes daily) that I would like to compute a YTD return for. How should I lock my reference point as the first day of the year so that as the dates push down the spreadsheet the YTD return is still truly YTD?

Time/DateYieldCHG
=Now0.375-0.002
Trading day before0.3770.01
Trading day before....0.3670.02
.....0.3460.002
.....0.344-0.001
.....0.3450.004
....0.3410.004
....and so on, until...0.337....
First day of year0.382

<tbody>
</tbody>

I hope this clearly explains what I'm trying to do.

Thanks
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
I don't think that's quite what I'm looking for. The most recent date is at the top and the beginning of the year is some rows down (and continues to be pushed down another row every day). =SUM of the range of CHG (which is F3:F111 on my spreadsheet) works but obviously tmrw that will not work because the start of the year will be F112....
 
Upvote 0
Yes, I tried it. It doesn't give me the correct value. I need to compare the price of a security today with the price of that security on the first day of the year- So that I can simply compute a YTD return. I just don't know how to lock the reference point for the first day of the year because the dates move down one row every day. Hopefully that makes more sense.


I need a formula that will continuously compare the yield from 1/1/14 (which will move down one row everyday) with the present yield.
 
Upvote 0
I apologize, I'm new to the forum.. didn't mean to make a faulty example. Yes I have multiple years of data on the spreadsheet but for this particular problem i only need to use the data back to the first of the year. Thats why I was wondering if there is a way to lock in on the cell that corresponds with the first of the year.
 
Upvote 0
I apologize but that's still not what I'm looking for.... Here is a better laid out table to go by..

Date/TimeLast YieldCHNGYTD returnYour return
=Now0.3940.0190.0120.3813
5/300.375-0.002
5/290.3770.01
5/280.3670.021
5/270.3460.002
5/260.3440
5/230.344-0.001
1/10.382...
... and so on.........

<tbody>
</tbody>

The YTD return should be the sum of the changes from individual days, or simply the first of the year minus today. I have that in bold blue. Your function gave me the value I have in bold red. (The colors have nothing to do with relative value by the way- just a way to make them standout)
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top