#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default label

Is there a way to use 3-D referencing and labels in the same formula? For
example, I would like to add up the total number of vacation days employees
at my company have taken throughout the year. My excel program has a
worksheet for each month (January to December) and a totals worksheet.
Within each worksheet are row headings that contain the names of the
employees (cell location has to change from time to time due to changes that
occur in staffing). Columns within the monthly worksheets show the number
of vacation, sick, family leave days, etc. each named employee has used.

I thought that a way to calculate the number of vacation days taken by "Bob"
would be =SUM(January:December!Vacation Bob).
I've also tried =SUM(January:December!"Vacation" "Bob"),
=SUM(January:December! Vacation Bob), and
=SUM(January:December!$Vacation Bob) as well as other variations.
But nothing worked (I got the ?Name or !NULL result each time).

Does anyone know anything that might work while using labels?

If not, is there another way that Excel can keep track of the right cells to
sum when the row numbers corresponding to each employee differ across the
monthly worksheets?

Any help you can give will be greatly appreciated.

Thank you,

Brian

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default label

Only a few functions like SUM work with 3D ranges. Certainly implicit
intersection with labels will not, particularly if the labels are in
different locations in each sheet.

One solution would be to insert columns in the various sheets to line up all
the employees across sheets, then use a normal 3D formula.

--
Regards,
Tom Ogilvy


"Excel User Brian" wrote in
message ...
Is there a way to use 3-D referencing and labels in the same formula? For
example, I would like to add up the total number of vacation days

employees
at my company have taken throughout the year. My excel program has a
worksheet for each month (January to December) and a totals worksheet.
Within each worksheet are row headings that contain the names of the
employees (cell location has to change from time to time due to changes

that
occur in staffing). Columns within the monthly worksheets show the

number
of vacation, sick, family leave days, etc. each named employee has used.

I thought that a way to calculate the number of vacation days taken by

"Bob"
would be =SUM(January:December!Vacation Bob).
I've also tried =SUM(January:December!"Vacation" "Bob"),
=SUM(January:December! Vacation Bob), and
=SUM(January:December!$Vacation Bob) as well as other variations.
But nothing worked (I got the ?Name or !NULL result each time).

Does anyone know anything that might work while using labels?

If not, is there another way that Excel can keep track of the right cells

to
sum when the row numbers corresponding to each employee differ across the
monthly worksheets?

Any help you can give will be greatly appreciated.

Thank you,

Brian



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the font for part of an axis label, not the whole label. amy45 Charts and Charting in Excel 2 April 5th 23 01:11 PM
How to rezize data label box in pie charts (label wraps to two lin rolliedogg Charts and Charting in Excel 1 October 18th 06 08:17 PM
COPY LABEL FORM FROM EXCEL TO A LABEL xrayAndi New Users to Excel 1 March 5th 06 02:21 PM
how to remove label formatting (eg label to number) sikkiekaka Excel Worksheet Functions 0 November 4th 04 11:35 PM
add text to label (label from forms toolbar) Rob Bovey Excel Programming 0 September 5th 03 09:46 PM


All times are GMT +1. The time now is 03:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"