Results 1 to 17 of 17

Arranging values from Series of Arrays in Descending Order by Formula - Not Macro

Threaded View

  1. #1
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Arranging values from Series of Arrays in Descending Order by Formula - Not Macro

    Hi All,

    Basic example of the following attached.

    I have a worksheet that assembles data from a report exported from another database. I want to create a formula that takes this assembled data and formats it into something that resembles an accounting journal.

    On the attached:
    - Cells B3:G10 represent the assembled data
    - Cells B15:E27 represent the ideal solution I am looking for. Ideal because it omits and zero values from the journal
    - Cells B15:E30 represent a satisfactory solution. Satisfactory because it assembles all data (including zero values) but I will still have to manually omit any zero values from the journal by deleting myself

    The requirements:
    - The journal should group primarily by type of expense (expenses are represented by column in the 'assembled data' section) and within this, by department (Dept 1 being listed first, Dept 2 second and so on).
    - The solution should detect that there are no more than 3 departments in the assembled data. Therefore it will list "Expense Type 1 - Dept. 1" on the first row, "Expense Type 1 - Dept. 2" on the second row, "Expense Type 1 - Dept. 3" on the third row. The solution will then detect that there is no Dept 4 and will proceed by listing "Expense Type 2 - Dept 1" on the fourth row and so on. Please note that the number of departments can increase or decrease month to month so the solution must have the flexibility to list "Expense Type 1 - Dept. 4" should Dept 4 ever be added.

    FYI - I would like a formula solution to this as oppose Macro. I don't know anything about Macros and I would like to be in a position to maintain myself should anything go wrong.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Cancatenate values on one cell on descending order
    By score in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 09-28-2015, 09:35 PM
  2. [SOLVED] Formula to Rank Values in Descending Order
    By brent_excel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-16-2015, 07:44 PM
  3. Replies: 3
    Last Post: 01-05-2013, 11:06 AM
  4. [SOLVED] Rank values in descending order with duplicates
    By mcain1981 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-14-2012, 01:15 PM
  5. Sorting in descending order and show duplicate values
    By cceze in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-19-2012, 09:33 AM
  6. Replies: 14
    Last Post: 04-17-2012, 05:18 PM
  7. Macro for arranging in descending order.
    By Taureankv in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-03-2010, 10:24 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