+ Reply to Thread
Results 1 to 4 of 4

average duration for canceled bills

Hybrid View

  1. #1
    Registered User
    Join Date
    09-05-2010
    Location
    italy
    MS-Off Ver
    Excel 2018
    Posts
    63

    average duration for canceled bills

    Hi, I need a formula calculating the average just for canceled bills.

    i have #3 columns:
    #1 to identify the client
    #2 p=pending c= canceled
    #3 #of days on pending until bill is canceled.

    I need to know the average # of days of canceled bills per each client.

    please see dummy file attached.

    thank you very much for your help.

    carlo
    Attached Files Attached Files
    Last edited by kghisla; 12-04-2010 at 08:27 PM.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: average duration for canceled bills

    Hi Carlo, you may want to try:

    =AVERAGE(IF(($A$4:$A$14=A18)*($B$4:$B$14="c"),$C$4:$C$14))

    This is an array formula, so you must confirm using CTRL+SHIFT+ENTER, not just ENTER.

  3. #3
    Registered User
    Join Date
    09-05-2010
    Location
    italy
    MS-Off Ver
    Excel 2018
    Posts
    63

    Re: average duration for canceled bills

    excellent, thank you very much!!

  4. #4
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: average duration for canceled bills

    Or you could use a pivot table.......


    Row Labels Average of days
    1 13
    c 16
    p 3
    2 8
    c 6
    p 12
    3 6
    c 8
    p 2
    4 12
    c 12
    (blank)
    (blank)
    Grand Total 10
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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