• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

modulable dynamic macro to sum amount in contigious and non contigious columns

RAM72

Member
Looking for a dynamic macro to add amount in contigious and non contigious columns .:(

So depending of requirements column K,L,M,N,Oand R may have data for summing.

However column K ,L,O and R may need summing but to take in account that there may be blank cells among the columns.
See attached

No of rows may vary from 30 to 15000 rows
 

Attachments

  • totals.xlsx
    105.2 KB · Views: 2
Hi:

I am afraid whether I completely understood you. However, from what you uploaded you can get the expected result by simply converting your data into a table. Find the attached.

Thanks
 

Attachments

  • totals.xlsx
    107.3 KB · Views: 6
Hi:

I am afraid whether I completely understood you. However, from what you uploaded you can get the expected result by simply converting your data into a table. Find the attached.

Thanks


Indeed am doing this for low skilled users and some people are using excel 2003 so they mess up a lot with formulas :(
So this why am looking for a macro
 
Last edited by a moderator:
Hi:

I have not given any formula, its an in-build feature of the tables, if you highlight the total column you will get a drop down you can select a variety of calculation from this drop down.

Thanks
 
Back
Top