+ Reply to Thread
Results 1 to 20 of 20

Totals from two different tabs into a third tab of the same workbook

  1. #1
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70

    Totals from two different tabs into a third tab of the same workbook

    Totals from two different tabs into a third tab of the same workbook

    see attached example
    Thank You
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Totals from two different tabs into a third tab of the same workbook

    Please try at C2

    =SUMIFS('Checking Account'!$C:$C,'Checking Account'!$D:$D,$B2,'Checking Account'!$A:$A,">=1"&LEFT(C$1,3),'Checking Account'!$A:$A,"<"&EDATE(1&LEFT(C$1,3),1))+SUMIFS('Credit Card'!$C:$C,'Credit Card'!$D:$D,$B2,'Credit Card'!$A:$A,">=1"&LEFT(C$1,3),'Credit Card'!$A:$A,"<"&EDATE(1&LEFT(C$1,3),1))
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70

    Re: Totals from two different tabs into a third tab of the same workbook

    Thank You
    This works for January, how do I change it for February and all subsequent months throughout the year?

  4. #4
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70
    Quote Originally Posted by mittmje View Post
    Thank You
    This works for January, how do I change it for February and all subsequent months throughout the year?
    FYI only the row numbers change for each month

  5. #5
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70

    Re: Totals from two different tabs into a third tab of the same workbook

    Hello! Is there no other ways to do this?
    The one solution provided is incomplete. HELP

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

    Re: Totals from two different tabs into a third tab of the same workbook

    If I understand what you are saying then I believe that Bo_Ry's solution already works for February.
    To test I hanged the value in cell C17 on the Credit Card sheet from -8 to -80.
    Now on the Annual Ledger sheet, the February value of Misc Retail is -92 while the value for January is still -20.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70

    Re: Totals from two different tabs into a third tab of the same workbook

    Thank you, still is not working for me, I have to figure out what I'm doing wrong

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

    Re: Totals from two different tabs into a third tab of the same workbook

    It may help if you could upload another .xlsx file that illustrates the issue by highlighting or otherwise indicating where the formula is not yielding the expected results.
    Let us know if you have any questions.

  9. #9
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70

    Re: Totals from two different tabs into a third tab of the same workbook

    Hi JeteMc, thank you for your suggestion. I have attached a new file where I added additional months as well as expected results in the "Annual Ledger" tab.
    An additional observation:
    If I copy and past the original string copied from this thread to D2 (in the "Annual Ledger") I get the same result as C2 instead of what is expected as shown in the "Expected Results" D12.
    If, instead, I copy the string from C2 to D2 I get a different result (still not as expected)
    Attached Files Attached Files

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

    Re: Totals from two different tabs into a third tab of the same workbook

    The issue is that the dates in column A of the checking account and credit card sheets are not matching the months.
    In both instances dates that should be for March and April are listed as being in February.
    Let us know if you have any questions.

  11. #11
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70
    Quote Originally Posted by JeteMc View Post
    The issue is that the dates in column A of the checking account and credit card sheets are not matching the months.
    In both instances dates that should be for March and April are listed as being in February.
    Let us know if you have any questions.
    Oh that’s embarrassing, everything works now
    Thank you

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

    Re: Totals from two different tabs into a third tab of the same workbook

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

  13. #13
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70

    Re: Totals from two different tabs into a third tab of the same workbook

    So I have a question:
    How would the formula change if I wanted to add or move any of the columns in the checking and or credit card tabs?

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

    Re: Totals from two different tabs into a third tab of the same workbook

    It may help if you could tell us which columns will be added or to where the existing columns will be moved.
    Might be even more helpful if we could see another .xlsx file illustrating the possible changes.
    Let us know if you have any questions.

  15. #15
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70

    Re: Totals from two different tabs into a third tab of the same workbook

    Thank You
    Changes to Credit Cards tab only:
    Added Post Date, Category and Type
    See attached file
    Attached Files Attached Files

  16. #16
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70

    Re: Totals from two different tabs into a third tab of the same workbook

    Updated, enabled of the same file last sent
    Attached Files Attached Files

  17. #17
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Totals from two different tabs into a third tab of the same workbook

    Please try at C2

    =SUMIFS('Checking Account'!$C:$C,'Checking Account'!$F:$F,$B2,'Checking Account'!$A:$A,">=1"&LEFT(C$1,3),'Checking Account'!$A:$A,"<"&EDATE(1&LEFT(C$1,3),1))
    +SUMIFS('Credit Cards'!$F:$F,'Credit Cards'!$G:$G,$B2,'Credit Cards'!$B:$B,">=1"&LEFT(C$1,3),'Credit Cards'!$B:$B,"<"&EDATE(1&LEFT(C$1,3),1))
    Attached Files Attached Files

  18. #18
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70

    Re: Totals from two different tabs into a third tab of the same workbook

    Fantastic, worked great
    Thank You

  19. #19
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70

    Re: Totals from two different tabs into a third tab of the same workbook

    HELP, solution no longer works. When additional expenses are added in Checking account or Credit Card tabs, all cells in the Annual Ledger tab go to zero. Attached is the original file (Ledger Example Rev B) previously uploaded where I only added the number 1 into cell F2 of the Checking Account tab.
    Then I created a new file with the same information called "Try Again 1-15-21" and the Annual Ledger tab shows #VALUE in every cell. What am I doing wrong?
    Attached Files Attached Files

  20. #20
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,769

    Re: Totals from two different tabs into a third tab of the same workbook

    Then you need to remove the solved tag from the thread.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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: 1
    Last Post: 05-01-2020, 04:10 PM
  2. [SOLVED] Multiple tabs, one with all totals, want to add more and the cells need to adju
    By DKearn in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 10-26-2019, 05:21 PM
  3. [SOLVED] Copying tabs (which mach the name of tabs in cuurent workbook) from another workbook
    By stevoDE in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2017, 11:45 AM
  4. Replies: 1
    Last Post: 06-18-2015, 11:49 PM
  5. Help populating a cell formula (totals) on new tabs to infinity on a final page
    By cheeseburgers in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-21-2014, 03:32 PM
  6. [SOLVED] Multiple Tabs, Totals of each elements
    By Joshua27 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-17-2014, 11:39 PM
  7. [SOLVED] Extract data from a workbook with multiple tabs, into a workbook with corresponding tabs
    By krackaberr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2013, 11:54 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