So i have a calculation that happens it is in cell G58 and is D53*D58 D53 is hours
What happens is, D58 is based on test results so i have a sheet "testing" and in cell c4 is the first test result then cell c5 and so on down the line and then there is a date in B4 and B5 and so on down the line in pounds per hr.
What i do is sum up a quarters worth of data but if the test results change in that quarter, the calculation doesn't account for it. Does anyone know a way to do multiple math problems in the same equation but use the correct numbers? Here is an example where the 2nd quarter result should be (.2*50(number of days before test result in q2)*24+.6*51(number of days after test result in q2)*24
the result in 974.4
It got complicated for me when i started indexing the dates then using the eomonth and trying to count days. If anyone can help that would be great. I really just need the first equation then i can copy for all quarters. One thing, a test might not happen in a quarter so q3 would just be days*hrs*.6 because no test happened. I can try to send sheets over but really, there isnt much to show, just better explain if you need it. thanks in advance.
What happens is, D58 is based on test results so i have a sheet "testing" and in cell c4 is the first test result then cell c5 and so on down the line and then there is a date in B4 and B5 and so on down the line in pounds per hr.
What i do is sum up a quarters worth of data but if the test results change in that quarter, the calculation doesn't account for it. Does anyone know a way to do multiple math problems in the same equation but use the correct numbers? Here is an example where the 2nd quarter result should be (.2*50(number of days before test result in q2)*24+.6*51(number of days after test result in q2)*24
the result in 974.4
It got complicated for me when i started indexing the dates then using the eomonth and trying to count days. If anyone can help that would be great. I really just need the first equation then i can copy for all quarters. One thing, a test might not happen in a quarter so q3 would just be days*hrs*.6 because no test happened. I can try to send sheets over but really, there isnt much to show, just better explain if you need it. thanks in advance.
date | result |
2/20/2024 | 0.2 |
5/20/2024 | 0.6 |