+ Reply to Thread
Results 1 to 13 of 13

Dynamic Invoice summary right after last item row.

  1. #1
    Registered User
    Join Date
    04-05-2021
    Location
    Singapore
    MS-Off Ver
    Office Home and Business 2019
    Posts
    10

    Dynamic Invoice summary right after last item row.

    Hi There,

    I'm inspired by many of using master list to do the repetitive data into invoice and packing cert.

    Im using simple formula "=Master!B10",=Master!B11" to fill fields of invoice and packing cert.

    As extra caution against document tampering, I would like to have my total summary dynamically to show right after the last item ie. if my last item is in row 13 then total summary will in row 14.

    How do I do so?

    Attached example - Inv_Master_Template

    Thank you in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,347

    Re: Dynamic Invoice summary right after last item row.

    VBA not required. Cell L11:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copied down
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Dynamic Invoice summary right after last item row.

    It is ok like this:

    Capture.JPG
    Attached Files Attached Files
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  4. #4
    Registered User
    Join Date
    04-05-2021
    Location
    Singapore
    MS-Off Ver
    Office Home and Business 2019
    Posts
    10

    Re: Dynamic Invoice summary right after last item row.

    Wow.. Thank you TMS, KOKOSEK and another user who has been banned for their use of an obsence username.
    Your solution is much simpler than expected.

    Aesthetically, can we have the double line underneath the total figure?

    I need remark row ie. "Total Quantity +/- 10% allowed" to follow right after total row.
    Last edited by Glenn Kennedy; 12-21-2021 at 05:28 AM.

  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: Dynamic Invoice summary right after last item row.

    JJW. After a brief exchange of PMs... one of your helpers has been banned because of their refusal to change their obscene username. Hopefully someone else will complete your solution.
    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
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Dynamic Invoice summary right after last item row.

    Quote Originally Posted by JJW_SG View Post
    I need remark row ie. "Total Quantity +/- 10% allowed" to follow right after total row.
    No problem:

    Capture.JPG

    Check conditional formatting in file. You can add underline in there.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-05-2021
    Location
    Singapore
    MS-Off Ver
    Office Home and Business 2019
    Posts
    10

    Re: Dynamic Invoice summary right after last item row.

    Noted Glenn Kennedy and KOKOSEK solution solve 90% of what im trying to achieve.

    Give me couple of days to test before closing as solve.

    Wishing all a Merry Christmas!!

  8. #8
    Registered User
    Join Date
    04-05-2021
    Location
    Singapore
    MS-Off Ver
    Office Home and Business 2019
    Posts
    10

    Re: Dynamic Invoice summary right after last item row.

    Hello KOKOSEK,

    I got too carried away and forgot about additional fees, remarks and bank details to be mention on the invoice. See attached.

    Additional fees are bit tricky as it can be either 1,2,3 or none of them.
    Attached Files Attached Files

  9. #9
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Dynamic Invoice summary right after last item row.

    What conditions are to apply extra fees? When 1, when 2 and when all 3?

  10. #10
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Dynamic Invoice summary right after last item row.

    I've added 'dynamically' located Discount (as I understand is always applied) and also 'dynamically' coloured Remarks fields.
    Based on conditions in IFs I believe that You should be able to to do the same for bank details coloured field. (Check also CF)

    p.s. Did you consider to create this in VBA? I quite sure that can be much easier (loop through lines to shows them on inv then add few lines of summary that's it).

  11. #11
    Registered User
    Join Date
    04-05-2021
    Location
    Singapore
    MS-Off Ver
    Office Home and Business 2019
    Posts
    10

    Re: Dynamic Invoice summary right after last item row.

    Hi KOKOSEK,

    Yes. I was expecting a VBA solution initially but you came out with much simple solution.

    From what i have gather so far, vba should be like

    1. Set the 20items in dynamic range.
    2. Name the Total, Remarks and Bank detail as "Footer"
    3. Move footer according to last item of the range.

    What do you think?







    The condition for the fees is when i key in the master!$p$2:$r$4 and the color green and yellow is just to catch your attention not intended to show on actual

  12. #12
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Dynamic Invoice summary right after last item row.

    Check attached file. I've written very simple code, so I suppose that you should not get any problems with tweak the rest.
    Pressing button recreate INV, and adding remarks etc.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    04-05-2021
    Location
    Singapore
    MS-Off Ver
    Office Home and Business 2019
    Posts
    10

    Re: Dynamic Invoice summary right after last item row.

    Thank you KOKOSEK. I twitch slightly to the vba and works wonder for me.

    Happy 2022 ahead!!

+ 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. Match Item with Invoice and Replace any missing Item AUTO
    By majidsiddique in forum Excel General
    Replies: 17
    Last Post: 01-15-2019, 03:43 AM
  2. [SOLVED] macro to add invoice no in summary invoice sheets
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-17-2018, 09:33 AM
  3. Summary Sheet for my Invoice workbook
    By jmehta129 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-07-2017, 09:42 AM
  4. [SOLVED] Generate an invoice from a cost summary
    By bigtiger1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2014, 01:20 PM
  5. Invoice Summary Sheet
    By HobbsO in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-24-2011, 11:37 AM
  6. Excel 2007 : Return an item from an invoice
    By Bobbyraw in forum Excel General
    Replies: 2
    Last Post: 04-22-2010, 03:52 PM
  7. [SOLVED] Invoice Summary
    By Rob #4 in forum Excel General
    Replies: 1
    Last Post: 02-23-2006, 05:00 PM

Tags for this Thread

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