+ Reply to Thread
Results 1 to 5 of 5

Need to add IF to an AVERAGEIFS formula

  1. #1
    Registered User
    Join Date
    06-28-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2013
    Posts
    11

    Need to add IF to an AVERAGEIFS formula

    Good day Forum,

    I have a formula I need to add an IF function to. The formula works fine, but I need it to change the response if 0.

    =AVERAGEIFS(Node_Job_Count_by_Current_State!$DD$5:$DD$11004,Node_Job_Count_by_Current_State!$M$5:$M$11004,"Hawaii",Node_Job_Count_by_Current_State!$G$5:$G$11004,"Node Split",Node_Job_Count_by_Current_State!$BF$5:$BF$11004,">="&$K$1,Node_Job_Count_by_Current_State!$BF$5:$BF$11004,"<="&$L$1)

    If the response is 0.00, I need it to be 0.01. I have searched the web before coming here, but I cannot find any references to this situation.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,513

    Re: Need to add IF to an AVERAGEIFS formula

    offhand w/o seeing a workbook, I would guess this...
    =if(AVERAGEIFS(Node_Job_Count_by_Current_State!$DD$5:$DD$11004,Node_Job_Count_by_Current_State!$M$5:$M$11004,"Hawaii",Node_Job_Count_by_Current_State!$G$5:$G$11004,"Node Split",Node_Job_Count_by_Current_State!$BF$5:$BF$11004,">="&$K$1,Node_Job_Count_by_Current_State!$BF$5:$BF$11004,"<="&$L$1)=0,.01,AVERAGEIFS(Node_Job_Count_by_Current_State!$DD$5:$DD$11004,Node_Job_Count_by_Current_State!$M$5:$M$11004,"Hawaii",Node_Job_Count_by_Current_State!$G$5:$G$11004,"Node Split",Node_Job_Count_by_Current_State!$BF$5:$BF$11004,">="&$K$1,Node_Job_Count_by_Current_State!$BF$5:$BF$11004,"<="&$L$1))
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,900

    Re: Need to add IF to an AVERAGEIFS formula

    Or (untested) maybe:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    06-28-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2013
    Posts
    11

    Re: Need to add IF to an AVERAGEIFS formula

    Both work great, thank you for your assistance and time.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,900

    Re: Need to add IF to an AVERAGEIFS formula

    You're welcome. Thanks for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] AVERAGEIFS Formula Not Functioning
    By cosmica67 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-05-2022, 09:04 AM
  2. AVERAGEIFS - Correct Formula or other?
    By AshExcelHelp in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-14-2020, 08:47 PM
  3. [SOLVED] Help with AVERAGEIFS formula
    By jrtaylor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-27-2019, 09:16 PM
  4. [SOLVED] AverageIFS Formula
    By Verbamore in forum Excel General
    Replies: 5
    Last Post: 02-14-2017, 03:00 PM
  5. [SOLVED] help with averageifs formula
    By Navin Agrawal in forum Excel General
    Replies: 6
    Last Post: 03-10-2016, 03:58 AM
  6. [SOLVED] Excel 2007 : Help (again) with AVERAGEIFS formula
    By milliemoo in forum Excel General
    Replies: 9
    Last Post: 03-27-2012, 09:37 AM
  7. Need help averageifs formula
    By lliam79 in forum Excel General
    Replies: 3
    Last Post: 09-23-2011, 02:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1