Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50123

VBA Code for Sum & SumIf

$
0
0
I have just taken up learning VBA.

I have a Region wise Sheet where Regions (North, South, East & West) are mentioned in Column A and regions can repeat n number of times in Column A & Column B has numerical figures against each Region entry in Column A -

I need a code to Autosum all the numbers in Column B irrespective of the region & secondly I also need to use Sumif function only to find out the total of 1 particular region.

So basically I need two different codes.

How can I write that code?

Viewing all articles
Browse latest Browse all 50123

Trending Articles