Type the belomentioned line next to total cell =SUMIF($A$1:$A$10,"Sub Total",B1:B10) -----Original Message----- From: excel-macros@googlegroups.com [mailto:excel-mac...@googlegroups.com] On Behalf Of Habeeb Mohammed Sent: Thursday, May 14, 2009 9:34 PM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ formula in macros Hi Guys, I currently written a code were in total will be populated by adding various sub totals. But I am not able to put in the formula for adding for future reference. I am not able to think a logic for that. I have explained my requirement in the attachement. Please help me Thank you Habeeb _____
MSN Battles We pitch one stalwart against the other and give you the power. Who will you vote for? Share photos while you chat <http://battles.in.msn.com/> with Windows Live Messenger. --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---
subtotal.xls
Description: MS-Excel spreadsheet