adding totals data

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Adding totals to data

Adding totals to data

resolvedResolved · Medium Priority · Version 2003

Richard has attended:
Excel VBA Intro Intermediate course

Adding totals to data

Hi there,

im having trouble working out how to total information once I've maniuplated the data into a suitable fashion. After the data has been successfully altered, it has 8 columns, (A-H) and currently has 4,481 rows of data. I need to total the data in columns C-H, but the total number of rows will differ depending when the report is run. I also do not want to include the column headings when totalling the data.

I think I should use something like, Now Rows = Activecell.CurrentRegion.Rows.Count within the code to do this, but im unsure of the rest. Do I need to use a counter?

Any help will be gratefully received!

RE: Adding totals to data

Hi Richard

Thank you for your question.

Can you clarify something for me please? Do you wish to count the total number of rows, or sum the values in the rows?

Regards

Stephen

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Hiding and unhiding columns using the keyboard

CTRL + 0 hides your columns and CTRL + SHIFT + ) unhides them although you would need to highlight the column letters either side as per normal

View all Excel hints and tips


Server loaded in 0.07 secs.