Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / February 2008

Tip: Looking for answers? Try searching our database.

Adding formulas across Worksheets

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Belle - 04 Feb 2008 13:23 GMT
I have entered a formula for adding accross worksheets  ie   =sum('Jan:Dec'!B2)

I use this as I have a workbook that contains eorksheets for each month and
another sheet for the annual totals.  I want to add the values in the monthly
sheets to get the annual totals.

It was working until I changed the names of the worksheets and added an
extra worksheet for Jan (previously had only Feb to Dec).  I tryed to delete
the formulas and reenter to include Jan but now it comes up #REF!Error .  
does anyone know how i can fix this.

thanks
Bernard Liengme - 04 Feb 2008 13:42 GMT
Double check that "Jan" is the actual name - no spaces either side.

What many users do is to have a blank sheet called Start before the first
working sheet; and a blank one called End after the last.
Now use =SUM('Start:End'!B3)
Now sheets may added or deleted between the two sentinels.
best wishes
----
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

>I have entered a formula for adding accross worksheets  ie
>=sum('Jan:Dec'!B2)
[quoted text clipped - 12 lines]
>
> thanks
Don Guillett - 04 Feb 2008 14:00 GMT
Assumes summary is sheet1 and sheet2:sheet13 are your months and they
already exist.
sub placeformula()
x = Sheet2.Name
y = Sheet13.Name

'or below if sheets not yet created
'y=Sheets((Sheets.count)).Name

Range("g3").Formula = "=Sum(" & x & ":" & y & "!b2)"
end sub

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

>I have entered a formula for adding accross worksheets  ie
>=sum('Jan:Dec'!B2)
[quoted text clipped - 12 lines]
>
> thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.