Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 493
Default Referencing more than 2 sheets in one cell function?

I am trying to take information from four different sheets in my workbook to
create one function in my fifth sheet. So far, the function works with
information from one sheet and two sheets but I cannot add the reference to
the third sheet to the funtion without errors.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Referencing more than 2 sheets in one cell function?

Perhaps if you showed us the code for the non-working function and described
in more detail what you have now on the four sheets and what you want the
function to output when it is done, then someone here may be able to offer
you some comments as to how you should proceed.

--
Rick (MVP - Excel)



"Alex" wrote in message
...
I am trying to take information from four different sheets in my workbook
to
create one function in my fifth sheet. So far, the function works with
information from one sheet and two sheets but I cannot add the reference
to
the third sheet to the funtion without errors.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 493
Default Referencing more than 2 sheets in one cell function?

=SUM(--('Sheet1'!$B$2:$B$2000<=BB$3),--('Sheet1'!$B$2:$B$2000=BB$2),--('Sheet1'!$D$2:$D$2000=$B7),
--('Sheet2'!$B$2:$B$2000<=BB$3),--('Sheet2'!$B$2:$B$2000=BB$2),--('Sheet2'!$D$2:$D$2000=$B7),
--('Sheet3'!$B$2:$B$2000<=BB$3),--('Sheet3'!$B$2:$B$2000=BB$2),--('Sheet3'!$D$2:$D$2000=$B7),
--('Sheet4'!$B$2:$B$2000<=BB$3),--('Sheet4'!$B$2:$B$2000=BB$2),--('Sheet4'!$D$2:$D$2000=$B7))

Sheets 1-4 all list claims but they need to be seperated. The values that
are targeted in column B are the dates, and the function is intended to tally
the cumulative number of claims from the four sheets from the date specified
in BB2 to the date specified in BB3 (usually one month, like 3/1/01-3/31/10).
The formula works when I omit the reference for any two sheets, but not when
I attempt to reference four in one formula.

Thanks.

"Rick Rothstein" wrote:

Perhaps if you showed us the code for the non-working function and described
in more detail what you have now on the four sheets and what you want the
function to output when it is done, then someone here may be able to offer
you some comments as to how you should proceed.

--
Rick (MVP - Excel)



"Alex" wrote in message
...
I am trying to take information from four different sheets in my workbook
to
create one function in my fifth sheet. So far, the function works with
information from one sheet and two sheets but I cannot add the reference
to
the third sheet to the funtion without errors.


.

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
excel, what if function referencing another cell MARY Excel Worksheet Functions 3 June 13th 08 03:31 PM
Referencing the same cell on multiple sheets danc Excel Discussion (Misc queries) 1 March 6th 08 12:13 AM
referencing active cell works in a sub but not in a custom function RITCHI Excel Worksheet Functions 2 January 14th 07 10:21 AM
referencing active cell works in a sub but not in a custom function RITCHI Excel Worksheet Functions 1 January 14th 07 12:22 AM
HYPERLINK IF referencing the cell of the function.. sans Excel Worksheet Functions 0 September 17th 05 02:08 AM


All times are GMT +1. The time now is 06:45 AM.

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"