calculating the growth rate

indiamacrotools

New Member
Joined
Jul 9, 2009
Messages
1
Hi, we have a table: Sheet 1 (called as Main) Column C contains date from 1st January 1994 till 31st December 2008. Saturdays, Sundays and some holidays would be missing in the range. Column D contains NAV of say, Fidelity Magellan for the relevant dates in Column A. Now, we want to calculate the 1-year performance of Fidelilty Magellan Fund for each of the days in Column D in Sheet 2(called as 1yrret). Column C of Sheet 2 has the dates in the same chronological order as in Main (Sheet1) To elaborate in column D of Sheet2, we want to calculate the 1-year return for each of the days commencing from 1st January, 1995 till 31st December 2008 ie., if we have to calculate for each day of December 2008, excel should take the NAVs of the exact corresponding date of December 2007 and calculate.

We used vlookup and if functions, but could not get the right result for all the days. We used the following formula with no foolproof result: IF($C3732-365<>$C3494,(Main!U3732/VLOOKUP($C3732-365,Main!$C3447:Main!U3547,U$2-2,FALSE)-1)*100,IF($C3732-365=$C3494,(Main!U3732/VLOOKUP($C3732-365,Main!$C3427:U3652,U$2-2,FALSE)-1)*100,IF($C3732-366=$C3494,(Main!U3732/Main!U3494-1)*100,IF($C3732-367=$C3494,(Main!U3732/Main!U3494-1)*100,IF($C3732-368=$C3494,(Main!U3732/Main!U3494-1)*100,IF($C3732-369=$C3494,(Main!U3732/Main!U3494-1)*100,""))))))

Can you help us as to how to get accurate result.

Regards,
Prasad
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
note the initial if makes the

IF($C3732-365<>$C3494,(Main!U3732/VLOOKUP($C3732-365,Main!$C3447:Main!U3547,U$2-2,FALSE)-1)*100,

second if to not be needed since it is the "if false" of the first if

IF($C3732-365=$C3494,(Main!U3732/VLOOKUP($C3732-365,Main!$C3427:U3652,U$2-2,FALSE)-1)*100,

and the first if will stop any of the following from being done

IF($C3732-366=$C3494,(Main!U3732/Main!U3494-1)*100,IF($C3732-367=$C3494,(Main!U3732/Main!U3494-1)*100,IF($C3732-368=$C3494,(Main!U3732/Main!U3494-1)*100,IF($C3732-369=$C3494,(Main!U3732/Main!U3494-1)*100,""))))))

do you want < > or just > in the first if ? just > would make the rest of the formula useful.

the portion
IF($C3732-366=$C3494,(Main!U3732/Main!U3494-1)*100,IF($C3732-367=$C3494,(Main!U3732/Main!U3494-1)*100,IF($C3732-368=$C3494,(Main!U3732/Main!U3494-1)*100,IF($C3732-369=$C3494,(Main!U3732/Main!U3494-1)*100,""))))))

could be simplified to
IF($C3732-$C3494<370,(Main!U3732/Main!U3494-1)*100,"")))

 
Upvote 0

Forum statistics

Threads
1,215,734
Messages
6,126,542
Members
449,316
Latest member
sravya

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