Excelerate2004
Programmer
Hello,
I used the following code in a project a while back, but now a user is having difficulty with one of the calculations that uses this code.
Would someone be able to help me decipher just what exactly this code is actually doing in pseudo-code? I'm not completely sure since its been a while.
Once I figure out what it does then maybe I can formulate a question as to how to resolve the current problem I'm having with it.
=IF(ISERROR(SUM(OFFSET('Step 2'!C11,,,3,(5-MATCH('Step 1'!B6,{10,5,2,-0.0001},-1))))/COUNTIF(OFFSET('Step 2'!C11,,,3,(5-MATCH('Step 1'!B6,{10,5,2,-0.0001},-1))),"<>NA")),"NA",SUM(OFFSET('Step 2'!C11,,,3,(5-MATCH('Step 1'!B6,{10,5,2,-0.0001},-1))))/COUNTIF(OFFSET('Step 2'!C11,,,3,(5-MATCH('Step 1'!B6,{10,5,2,-0.0001},-1))),"<>NA"))
Thanks for the help
I used the following code in a project a while back, but now a user is having difficulty with one of the calculations that uses this code.
Would someone be able to help me decipher just what exactly this code is actually doing in pseudo-code? I'm not completely sure since its been a while.
Once I figure out what it does then maybe I can formulate a question as to how to resolve the current problem I'm having with it.
=IF(ISERROR(SUM(OFFSET('Step 2'!C11,,,3,(5-MATCH('Step 1'!B6,{10,5,2,-0.0001},-1))))/COUNTIF(OFFSET('Step 2'!C11,,,3,(5-MATCH('Step 1'!B6,{10,5,2,-0.0001},-1))),"<>NA")),"NA",SUM(OFFSET('Step 2'!C11,,,3,(5-MATCH('Step 1'!B6,{10,5,2,-0.0001},-1))))/COUNTIF(OFFSET('Step 2'!C11,,,3,(5-MATCH('Step 1'!B6,{10,5,2,-0.0001},-1))),"<>NA"))
Thanks for the help