Averageif Formula average of 1 column based on another column if not blank

weaselmcguff

Board Regular
Joined
Feb 24, 2006
Messages
246
I have a spreadsheet in Column P i have a drop down of 11 different findings. In Column M i have a calculated time based on 2 other fields for when a truck
started to be loaded and when the truck was finished being loaded.

I am trying to calculate the average time it took to load a truck where based on the Column M values when Column P is not blank

attached is an image of the formula i am trying to use and the errors i get.

I want the entire column M and P to be part of the formula. Because some days we have 10 shipments other days there could be 150

Thanks for your assistance
 

Attachments

  • 1.png
    1.png
    91.3 KB · Views: 7

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,215,219
Messages
6,123,687
Members
449,117
Latest member
Aaagu

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