M
marksuza
Hi, I am new to the forum and not too experienced in Excel. I wrote
this argument that does a calculation if a cell in the C column is 0.
IF(C10=0,H9^(B1/A1),IF(C11=0,SUM(H9:H10)^(B1/A1),IF(C12=0,SUM(H9:H11)^(B1/A1),IF(C13=0,SUM(H9:H12)^(B1/A1),IF(C14=0,SUM(H9:H13)^(B1/A1),IF(C15=0,SUM(H9:H14)^(B1/A1),IF(C16=0,SUM(H9:H15)^(B1/A1),
IF(C17=0, SUM(H9:H16)^(B1/A1), IF(C18=0, sum(H9:H17)^(B1/A1), IF(C19=0,
sum(H9:H18)^(B1/A1), IF(C20=0, sum(H9:H19)^(B1/A1),
sum(H9:H20)^(B1/A1)))))))))))), but when it gets to C17 it gives an
error, it highlights the 'sum' argument, I think I have put too many
arguments. How can I solve this? I dont know how to put in vb if that
is the only option. Thanks
this argument that does a calculation if a cell in the C column is 0.
IF(C10=0,H9^(B1/A1),IF(C11=0,SUM(H9:H10)^(B1/A1),IF(C12=0,SUM(H9:H11)^(B1/A1),IF(C13=0,SUM(H9:H12)^(B1/A1),IF(C14=0,SUM(H9:H13)^(B1/A1),IF(C15=0,SUM(H9:H14)^(B1/A1),IF(C16=0,SUM(H9:H15)^(B1/A1),
IF(C17=0, SUM(H9:H16)^(B1/A1), IF(C18=0, sum(H9:H17)^(B1/A1), IF(C19=0,
sum(H9:H18)^(B1/A1), IF(C20=0, sum(H9:H19)^(B1/A1),
sum(H9:H20)^(B1/A1)))))))))))), but when it gets to C17 it gives an
error, it highlights the 'sum' argument, I think I have put too many
arguments. How can I solve this? I dont know how to put in vb if that
is the only option. Thanks