Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]() I am trying to use the excel solver and am running into some issues. The solver is giving me results that I know are wrong and I cannot get it to give me the correct results. I am using it to calculate a linearity which is based off of the STDEV and AVERAGE of a group of numbers. The formula I am using is: =TRUNC(SQRT(SUM(($B$2-AVERAGE($B$2:$B$6))^2,($B$3-AVERAGE($B$2:$B$6))^2,($B$4-AVERAGE($B$2:$B$6))^2,($B$5-AVERAGE($B$2:$B$6))^2,($B$6-AVERAGE($B$2:$B$6))^2)/4),0)/AVERAGE($B$2:$B$6) This is basically the longhand version of STDEV/AVERAGE which I have found gives the actual number I am looking for. For some reason, if I take out the TRUNC or just use STDEV/AVERAGE, the number is a little off. What I am using solver for, is to minimize the linearity by changing the last number in the series. For example, if all the numbers are the same, solver should give me that number again. for a linearity of 0. It will not do this. If I try, for example, all 1500s, solver will give 1639. Any suggestions would be appreciated. -- nakedbamboo ------------------------------------------------------------------------ nakedbamboo's Profile: http://www.excelforum.com/member.php...o&userid=28780 View this thread: http://www.excelforum.com/showthread...hreadid=484665 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
MS Excel 2002 attachment issue | Excel Discussion (Misc queries) | |||
Asking Excel Solver to use binaries, but selects other values | Excel Discussion (Misc queries) | |||
Excel Range Value issue (Excel 97 Vs Excel 2003) | Excel Discussion (Misc queries) | |||
question on excel Solver | Excel Worksheet Functions | |||
Excel: Solver | Excel Worksheet Functions |