+ Reply to Thread
Results 1 to 7 of 7

Average Formula for unconventional Data

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-19-2016
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    226

    Average Formula for unconventional Data

    Hi,

    I am trying to average some data but the data is in an unconventional format.

    The format is Years/Months and is shown like this example:

    7/5 would be 7 Years and 5 Months

    10/11 would be 10 Years and 11 months

    Some of the data will be blank as well so I need to account for any blank cells. So cell C5 will have an average of 6/2

    The average result cells C2:C7 need to be in the same format as the cells it is calculating, so 7/2, for example.

    I have attached a sample file. I am using Excel 2016.

    Thanks for looking.
    Attached Files Attached Files
    Last edited by cosmica67; 01-15-2022 at 11:44 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,760

    Re: Average Formula for unconventional Data

    You haven't filled the average column wth manually calculated results - we need to know exactly what you are expecting,
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    10-19-2016
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    226

    Re: Average Formula for unconventional Data

    Thanks,

    I have amended the OP to show that the average needs to be in the same format.

    for example:

    Years/Months Years/Months Average
    6/4 7/4 6/10

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,430

    Re: Average Formula for unconventional Data

    Are you wanting to average the Y/M in one column, or both? Or to get the average of the difference between col A and col B?? or what??
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Forum Contributor
    Join Date
    10-19-2016
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    226

    Re: Average Formula for unconventional Data

    The average of A2:B2 in cell C2 in the same format (for example, 6/10) if this makes sense.

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Average Formula for unconventional Data

    Please try

    PHP Code: 
    =SUBSTITUTE(TEXT(DOLLARFR(SUMPRODUCT(TEXT(MID(SUBSTITUTE(A2:B2,"/","   "),{1;4},3),"0;;;\0")*{12;1})/COUNTA(A2:B2)/12,12)*100,"0\/00"),"/0","/"
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    10-19-2016
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    226

    Re: Average Formula for unconventional Data

    Perfect!

    Many thanks.

+ 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. Excel Bar Chart Using Unconventional Data
    By cosmica67 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-24-2021, 07:39 AM
  2. [SOLVED] Average Formula Using Unconventional format
    By cosmica67 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 12-23-2021, 10:34 PM
  3. [SOLVED] Average formula needed to get average data
    By wiewie002 in forum Excel General
    Replies: 3
    Last Post: 10-22-2018, 04:05 AM
  4. Need formula to average daily data into month and year data
    By phantasm79 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-28-2014, 07:02 PM
  5. Converting an Unconventional Date - 07_Wed_August_13
    By lukegould in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-04-2013, 09:42 AM
  6. Converting unconventional time formats.
    By jollyfarmertom in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-16-2012, 07:04 AM
  7. Assessing unconventional projects
    By khwaja in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2006, 11:55 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