+ Reply to Thread
Results 1 to 8 of 8

How to group data together that match account numbers from two different work books

  1. #1
    Forum Contributor
    Join Date
    01-27-2016
    Location
    Greenville,NC
    MS-Off Ver
    Excel 2013
    Posts
    124

    How to group data together that match account numbers from two different work books

    What I am trying to do is make an expense report for 4 months, so I can see how my expenses change over the months, and maybe even have a variance column. I pulled the attached reports from QuickBooks, but qb does not give you just expense reporting.

    Anyway, so I want to try and find a slick way to incorporate the expenses from all these individual reports into one report based on the account number, if that makes sense..? Otherwise I would have to do it all manually which will take hours.

    Let me try and illustrate.. let's say we are looking at the October workbook, and let's say were looking at account number 5260 Retirement Expense COGS for 352.40. Well, if there was an expense amount in the November workbook for 5260 Retirement Expense COGS, I would want that amount out beside the amount for October so I could compare them. But I want this in all one workbook, not several, so I want to extract the data from one workbook and put it out beside the data from another.

    So, the top of my workbooks would look something like ----->>> October November December

    Retirement Exp 5260 Blah$$ Blah$$$ Blah$$$

    Please help. I know this may be a herculean task, and I would be willing to pay for this if the price offered was right. I need this quickly though. Thank you all for your time and attention.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: How to group data together that match account numbers from two different work books

    In the October workbook, column H, type and copy down =VLOOKUP(E$2,[Nov.xlsx]Sheet1!E$2:G$32,3,FALSE)

    then in Column I, do the same
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    01-27-2016
    Location
    Greenville,NC
    MS-Off Ver
    Excel 2013
    Posts
    124

    Re: How to group data together that match account numbers from two different work books

    Alan,

    Thank you for your response. I think I followed your instructions exactly, but I get #N/A when I put this in? Please advise.

    Many Thanks,

    Ryan

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: How to group data together that match account numbers from two different work books

    You will get #NA if there is no value to bring over. Wrap the Vlookup in an If(isna(vlookup statement),0, vlookup statement)

  5. #5
    Forum Contributor
    Join Date
    01-27-2016
    Location
    Greenville,NC
    MS-Off Ver
    Excel 2013
    Posts
    124

    Re: How to group data together that match account numbers from two different work books

    Alan,

    I do not know what I am doing wrong. I followed your instructions above and I can't seem to get it to work. Can you attach the October workbook with your formula in it so I can see where I am going wrong.

    Ryan

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: How to group data together that match account numbers from two different work books

    Here is my formula =IF(ISNA(VLOOKUP($E2,[Nov.xlsx]Sheet1!E$2:G$31,3,FALSE)),"",VLOOKUP($E2,[Nov.xlsx]Sheet1!E$2:G$31,3,FALSE))

  7. #7
    Forum Contributor
    Join Date
    01-27-2016
    Location
    Greenville,NC
    MS-Off Ver
    Excel 2013
    Posts
    124

    Re: How to group data together that match account numbers from two different work books

    Thank you! That worked beautifully.

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: How to group data together that match account numbers from two different work books

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Crossreferencing Data in Two Work Books
    By TheDirtyDrunk in forum Excel General
    Replies: 2
    Last Post: 06-29-2013, 08:51 AM
  2. Macro to collate data from different work books and different work sheets
    By bvdileep in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-04-2012, 05:34 AM
  3. Replies: 3
    Last Post: 03-13-2012, 12:46 PM
  4. Match account numbers to 2nd column (vlookup?)
    By Xx7 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 07-01-2011, 11:11 AM
  5. Replies: 3
    Last Post: 03-20-2010, 10:53 PM
  6. sharing data between work books
    By the-bears in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-14-2010, 05:12 PM
  7. How to reconcile a a floorplan account between books and statement
    By Paul Bass in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-02-2006, 01:13 AM
  8. [SOLVED] Getting data from Several Work Books
    By WayneF in forum Excel General
    Replies: 0
    Last Post: 02-16-2006, 12:25 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