Space Bar To Jump
New Member
- Joined
- Sep 25, 2017
- Messages
- 2
Hi all,
I'm trying to work out a a formula that avoids a circular reference.
I have a list of numbers (hours taken), which is summed to give a total number of hours, converted to the nearest half day (based on an 8 hour day). e.g. if it sums to 9 hours, this rounds up to 1.5 days; 13 hours total rounds up to 2 days, and so on.
The number of days is then rounded up to give me the number of visits required. Thus:
[TABLE="width: 200"]
<tbody>[TR]
[TD]Item 1[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Item 2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Item 3[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Total Hours[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Number of 8 hour days (rounded to 0.5)[/TD]
[TD]1.5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Number of visits required (based on 8 hour days)[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
However I need to include travel time, and herein lies the problem; I can't think how to avoid a circular reference.
Say the travel time per visit is 5 hours, this gives 10 hours total travel time for the 2 visits. But... this now brings the total job hours to 19. Which rounds to 2.5 days. Which would require 3 visits. Which now means an additional 5 hours of travel time. Which brings total job hours to 24.... etc
I cannot, for the life of me, work out how to incorporate the travel time into the number-of-visits-required calculation without causing a circular reference. Perhaps there is no way to do it (although I can get to the answer manually calculating, so I'd be disappointed if Excel couldn't do the same thing).
Any help would be greatly appreciated!
Many thanks,
Jamie
I'm trying to work out a a formula that avoids a circular reference.
I have a list of numbers (hours taken), which is summed to give a total number of hours, converted to the nearest half day (based on an 8 hour day). e.g. if it sums to 9 hours, this rounds up to 1.5 days; 13 hours total rounds up to 2 days, and so on.
The number of days is then rounded up to give me the number of visits required. Thus:
[TABLE="width: 200"]
<tbody>[TR]
[TD]Item 1[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Item 2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Item 3[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Total Hours[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Number of 8 hour days (rounded to 0.5)[/TD]
[TD]1.5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Number of visits required (based on 8 hour days)[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
However I need to include travel time, and herein lies the problem; I can't think how to avoid a circular reference.
Say the travel time per visit is 5 hours, this gives 10 hours total travel time for the 2 visits. But... this now brings the total job hours to 19. Which rounds to 2.5 days. Which would require 3 visits. Which now means an additional 5 hours of travel time. Which brings total job hours to 24.... etc
I cannot, for the life of me, work out how to incorporate the travel time into the number-of-visits-required calculation without causing a circular reference. Perhaps there is no way to do it (although I can get to the answer manually calculating, so I'd be disappointed if Excel couldn't do the same thing).
Any help would be greatly appreciated!
Many thanks,
Jamie