Ignore zeros with AVERAGEIF but in columns with specific text

leyagaco

New Member
Joined
Sep 5, 2020
Messages
4
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!
 

Some videos you may like

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

mehidy1437

Active Member
Joined
Nov 15, 2019
Messages
270
Office Version
  1. 2013
Platform
  1. Windows
  2. Mobile
  3. Web
Try this & advise
Updated

=AVERAGEIFS(R:R,D:D,"Production Operator",R:R,"<>0")
 
Last edited:

leyagaco

New Member
Joined
Sep 5, 2020
Messages
4
Office Version
  1. 2016
Platform
  1. Windows
Thank you, I tried but it says there's an error in the formula :(
 

mehidy1437

Active Member
Joined
Nov 15, 2019
Messages
270
Office Version
  1. 2013
Platform
  1. Windows
  2. Mobile
  3. Web
Updated

=AVERAGEIFS(R:R,D:D,"Production Operator",R:R,"<>0")
 

leyagaco

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

ADVERTISEMENT

I tried that and now it says I entered too many arguments
 

Watch MrExcel Video

Forum statistics

Threads
1,122,327
Messages
5,595,526
Members
413,996
Latest member
mabelO

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
Top