Excel OFFSET and IFERROR in a table -


i have table in excel 2 columns [runningtotal] , [change].

i have formula [runningtotal]

=iferror(offset([@runningtotal];-1;0);100)+[@change] 

its table 2 columns, 1 running total , other change. iferror first row since cannot offset because there no rows before it.

my table looks this.

3 , #value! 4 , 104 2 , 106 5 , 111 etc... 

first row throws error, second row reference first row produce error fallback's value 100 + change. have done wrong?

in fact, accessing cell 1 above top of tables's data body. header string value (e.g. runningtotal) , receive #value! error when try use string mathematically @change number.

however, sum of string 0 checked for.

=if(sum(offset([@runningtotal], -1, -1, 1, 2)), offset([@runningtotal], -1, 0), 100)+[@change] 

that formula checks row being examined sum 0 both @change , @runningtotal.

        table column references

after rereading original formula has occurred me use original if brought +[@change] error evaluation.

=iferror(offset([@runningtotal], -1, 0)+[@change], 100+[@change]) 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -