Академический Документы
Профессиональный Документы
Культура Документы
Tips&TricksForFinancialPlanning&Analysis
UsesforExcelsNA()inCharts
TipsandTricksforFinancialPlanning&Analysis
Inourexample,weareimportingthemonthlyvaluesforboththeplanandactualdataintorows34and35,respectively. Wewanttosetasideanareathatthelinegraphwillreferencethatisseparatefromthelocationusedtoimporttheplan andactualresults.Wehaveusedrows31and32forthecumulativeplanandcumulativeactual,respectively,asshown inthegraphicbelow,togenerateourtrendgraphs.Theoriginalformulaforreferencingthecumulativeyeartodate actualdatawasjustasimpleSUM()function,thatusedanabsolutereferencetothefirstmonthorJanuaryincolumn "C"(forexampletheFebruaryformulawas=SUM($C35:D35).WhatwewanttodonowisaddanIF()functiontolimit howmuchdataisplottedonourExcelgraph.Ifwedonotwantadatapointplottedonourtrendline,wewillreturnthe ExcelconstantNA().NothingwillbereferencedontheExcelgraphwhenanNA()isencountered. UsingthesamecumulativeactualcellforFebruary,wewouldchangetheformulaatcellD32tothefollowing: D32=IF(ME_Num<=2,SUM($C35:D35),NA()). InJanuary,theME_Numvariablewouldbeequaltoone,whichmeansthatourformulaforFebruary,atcellD32,would returnNA().ButbeginningwiththeFebruaryresultsandeverymonththereafter,the=SUM($C35:D35)wouldproduce theactualresultforyeartodateFebruary,becauseME_Numwouldbegreaterthan2.WithME_Numsettoequal5, ouroriginalchartnowappearsasshownbelow.YoucanseethatourME_NumvalueatcellB2issetto5,thatwehave actualcumulativedatathroughMayandtheNA()constant(actuallyitisshownbelowas"NA#")isdisplayedfromJune throughDecemberandourcumulativeactualtrendlinestopsatthe5thmonth,whichwasthegoal.
UsesforExcelsNA()inCharts
TipsandTricksforFinancialPlanning&Analysis
Tips&TricksforFP&A
http://rpscgi.com/blog.aspx
2011ResourcePlanningSolutions