close

You may use an array formula for the sums. For example, for column B, you
can enter in cell B22 the following:
=SUM(B8:B21*(J8:J21lt;gt;quot;quot;))
Hitting Crtl Shift Enter to tell Excel that it is an array formula (you will
see curly brackets around the formula in the bar). This will add only the
rows that have a value on the column J.

Hope this helps,
Miguel.

quot;smistrettaquot; wrote:

gt; I posted this a few days ago and got some good responses, but nothing that's
gt; actually accomplishing what I had hoped (maybe it really just can't be done)
gt;
gt; The specifics a
gt; Creating an NPO reimbursement form where, in order for the form to be valid,
gt; the employee needs to enter a project code into a column entitled 'quot;Projectquot;
gt;
gt; The goal is to make it so that if this column is not filled in, an error
gt; message will show up in the Grand Total or the person will be unable to
gt; complete any more cells--sort of an enforced entry
gt;
gt; Excel details:
gt; Project column is column J
gt; Grand Total cell is L22
gt; Columns where expenses are entered are from B to I (Project is last column)
gt; Rows where expenses are entered are from 8 to 21, with 22 being each
gt; column's total
gt; Not all rows/cells have to be filled in for the form to be valid but if a
gt; row is used, it must (ideally) have a required Project code
gt;
gt; I have tried:
gt; 1. An IF statement in the Grand Total cell (L22) but this leaves me with a
gt; 'true' or 'false' entry, not a number as it needs to be
gt; 2. A Validation where the employee has to select from a list of project
gt; codes but an erro will only show up if they type an incorrect code, not if
gt; they leave it blank
gt;
gt; I'm new to this, so any other thoughts, ideas or help at all will b greatly
gt; appreciated. Thank you in advance!

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()