Calculating accuracy within excel -
i have prediction cell (a1), results cell (b1) , difference cell (c1) in excel.
i have accuracy cell (d1) show accuracy of prediction based on result. example, if have 24 prediction , 24 results, accuracy should 100% difference of 0. if have prediction of 24 , results 12, accuracy should -50% difference of -12.
here calculation i'm using in accuracy cell (d1):
=(((c1+100)*a1)/b1)/(c1+100)
this calculation showing expected results when prediction cell higher or equal results cell. assistance appreciated, thank you.
format cell in col c "%" , try formula
formula in c1 per snapshot
=if(b1<a1,value("-"&(b1/a1)),(b1/a1))
formula in d1 per snapshot
=b1-a1
various test scenarios below.
let me know if have misunderstood question , rectify answer.
followup
try new formula
=if(b1<a1,value("-"&(b1/a1)),if(b1=a1,b1/a1,(b1-a1)/a1))
Comments
Post a Comment