Average Values Over Specific Time Ranges

davyj93

New Member
Joined
Apr 14, 2017
Messages
14
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
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top