Excel "circular reference" problem
I've tried to put some formulae in for a table and logically in my head it makes sense but Excel is freaking out because of a "circular reference" that should be irrelevant. Any solutions would be appreciated.
I have a table with dates for a fortnight in columns and rows for employees. In one row for each date I have a sum of money to pay as a bonus for everyone who worked that day. In another row I have a total number of employees working each day. In a final row I then have the bonus divided by the number of employees working.
In the table of dates/employees then I am putting for anyone who worked a link to the calculated average bonus.
For the number of people working I want to replace the static number with the Counta formula covering all possible employees for that date. If they worked then the cell isn't blank.
Excel is freaking out about the Counta formula though as its then a circular reference, except counta is just meant to be a check if its blank or not, the rest of the circle is irrelevant. Eg if I put the counta formula into another row and then copy and paste values onto the row I'd like to put the formula into then it works fine.
Is there a solution here? I suppose I could duplicate the table and type 1 if someone worked and sum the 1's then have the output of the results in a duplicated table but I'd rather not duplicate it unless absolutely necessary and even then it would still ultimately be circular, even if its irrelevant.