+ Reply to Thread
Results 1 to 3 of 3

Calculating Yearly Account Growth by Account in an Unsorted Worksheet

  1. #1
    Forum Contributor
    Join Date
    05-17-2017
    Location
    Tallahassee
    MS-Off Ver
    15.32
    Posts
    206

    Calculating Yearly Account Growth by Account in an Unsorted Worksheet

    Hi! I have attached a workbook of sorted randomized data along with the desired results. My issues is that I have a very large and unsorted accounts table with projected account growth percentages. Without having to sort, what method would you use to calculate these projections? I was thinking of doing some sort of index matching, with some text parsing, off of a concatenation of account number, ": ", and the year to obtain the growth rate that needs to be applied, however, this is proving more difficult than I thought. Any ideas?
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Calculating Yearly Account Growth by Account in an Unsorted Worksheet

    First idea would be to sort the data, or make a copy of the data and sort that by account and then by year.
    If the data absolutely can not be sorted, as modeled in columns J:M where the data is listed ascending by year (just a guess):
    Second idea is to make a sorted result table (by account then by year) as modeled in columns O:P
    Columns Q:R are populated using: =AGGREGATE(15,6,L$3:L$26/($J$3:$J$26=$O3)/($K$3:$K$26=$P3),1)
    Columns S is populated using: =IF(O3<>O2,Q3,S2*(1+R3))
    If this isn't applicable then please upload some data that is representative of the unsorted state with which you will have to work along with expected output.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Calculating Yearly Account Growth by Account in an Unsorted Worksheet

    Using a CAGR formula maybe as in the attached.
    Attached Files Attached Files
    Last edited by alansidman; 05-07-2019 at 11:14 PM.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Replies: 0
    Last Post: 03-14-2015, 04:44 PM
  2. [SOLVED] Remove an account range form a column with account numbers.
    By kokapelly in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-09-2013, 11:34 AM
  3. [SOLVED] How to censor account numbers based on how many characters are in the account number
    By Mcorydon in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-25-2013, 01:06 PM
  4. Replies: 1
    Last Post: 03-14-2013, 05:57 PM
  5. Replies: 1
    Last Post: 09-07-2012, 12:00 PM
  6. Replies: 1
    Last Post: 05-17-2012, 01:55 AM
  7. Replies: 9
    Last Post: 03-12-2012, 05:30 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