+ Reply to Thread
Results 1 to 7 of 7

Line only calculated once when their are multiply lines for that invoice

  1. #1
    Registered User
    Join Date
    10-28-2019
    Location
    England
    MS-Off Ver
    365
    Posts
    12

    Angry Line only calculated once when their are multiply lines for that invoice

    I have a spreadsheet with a Pivot Table in, we cannot get it to calculate how we would like can anyone help? I have uploaded an example of the data, what the pivot table is doing and what is required. The function of this excel sheet will be to copy data into on a monthly data and refresh the pivot for the most up to date figures

    Appreciate any help
    Attached Files Attached Files

  2. #2
    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
    43,984

    Re: Line only calculated once when their are multiply lines for that invoice

    Take a look here. I don't think it's what you want, becasue I don't understand what you want!!
    Attached Files Attached Files
    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

  3. #3
    Registered User
    Join Date
    10-28-2019
    Location
    England
    MS-Off Ver
    365
    Posts
    12

    Re: Line only calculated once when their are multiply lines for that invoice

    Here is a new example of how the data is extracted from our system. You can see there are multiple lines for some invoices, when I try to calculate the totals in the pivot table it is adding every line of the invoice to the total when in fact it needs to only include 1 line per invoice. However I do still need to be able to see the ticket types.
    Example - if someone has booked 4 spaces excel displays 4 lines for that invoice if the person has paid it totals 4 x the ticket price instead of seeing it as 1 invoice with 1 outstanding balance. hop that makes sense
    Attached Files Attached Files

  4. #4
    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
    43,984

    Re: Line only calculated once when their are multiply lines for that invoice

    ??? There is no difference between "Pivot Table" and "Required"....

  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
    43,984

    Re: Line only calculated once when their are multiply lines for that invoice

    So, maybe this?? See Sheet1. Still rather confused, though!!
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-28-2019
    Location
    England
    MS-Off Ver
    365
    Posts
    12

    Re: Line only calculated once when their are multiply lines for that invoice

    Sorry i am probably not being very clear. On the attached sheet I have highlighted a line on the required tab. That invoice only has the balance outstanding once whereas the Pivot table is counting it 4 times. the balance outstanding for invoice 200000099 is 230.40 with a net of 268.80 and VAT 38.4.
    Attached Files Attached Files

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

    Re: Line only calculated once when their are multiply lines for that invoice

    I don't believe that a pivot table will do what you want, however if you change the formula in column C of sheet 1 (file attached to post #6) so that it reads as follows I feel that it gives you the results you are looking for:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    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.

+ 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. Macro for multiply lines including MM/YY in Header
    By ARBClaire in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-17-2019, 01:34 PM
  2. [SOLVED] Condition: Invoice Number; Total Price - Credit from multiple lines into one line.
    By TheOmertaaa in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-03-2015, 12:07 PM
  3. [SOLVED] How to Multiply a Pivot Table Subfield as a Calculated Field
    By figo12 in forum Excel General
    Replies: 1
    Last Post: 11-12-2014, 06:38 PM
  4. Replies: 2
    Last Post: 11-14-2012, 08:59 AM
  5. Replies: 0
    Last Post: 02-09-2012, 11:53 AM
  6. Replies: 2
    Last Post: 03-06-2009, 11:49 AM
  7. Add lines to invoice template
    By yancy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-31-2005, 09:06 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