+ Reply to Thread
Results 1 to 6 of 6

Debit/Credit Journal Formula

  1. #1
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    Debit/Credit Journal Formula

    Hi,

    I have had help on different posts previously with auto populating a journal and needing it to determine the correct side of the journal based on a “+” and “-“.

    I need the same but this time with a different data set that is in a different layout.

    The data is on the sheet “Monthly Data” in the cell columns H:T. I need certain row data (highlighted in red) pulled from the Monthly Data sheet onto the monthly journal. The main compliation would be which side of the journal to post “+” is debit and “-“ is credit.

    Can someone help please?
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    Re: Debit/Credit Journal Formula

    Hi,

    I managed to get one formula working which pulls in three of the fields (=INDEX('Monthly Data'!$M$5:$T$199,ROWS(C$13:C13),1))

    However I am truely stuck on the last bit - getting a formula to determine if its a debit or credit and then placing it in column J or K.

    It would need to be something like if row 1, column R on the monthly sheet is a "+" then return it to J13 of the journal sheet, if it is a "-" then return it to K13
    Attached Files Attached Files

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Debit/Credit Journal Formula

    Building on your existing formulas..

    In J13
    =IF(INDEX('Monthly Data'!$M$5:$T$199,ROWS(C$13:C13),6)="+",INDEX('Monthly Data'!$M$5:$T$199,ROWS(C$13:C13),5),"")

    In K13
    =IF(INDEX('Monthly Data'!$M$5:$T$199,ROWS(C$13:C13),6)="-",INDEX('Monthly Data'!$M$5:$T$199,ROWS(C$13:C13),5),"")

    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    Re: Debit/Credit Journal Formula

    Hi Ace - when I apply these I have Circular references - would you know why this would be?
    Attached Files Attached Files

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Debit/Credit Journal Formula

    The circular reference is in 'Summary' sheet Cell A15 (merged cell)

    =INDEX('Monthly Data'!M5:M8, MATCH(0, COUNTIFS($B$1:B1, $A$2:$A$20), 0))



    Nothing to do with the data or monthly sheet

  6. #6
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    Re: Debit/Credit Journal Formula

    Strange - I was running through error checker and it showed these as errors.

    The formula is cell A15 causing the error was me mucking about trying to get another problem (unqiue list from 3 data sets) so I dont need it - a simple delete and its gone!

    Thanks ACE!

+ 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. debit-credit
    By tiki33 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-06-2014, 03:13 AM
  2. Replies: 4
    Last Post: 01-18-2014, 03:24 AM
  3. Debit credit formulas
    By SAMEEP in forum Excel - New Users/Basics
    Replies: 10
    Last Post: 11-08-2011, 01:13 PM
  4. Create two line journal entry from one line, two different column for debit & credit
    By ditto135 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-03-2011, 03:01 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