system
April 21, 2009, 5:07pm
1
Hi Team
I got a requirement like , I need to divide the amount for the current year with previous year which falls on same date and then subtract 1 from it.
For Eg: data for 1/1/2005 devided by data for 1/1/2004 minus 1 in the same way data for 2/1/2005 divided by data for 2/1/2004 minus 1.
I have attached a excel sheet for more details.
Can anyone pls help me on this ???
Thanks in Advance
Anusha
Requirement.xls (25.0 KB)
Asmitha (BOB member since 2008-06-06)
system
April 21, 2009, 5:15pm
2
Hi,
Did you check with Previous() function?
GowthamSen (BOB member since 2006-08-31)
system
April 22, 2009, 6:22am
3
yeah , I checked using Previous function, but of no use…
Asmitha (BOB member since 2008-06-06)
system
April 22, 2009, 7:40am
4
Hi Anu,
Can you provide us how you used previous function in your report…!!
Thanks
BOCP (BOB member since 2007-07-02)
system
April 22, 2009, 11:29am
5
Hi
I just tried using previous(year) it is returning me the previous cell value into the next cell. I could not be able to use it to get 2003 data where year is 2004.
If you have any idea can you please share with me?
Thanks
Anusha
Asmitha (BOB member since 2008-06-06)
system
April 22, 2009, 12:03pm
6
That z strange.
Try this:
Var= ([Rev] where [fiscal Yr]=[current Yr])/([Rev] where [Fiscal Yr]=Previous[Current Yr])
I didn’t tried it, If you face any problem just post it.
Thanks
kishoreykumar@gmail.com
BOCP (BOB member since 2007-07-02)
system
April 23, 2009, 2:16pm
7
Hey
Can you pls explain this ?
Thanks
Anu
Asmitha (BOB member since 2008-06-06)
system
April 23, 2009, 8:31pm
8
Do the dates vary or just the month and year(Is it always the first of every month)?
cyberdude (BOB member since 2007-02-05)
system
April 24, 2009, 6:14am
9
No dates wont vary. 1 will be the first date of every month. but there is a chance of missing months in between. we might not have data for everymonth.
Asmitha (BOB member since 2008-06-06)
system
April 24, 2009, 7:06am
10
Hey Anusha,
Try like this:
=ToNumber(FormatNumber(([Rev]))/Previous([Rev]);"#.0"))
Change the formula as per your requirement…
Hope this helps you…!!
Thanks
kishoreykumar@gmail.com
BOCP (BOB member since 2007-07-02)
system
April 24, 2009, 2:40pm
11
Thanks BOCP.
Can you please make me understand what “#.0” means…
I tried this formulae, however it is giving me the wrong values. it is just taking the previous (from previous cell, not from previous year) of REV value.
Thanks
Anusha
Asmitha (BOB member since 2008-06-06)
system
April 24, 2009, 2:44pm
12
#.0 for formatting the result.
It should work , don’t directly use it , change it as per your requirement…
You need to do it by creating multiple variables…
[Claim Amt/Hdct] where ([Date]='create formula here to identify month and day equal ' /Previous[Claim Amt/Hdct]
try like this , I’ll try to give you full formula ASAP.
Thanks
BOCP (BOB member since 2007-07-02)