I'm trying to write a formula that is circular in nature. From a fundamental standpoint, I can see why it doesn't work however I'm hoping there is another way to approach this.
I'm a police officer working in an investigative unit. My Detective Sergeant would like to track the number of hours spent on each investigation. I would like to create a formula in our spreadsheet that would allow us to add the new numbers and keep a cumulative total. So for instance.
If I want to add 8 hours into cell C5 because I spent 8 hours on that case today. And perhaps in D5 I have the number of hours that I have already worked on this case prior to today, for illustration purposes let's say that number is 37. How do I write the formula so that the 8 hours I worked on the case today gets added to the 37 hours that I have already worked on this case giving me a new total of 45 and then have the ablitily to repalce the number in C5 tomorrow with the hours that I work tomorrow on that case.
If I simply create formula in E5 such as =SUM(C5,D5). Then I get the right answer but then there is no update to the new number if I need to add more hours in tomorrow. D5 will still read 37 instead of the new total that is 45. If I try to do a formula in D5 which is simply =E5, I'm creating a circular formula and even if it worked, since I have a value of 8 in C5 it's going to indefinitely keep adding 8 to the new total that keeps getting updated in D5 but obviously that can't work.
Is there any other way to attack this issue or create this sort of functionality.
Bookmarks