+ Reply to Thread
Results 1 to 4 of 4

How to sort an accounting general ledger

  1. #1
    Registered User
    Join Date
    09-20-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2019
    Posts
    57

    How to sort an accounting general ledger

    I work as an auditor and I usually receive the soft copy of the general ledger which is not suitable for me to use. I would like to format it in such a way that i could separate the movement of the accounts, opening balance and closing balance. Besides that I would also like to be able to sort the ledger according to the individual accounts.

    Untitled.jpg


    Untitled2.jpg
    Last edited by Deniouz; 08-15-2015 at 06:56 AM.

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: How to sort an accounting general ledger

    Hi, welcome to the forum.

    Getting your second column, with the debits and credits all together, can be done with a new column and a formula. I'm going to assume that your screenshots show columns A-D. If not, you'll need to adjust the formula below to match the correct column labels. First, insert a new column. Now, in the row which contains the words 'Accounts' and 'USD', enter this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then drag the formula down as far as you need to - this will move all the debits and credits into one column, also making all the credits into negative amounts.
    To format the numbers as you've shown, use this number format: #,##0.00;(#,##0.00)
    Now select the column, copy it, then use 'Paste Special' to 'Paste Values' (this replaces all the formulae with the values you want).
    You can now delete the original columns.


    Filling in the account names in the first column can't be done with a formula, but you can use this method to fill in all the blanks:
    In the column containing 'Accounts', select from 'Accounts' to the last row containing any debit/credit amounts (e.g. A2:A13).
    Press F5 (which opens the Go To window).
    Click 'Special' then select 'Blanks' then click 'OK' (this selects all the blank cells in your range).
    Without clicking anywhere else, type '=' then press the up arrow.
    Now press Ctrl and Enter together (this will fill in every blank with the text from the line above).
    (say thank you to ChemistB for this little trick (see http://www.excelforum.com/excel-form...ml#post4161770))

    As above, select the column, then copy and 'paste values' to replace the formulae with the required text.

    There are undoubtedly folk on this forum who can write you a macro to do all of this, but I hope this helps in the meantime.

    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.

  3. #3
    Registered User
    Join Date
    09-20-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2019
    Posts
    57

    Re: How to sort an accounting general ledger

    Thanks for the formula.. And I've figured out the way to fill in the accounts names..

    Untitled.jpg

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: How to sort an accounting general ledger

    You're welcome - glad you got what you needed - and thanks for the rep.

    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.

+ 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. Accounting: How to Link General Journal Transactions to Ledger?
    By dmfnswm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-04-2013, 07:46 PM
  2. Help with Ledger/accounting formulas
    By jam4jah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  3. Help with Ledger/accounting formulas
    By jam4jah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 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