+ Reply to Thread
Results 1 to 15 of 15

Bank Reconciliation Sum If

  1. #1
    Registered User
    Join Date
    03-21-2016
    Location
    Anderson, SC
    MS-Off Ver
    365 2013
    Posts
    11

    Question Bank Reconciliation Sum If

    Hi Everyone!

    I am trying to write an SumIf for the attached file. My objective is to Sum the totals in Col H and I ( Col H - Col I = Net Amount) if Col E is the same number and then return the results.

    Thank you,
    JP
    Attached Files Attached Files

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Bank Reconciliation Sum If

    Does somethign like this work for you?
    =SUMIF(E:E,55335,H:H)-SUMIF(E:E,55335,I:I)

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,718

    Re: Bank Reconciliation Sum If

    You can put this formula in J1:

    =IF(COUNTIF(E$1:E1,E1)=1,SUMIFS($H:$H,E:E,E1)-SUMIFS($I:$I,E:E,E1),"")

    then copy down.

    Hope this helps.

    Pete

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Bank Reconciliation Sum If

    Try

    =SUMPRODUCT((E1:E43=55335)*((H1:H43)-(I1:I43)))

    or

    =SUMPRODUCT((E1:E43=M1)*((H1:H43)-(I1:I43)))

    M1= 55335

  5. #5
    Registered User
    Join Date
    03-21-2016
    Location
    Anderson, SC
    MS-Off Ver
    365 2013
    Posts
    11

    Re: Bank Reconciliation Sum If

    Wow, yes, this works. Now in Col E these are batch numbers; which I have a report that contains all of these numbers. How could I incorporate a look up chart of these numbers like an array? I am trying to prevent from manually typing each of the batch #'s in Col E in each SUMIF statement.

    Thank you again for the fast reply!

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Bank Reconciliation Sum If

    =SUMPRODUCT((E1:E43=A2)*((H1:H43)-(I1:I43)))


    If the batch number are in (say) A2:A10 and the formula in C2:C10 then use the above formula and drag down rows C2:C10

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,718

    Re: Bank Reconciliation Sum If

    Did you try my formula in J1? It gives exactly what you show in your example file - do you need a different layout?

    Pete

  8. #8
    Registered User
    Join Date
    03-21-2016
    Location
    Anderson, SC
    MS-Off Ver
    365 2013
    Posts
    11

    Re: Bank Reconciliation Sum If

    Hi JohnTopley!

    I just tried out your formula and it just returns the good ol #Value!. I entered the batch number in Col A cell 2, formatted in 2 ways one as a number and I also tried as general. I also checked to make sure the rest of the data fell into the range of the formula, but it still returned #Value!

  9. #9
    Registered User
    Join Date
    03-21-2016
    Location
    Anderson, SC
    MS-Off Ver
    365 2013
    Posts
    11

    Re: Bank Reconciliation Sum If

    Hi Pete_UK!

    Yes, I did try your formula, however it returned a zero value.

  10. #10
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Bank Reconciliation Sum If

    In Sheet2 of your sample file

    A2=55335

    =SUMPRODUCT((Sheet1!$E$1:$E$43=A2)*((Sheet1!$H$1:$H$43)-(Sheet1!$I$1:$I$43)))

    gave the correct result.

  11. #11
    Registered User
    Join Date
    03-21-2016
    Location
    Anderson, SC
    MS-Off Ver
    365 2013
    Posts
    11

    Re: Bank Reconciliation Sum If

    dosydos,

    Your formula works great, is it possible I could add a table of data for the batch numbers, rather than entering each batch number in manually within the formula? For example, =SUMIF(E:E,55335,H:H)-SUMIF(E:E,55335,I:I)
    In the selection could I point this to a table that would have say a list of batches 55335,55336,55337, etc.?

  12. #12
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Bank Reconciliation Sum If

    As per other formulae ....

    =SUMIF(E:E,A2,H:H)-SUMIF(E:E,A2,I:I)

  13. #13
    Registered User
    Join Date
    03-21-2016
    Location
    Anderson, SC
    MS-Off Ver
    365 2013
    Posts
    11

    Re: Bank Reconciliation Sum If

    JphnTopley!

    Sorry, I went bacl to the example file and it does work. Perhaps in my live file I did not have it referenced correctly. Would it be easy to eliminate the duplicated returned amounts? For example it will return the amount $47,690.17 as many times as there are the batch numbers we told it to return. Can this be limited to only be returned 1 time for the batch? Like How I manually returned the value 1 time in Col J for this entire batch? Just curious. Sorry to be such a pain in the neck.

  14. #14
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,718

    Re: Bank Reconciliation Sum If

    Quote Originally Posted by japj1984 View Post
    Hi Pete_UK!

    Yes, I did try your formula, however it returned a zero value.
    In the attached file I put my formula in L1 and copied down, so you can compare it directly with the values that you have in column J.

    Hope this helps.

    Pete
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    03-21-2016
    Location
    Anderson, SC
    MS-Off Ver
    365 2013
    Posts
    11

    Re: Bank Reconciliation Sum If

    Thank you Pete_UK!

+ 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. Bank Reconciliation with VBA
    By kazdima in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2016, 03:08 PM
  2. Bank Reconciliation - Help
    By Lourenço in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-14-2015, 09:13 AM
  3. Bank Reconciliation
    By ravogt91 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-11-2014, 08:22 AM
  4. bank reconciliation.
    By elias jahangir in forum Excel General
    Replies: 3
    Last Post: 05-29-2014, 01:34 PM
  5. Bank Reconciliation
    By Accountant0607 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-24-2014, 10:32 PM
  6. Bank Reconciliation VBA Help
    By showgun3 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2013, 12:26 AM
  7. Bank Reconciliation
    By thameem127 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2012, 03:17 PM

Tags for this Thread

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