+ Reply to Thread
Results 1 to 6 of 6

Creating a list of transactions (amount and date)

  1. #1
    Registered User
    Join Date
    01-07-2018
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    39

    Creating a list of transactions (amount and date)

    Hi,

    I was hoping to get help with a problem that I am unable to fix.

    I have a spreadsheet with a list of customer purchases (name, purchase amount, purchase date). I wanted to find the best way to set up a formula to separate each persons purchases onto separate tabs, (each showing the amounts and dates), so that I could print out each tab as an itemised monthly statement for each customer.

    I have thought about using the VLOOKUP function, but I have read that this can be inefficient if the table is large, so that it might slow excel down. I am pretty sure I need to do it with an INDEX function, perhaps INDEX and MATCH, or IFERROR and INDEX, but I am not sure what the best approach is to give a list of every relevant transaction for each customer, and to give both the amount and the date.

    I have attached an example with the source data in the first tab, and the desired output data that in the second tab that hopefully a formula can generate. Hopefully there is a way to do this.

    Many thanks

    George
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Creating a list of transactions (amount and date)

    is that what you want?

    done with PowerQuery aka Get&Transform

    I did some but not all

  3. #3
    Registered User
    Join Date
    01-07-2018
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    39

    Re: Creating a list of transactions (amount and date)

    Hi Sandy666, thank you very much for this. It does seem like a good way of doing it, even though it is not what I was expecting (I had never heard of the PowerQuery). Thanks. I will have to study it a bit to figure out what you have done. One reason that I was hoping to use an array of some sort was that I would like to have the results tabs automatically update as I add new transactions to the input table all month long, without me having to 'refresh' each tab each day (which a brief read up on PowerQuery seems to imply I would need to do). I thought that I could have an array on each tab set up to read all 500 rows of the input table (to allow up to 500 transactions to be listed per month), but capture only transactions (amount and date) for the relevant customer. Does your approach of using a PowerQuery allow me to have 500 blank rows on the input table that will automatically feed into the customer tabs as I gradually add more transactions?
    Last edited by nunez100; 06-13-2018 at 07:36 PM.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Creating a list of transactions (amount and date)

    1st. you can use a little vba code to refresh Query Tables automatically
    2nd. blank rows are not a good idea. if you will use Excel table (like I did it) and add new data (see point 1) it will be reflected in appropriate table on appropriate tab
    3rd. you can define how often you want refresh all tables (minnimum is 1 minute) but I suggest to use Refresh All manually especially with a big data and refreshing automatically after insert every new row will take time more than necessary. IMHO better is add all new data then refresh, But it's up to you
    Last edited by sandy666; 06-13-2018 at 08:05 PM.

  5. #5
    Registered User
    Join Date
    01-07-2018
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    39

    Re: Creating a list of transactions (amount and date)

    Thanks very much. I will try this. Thank you very much for this solution.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Creating a list of transactions (amount and date)

    You are welcome



    Read me

    Try to avoid joining to my Black List by doing this below

    If that takes care of your original question, & to say Thanks and for better Motivation, please
    1. click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)
      then
    2. select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED.
    If you did it already - ignore it.
    Thank you.

+ 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 for Tiered Pricing and variable amount of transactions
    By dallen805 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-22-2017, 01:37 PM
  2. Creating groups from a list based on conditions with the maximum amount of variation
    By ShallowJamm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-07-2015, 03:26 PM
  3. Replies: 22
    Last Post: 09-20-2013, 02:00 PM
  4. Replies: 2
    Last Post: 09-17-2013, 07:12 PM
  5. creating a final list of selected amount
    By matskiuk in forum Excel Charting & Pivots
    Replies: 24
    Last Post: 10-17-2012, 08:52 AM
  6. finding last and creating average amount income to date
    By Jerry Kinder in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-04-2006, 01:10 PM
  7. [SOLVED] Creating a budget from a list of transactions
    By Mctabish in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-13-2005, 10:05 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