Ignore zeros with AVERAGEIF but in columns with specific text

leyagaco

New Member
Joined
Sep 5, 2020
Messages
7
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I'm trying to get the average from the R column but only if it contains an specific text in the D column AND ignore zeros on column R, I only got this so far =AVERAGEIF(D:D,"Production Operator",R:R) but I am not sure how to add the "ignore zero" to the formula, please help, thank you!
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Try this & advise
Updated

=AVERAGEIFS(R:R,D:D,"Production Operator",R:R,"<>0")
 
Last edited:
Upvote 0
Thank you, I tried but it says there's an error in the formula :(
 
Upvote 0
Updated

=AVERAGEIFS(R:R,D:D,"Production Operator",R:R,"<>0")
 
Upvote 0
I tried that and now it says I entered too many arguments
 
Upvote 0

Forum statistics

Threads
1,214,381
Messages
6,119,192
Members
448,874
Latest member
Lancelots

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