ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to use the CountSum funtion of worksheet in Macros (https://www.excelbanter.com/excel-worksheet-functions/133873-how-use-countsum-funtion-worksheet-macros.html)

saraveenan

How to use the CountSum funtion of worksheet in Macros
 
I need to count the sumn of values present in a column or row using Excel
macros.


Martin Fishlock

How to use the CountSum funtion of worksheet in Macros
 
Hi:

there is no need to use a macro in this situation just use the following:

=sum(a:a) if the whole column or

=sum(a1:a20) if a range.
--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"saraveenan" wrote:

I need to count the sumn of values present in a column or row using Excel
macros.



All times are GMT +1. The time now is 06:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com