Hi guys,
I would like to calculate the average power over a specified time range. I could use the average function. However, the time increments are not consistent. As you can see in the table, the time increments vary. I think that the average function would assume that each time row is equally spaced.
Is there a formula that I could use to calculate the power over a specific time range (e.g. 0.002383 - 0.008500 mins)? You can also see that a number of cells have #N/A and therefore the formula will need to ignore these cells.
Would a area under graph formula need to be used? If so, what formula would be required?
Below is a very small sample of my table:
[TABLE="class: grid, width: 307"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD="align: center"]Time[/TD]
[TD="align: center"]Engine Power[/TD]
[/TR]
[TR]
[TD="align: center"](min)[/TD]
[TD="align: center"](kW)[/TD]
[/TR]
[TR]
[TD="align: center"]0.000000[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.000383[/TD]
[TD="align: center"]4.04[/TD]
[/TR]
[TR]
[TD="align: center"]0.001017[/TD]
[TD="align: center"]4.12[/TD]
[/TR]
[TR]
[TD="align: center"]0.001033[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.001700[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.001717[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.002350[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.002383[/TD]
[TD="align: center"]4.09[/TD]
[/TR]
[TR]
[TD="align: center"]0.003067[/TD]
[TD="align: center"]4.09[/TD]
[/TR]
[TR]
[TD="align: center"]0.003083[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.003917[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.003933[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.004433[/TD]
[TD="align: center"]4.13[/TD]
[/TR]
[TR]
[TD="align: center"]0.004967[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.004983[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.005517[/TD]
[TD="align: center"]4.06[/TD]
[/TR]
[TR]
[TD="align: center"]0.005533[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.005933[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.005950[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.006483[/TD]
[TD="align: center"]4.02[/TD]
[/TR]
[TR]
[TD="align: center"]0.006967[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.006983[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.007433[/TD]
[TD="align: center"]4.09[/TD]
[/TR]
[TR]
[TD="align: center"]0.007450[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.007967[/TD]
[TD="align: center"]4.05[/TD]
[/TR]
[TR]
[TD="align: center"]0.008500[/TD]
[TD="align: center"]4.09[/TD]
[/TR]
[TR]
[TD="align: center"]0.008933[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.008950[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.009417[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.009433[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.009917[/TD]
[TD="align: center"]4.05[/TD]
[/TR]
[TR]
[TD="align: center"]0.009933[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.010550[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.010567[/TD]
[TD="align: center"]#N/A
[/TD]
[/TR]
</tbody>[/TABLE]
Thanks,
David
I would like to calculate the average power over a specified time range. I could use the average function. However, the time increments are not consistent. As you can see in the table, the time increments vary. I think that the average function would assume that each time row is equally spaced.
Is there a formula that I could use to calculate the power over a specific time range (e.g. 0.002383 - 0.008500 mins)? You can also see that a number of cells have #N/A and therefore the formula will need to ignore these cells.
Would a area under graph formula need to be used? If so, what formula would be required?
Below is a very small sample of my table:
[TABLE="class: grid, width: 307"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD="align: center"]Time[/TD]
[TD="align: center"]Engine Power[/TD]
[/TR]
[TR]
[TD="align: center"](min)[/TD]
[TD="align: center"](kW)[/TD]
[/TR]
[TR]
[TD="align: center"]0.000000[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.000383[/TD]
[TD="align: center"]4.04[/TD]
[/TR]
[TR]
[TD="align: center"]0.001017[/TD]
[TD="align: center"]4.12[/TD]
[/TR]
[TR]
[TD="align: center"]0.001033[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.001700[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.001717[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.002350[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.002383[/TD]
[TD="align: center"]4.09[/TD]
[/TR]
[TR]
[TD="align: center"]0.003067[/TD]
[TD="align: center"]4.09[/TD]
[/TR]
[TR]
[TD="align: center"]0.003083[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.003917[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.003933[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.004433[/TD]
[TD="align: center"]4.13[/TD]
[/TR]
[TR]
[TD="align: center"]0.004967[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.004983[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.005517[/TD]
[TD="align: center"]4.06[/TD]
[/TR]
[TR]
[TD="align: center"]0.005533[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.005933[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.005950[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.006483[/TD]
[TD="align: center"]4.02[/TD]
[/TR]
[TR]
[TD="align: center"]0.006967[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.006983[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.007433[/TD]
[TD="align: center"]4.09[/TD]
[/TR]
[TR]
[TD="align: center"]0.007450[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.007967[/TD]
[TD="align: center"]4.05[/TD]
[/TR]
[TR]
[TD="align: center"]0.008500[/TD]
[TD="align: center"]4.09[/TD]
[/TR]
[TR]
[TD="align: center"]0.008933[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.008950[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.009417[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.009433[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.009917[/TD]
[TD="align: center"]4.05[/TD]
[/TR]
[TR]
[TD="align: center"]0.009933[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.010550[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]0.010567[/TD]
[TD="align: center"]#N/A
[/TD]
[/TR]
</tbody>[/TABLE]
Thanks,
David