Hello,
Thank for you any tips on this first off!
I am trying to enter a formula using an array (i.e. hit crt-shift-enter when you enter it instead of enter). I have one cell which sums up the total $ from 4 other cells in a collumn. Now, some of the rows may require an extra tax on them (GST), which the user enters the rate in one cell above. Beside each row I have a Yes/No combo box and I only want to and in the tax for the cells that have a yes there. I could use a bunch of IF statments since I only have 4 rows but I would like to advoid that
If anyone knows a better way of doing this with regular formula please tell me.
I currently have the formula below, it doesnt work. It only checks the first yes/no and uses that as a logic test for the entire array.
<code>
{=IF(D2:D7="Yes",SUM(C2:C7))}
</code>
Thank you for any advice!
Thank for you any tips on this first off!
I am trying to enter a formula using an array (i.e. hit crt-shift-enter when you enter it instead of enter). I have one cell which sums up the total $ from 4 other cells in a collumn. Now, some of the rows may require an extra tax on them (GST), which the user enters the rate in one cell above. Beside each row I have a Yes/No combo box and I only want to and in the tax for the cells that have a yes there. I could use a bunch of IF statments since I only have 4 rows but I would like to advoid that
If anyone knows a better way of doing this with regular formula please tell me.
I currently have the formula below, it doesnt work. It only checks the first yes/no and uses that as a logic test for the entire array.
<code>
{=IF(D2:D7="Yes",SUM(C2:C7))}
</code>
Thank you for any advice!