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
 
Yes. That is what I want. When I dont use BB formulas it gives me the correct number- when I use the Bloomberg formulas it gives me the return for the entire column. Any ideas why it would do that?

By the way, thanks for all of your help on this.
 
Upvote 0

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Yea, thats what I said yesterday. Thank you. The only problem is that when i use that formula in the actual workbook with the BB formulas it wont give me the YTD return, just the return for the entire column. Any ideas?
 
Upvote 0
Post a workbook where you have converted the BB formulas to values using Copy and Paste Special. The latest workbook has =NOW() in B3.
 
Upvote 0
That's still got Bloomberg formulas in it, but the problem seems to be that B3 has only the time, not a date and time.
 
Upvote 0
The BB formula asks for a Date/Time field. I am using B2 'TIME' to fill the need. Is there a DATE/TIME input I could use for B2?
 
Upvote 0
I have no knowledge of the Bloomberg Add-In, but on Google I found "To find field mnemonics, refer to the Field Search on the Bloomberg toolbar in Excel".
 
Upvote 0

Forum statistics

Threads
1,216,228
Messages
6,129,618
Members
449,520
Latest member
TBFrieds

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