+ Reply to Thread
Results 1 to 11 of 11

AVERAGE - Multiple VLOOKUPs whilst ignoring zeros or blanks

  1. #1
    Registered User
    Join Date
    09-16-2017
    Location
    England
    MS-Off Ver
    2016
    Posts
    43

    AVERAGE - Multiple VLOOKUPs whilst ignoring zeros or blanks

    See attached Excel doc for example.

    I do some reporting for a contact centre and a report I'm trying to build looks at agents wrap targets. This report uses averages and prints a percentage for us to look at and whether they've met the weekly % target. However I'm struggling to make the overall % (under 'Summary') truly accurate as it takes into account any zeros.

    For individual agents I need a similar formula to what I already use, but ignores zeros or blanks.

    Any help would be appreciated.
    Attached Files Attached Files

  2. #2
    Forum Contributor shank_mis's Avatar
    Join Date
    09-08-2018
    Location
    Delhi
    MS-Off Ver
    2010
    Posts
    128

    Re: AVERAGE - Multiple VLOOKUPs whilst ignoring zeros or blanks

    summarize all the data in a single sheet day wise.
    Use Pivot Table.... Life would be easier.
    Shashank Mishra
    Please hit "Add Reputation" Button if you liked the answer.

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: AVERAGE - Multiple VLOOKUPs whilst ignoring zeros or blanks

    Any numbers of your expected solution would also be helpful

    Also you are averaging averages for your team figure which is usually considered bad practice
    http://ksrowell.com/blog-visualizing...urate-hint-no/

    Why not just sum all the calls for the person and the over wraps (sum(Calls)-sum(overwrap))/Sum (calls) is the figure you want to achieve?

    You should have access to power pivot that can do what you ask more easily, I don't have it on this computer

    Alternatively 1-(Sumif(Monday!a1:a100,[@Orange],Monday!c1:c100)+ same for each other day)/(Sumif(Monday!a1:a100,[@Orange],Monday!b1:b100)+ same for each other day)


    will give you the correct mathematical answer
    Last edited by davsth; 01-20-2020 at 06:51 AM.

  4. #4
    Registered User
    Join Date
    01-15-2020
    Location
    Bangalore
    MS-Off Ver
    2016
    Posts
    21

    Re: AVERAGE - Multiple VLOOKUPs whilst ignoring zeros or blanks

    Try using -->>>> IF(A7<>"",IFERROR(AVERAGE(IFERROR(SUMIFS(INDIRECT({"Monday";"Tuesday";"Wednesday";"Thursday";"Friday";"Saturday"}&"!D:D"),INDIRECT({"Monday";"Tuesday";"Wednesday";"Thursday";"Friday";"Saturday"}&"!A:A"),A7),"NA")),"NA"),"")
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-16-2017
    Location
    England
    MS-Off Ver
    2016
    Posts
    43

    Re: AVERAGE - Multiple VLOOKUPs whilst ignoring zeros or blanks

    Hey this seems to work perfectly for the most part. However Agent6 is showing NA even though they have call data for Tuesday. I've had a similar issue when applying this to the actual report, in that it's showing NA for some agents despite having data for at least one day.

    Any advice?

  6. #6
    Registered User
    Join Date
    01-15-2020
    Location
    Bangalore
    MS-Off Ver
    2016
    Posts
    21

    Re: AVERAGE - Multiple VLOOKUPs whilst ignoring zeros or blanks

    Capture.JPG

    Not sure what are you referring to, here I am getting values for Agent6, Agent13 and Agent16 are NA

  7. #7
    Registered User
    Join Date
    09-16-2017
    Location
    England
    MS-Off Ver
    2016
    Posts
    43

    Re: AVERAGE - Multiple VLOOKUPs whilst ignoring zeros or blanks

    So I've attached what I'm currently looking at.

    Agents 18,19, and 26 shouldn't be showing as NA as they have call data from one of the days. See what I mean?
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-15-2020
    Location
    Bangalore
    MS-Off Ver
    2016
    Posts
    21

    Re: AVERAGE - Multiple VLOOKUPs whilst ignoring zeros or blanks

    you made some error in the formula, have fixed it. Only 18 and 26 has the data.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    09-16-2017
    Location
    England
    MS-Off Ver
    2016
    Posts
    43

    Re: AVERAGE - Multiple VLOOKUPs whilst ignoring zeros or blanks

    Can I ask what error I made? Whenever I go into the formula and press enter, 18 returns to the NA state and can't figure out why.

  10. #10
    Registered User
    Join Date
    01-15-2020
    Location
    Bangalore
    MS-Off Ver
    2016
    Posts
    21

    Re: AVERAGE - Multiple VLOOKUPs whilst ignoring zeros or blanks

    Try using CTRL+Shift+Enter

  11. #11
    Registered User
    Join Date
    09-16-2017
    Location
    England
    MS-Off Ver
    2016
    Posts
    43

    Re: AVERAGE - Multiple VLOOKUPs whilst ignoring zeros or blanks

    Awesome thank you very much!

+ 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. Need to average data excluding blanks that matches 2 vlookups.
    By jdiegelmann in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-13-2017, 08:56 AM
  2. Replies: 3
    Last Post: 05-03-2016, 08:16 AM
  3. Averaging data from a table by row name and ignoring blanks/zeros
    By HoneyBadger302 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-01-2015, 10:52 AM
  4. Index/Match ignoring Blanks/Zeros for each instance
    By corhrtz in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-18-2015, 11:04 AM
  5. Replies: 4
    Last Post: 06-11-2014, 07:56 AM
  6. Ordering a list whilst ignoring zeros
    By Woody. in forum Excel General
    Replies: 4
    Last Post: 10-22-2013, 11:20 AM
  7. Excel 2007 : Averaging Averages Whilst Ignoring Zeros
    By Jeff_Farrar in forum Excel General
    Replies: 2
    Last Post: 02-14-2011, 06:58 PM

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