+ Reply to Thread
Results 1 to 13 of 13

Create unique references (according to date) across two tabs then summarise on third tab

  1. #1
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Create unique references (according to date) across two tabs then summarise on third tab

    Hi All,

    Typically I provide background on the reason why I'm asking the question that I'm asking, but this one is a bit too long winded to explain. So with reference to the attached, I have three tabs:

    - Bank Account 1 Activity
    - Bank Account 2 Activity
    - Summary

    For both 'Bank Account 1 Activity' and 'Bank Account 2 Activity':

    - As the names suggests, they represent separate bank accounts
    - All activity for the bank accounts are downloaded from online banking and pasted into the respective tabs i.e. these tabs represent actual expenditure
    - Each type of expenditure (column D) will be grouped into a broader category using the data validation drop down list in column I
    - Selecting a type of expenditure in column I will then generate a unique reference in column J

    For 'Summary' tab:
    - Using the drop down list in G8 the reader of the document will select which category of expenditure he/she wishes to see
    - Changing the category in G8 will change the unique reference in column D
    - The unique reference in column D acts as the lookup value which, using the INDEX MATCH function, then replicates the bank expenditure of all bank activity within that group of expenditure

    The problem I'm having is that the information replicated on the summary tab is only picking up expenditure from 'Bank_Account_1-Activity' tab but I need to incorporate the expenditure from 'Bank_Account_2-Activity' tab too. The data from both tabs need to appear on the 'Summary' tab in date order, with each single item of activity having it's own row on the summary tab. I assume the best way to do this would be to amend the unique values on the two bank tabs so that no 'unique reference' is duplicated (as is currently the case) and so that each unique reference is given according to date, and then amending the INDEX MATCH function so that it incorporates an IF function to look up the second tab if the unqiue reference isn't found on the first....but I don't know where to start.
    Attached Files Attached Files

  2. #2
    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: Create unique references (according to date) across two tabs then summarise on third t

    It would be much easier if you merged your bank account tabs into one and adding an extra column to identify which bank activity any transaction pertains to.

    I can see no advantage in having separate tabs but several in having a single one.

  3. #3
    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: Create unique references (according to date) across two tabs then summarise on third t

    Just to add ...

    there is nothing (obvious) in the Summary tab that identifies which account the data belongs to so a single tab with A/C ID (to me) is a valid option.

  4. #4
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Re: Create unique references (according to date) across two tabs then summarise on third t

    Hi John,

    I'd agree with your second point, this is a must, but I hadn't put this in yet as this will be dependent on my achieving the consolidation of data.

    The reason I keep the accounts separate is because they also act as a bank reconciliation. On my real version, there are more fields to the bank rec, including a summary (opening balance, incoming, outgoing and closing balance) as well as a field for inserting the bank statement as an object. Keeping them separate allows the readers at Head Office to be able to be able to see that the accounts do in fact reconcile. Combining them would simply confuse matters.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,001

    Re: Create unique references (according to date) across two tabs then summarise on third t

    I agree with John T. It's the "in date order" bit... It's easy enough to search through multiple sheets sequentially, but another thing entirely to swap from one sheet to another and back again looking for the next oldest date.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Re: Create unique references (according to date) across two tabs then summarise on third t

    OK in that case I guess I can have a second summary table for the second bank account. That part isn't a deal breaker, just a 'nice to have'. Although I've been told everything is possible on Excel, I take on board your comments over the difficulty involved. At the end of the day, my own ability to maintain the sheet is more important than perfecting presentation. Thanks for your input guys.

  7. #7
    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: Create unique references (according to date) across two tabs then summarise on third t

    Just produce a reconciliation sheet(s) (daily/weekly/monthly): I do it with my own finances at home, reconciling a download from my bank with my own records (Excel-based!), including opening/closing balances/incomings/outgoings.

    Having data in one tab should not make any reconciliation more difficult: the reconciliation logic is (surely) the same.

    And as Glenn pointed out, having to "jump" between A/Cs based on dates makes it even more difficult.

  8. #8
    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: Create unique references (according to date) across two tabs then summarise on third t

    I've been told everything is possible on Excel
    ... i doubt "everything"!

    However, it would be possible to do what you require in Excel BUT might involved using VBA as a more efficient way of achieving your object.

    My own personal reconciliation is a simple VBA-based solution.


    And with two summaries, aren't you still left with reconciling the two????
    Last edited by JohnTopley; 10-09-2016 at 09:55 AM.

  9. #9
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Re: Create unique references (according to date) across two tabs then summarise on third t

    So we've established that the above would be difficult but one other thing I've just thought I could do with is to make the index match dependent on selected dates (or if not INDEX MATCH, use any other formula that will allow this). Basically I will create fields for 'Start Date' period and 'End Date' period on the summary tab and the reader will define these fields e.g. if the reader wanted to see bank activity in Q1 FY2016 he/she would then set the Start Date as 01/01/2016 and the end date as 31/03/2016 and the only transactions to show in the summary table will be those that fall within that period?

    And in doing this, would the unique references even be relevant? Could I just create a summary list that assembles data based on the category (G8) and the Start Date and End Date?

  10. #10
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Re: Create unique references (according to date) across two tabs then summarise on third t

    So we've established that the above would be difficult but one other thing I've just thought I could do with is to make the index match dependent on selected dates (or if not INDEX MATCH, any other formula that will allow this). Basically I will create fields for 'Start Date' period and 'End Date' period on the summary tab and the reader will define these fields e.g. if the reader wanted to see bank activity in Q1 FY2016 he/she would then set the Start Date as 01/01/2016 and the end date as 31/03/2016 and the only transactions to show in the summary table will be those that fall within that period?

    And in doing this, would the unique references even be relevant? Could I just create a summary list that assembles data based on the category (G8) and the Start Date and End Date?

  11. #11
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Re: Create unique references (according to date) across two tabs then summarise on third t

    Thanks John. At this time my experience with VBA is minimal and it is essential I be able to look at a formula and at least know what it is doing. With VBA, I would be out of my depth and I don't want to be reliant on the help of people on this forum to correct errors etc. So for now the two sheet approach is preferred. Additionally, on my actual sheet, my bank reconciliation sheets are formatted such that when the online downloads are copied and pasted, the data is arranged in a format that allows direct upload to accounts software, so this is another reason for keeping the spreadsheets separate.

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,001

    Re: Create unique references (according to date) across two tabs then summarise on third t

    The only obvious (to me) bodge-job would be to merge the two sheets on another (hidden) sheet and then do a nice simple Index-Match or Index-Small on it... Not elegant... but.

  13. #13
    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: Create unique references (according to date) across two tabs then summarise on third t

    Yes a date-based extraction is viable BUT if you need to extract from 2 summaries in date order then we still have problem highlighted earlier by Glenn.

+ 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. Formula to create unique ID using DATE & TIME
    By floato in forum Excel General
    Replies: 3
    Last Post: 03-21-2016, 04:13 PM
  2. Macro to Create a Unique Header for Multiple Tabs
    By razkowski in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-01-2015, 03:11 PM
  3. How to identify unique records different for the create date...
    By jamb in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-19-2015, 06:01 PM
  4. [SOLVED] Summarise unique data from one worksheet to another
    By Mikey7346 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 09-03-2014, 04:50 AM
  5. Macro to create multiple tabs with same spreadsheet on and date them
    By nacky plopper in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2014, 05:04 PM
  6. Macro to create tabs by date
    By DFH in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-01-2010, 08:49 PM
  7. Replies: 1
    Last Post: 05-22-2006, 02:35 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