Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default trying to use Indirect function

I have a formula in cell G2 of a worksheet called "Departmental Summary"
Column A of the same workbook contains employee names and there is a separate
worksheet in the file for each employee, with the name of the worksheet being
the exact same as the value for the employee in column A.

The formula in G2 is:

=IF(COLUMN(A2)MAX('SheetName'!$T:$T),"",INDEX('Sh eetName'!$R:$R,MATCH(COLUMN(A2),'SheetName'!$T:$T, 0)))

I would like to replace the SheetName with the Indirect function pointing to
cell A2 in the Departmental Summary worksheet, but I can't seem to get it to
work.

Can anyone help me out ?

Thanks !
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default trying to use Indirect function

Everywhere you have SheetName replace it with this (using the appropriate
column refs):

INDIRECT("'"&'Departmental Summary'!A2&"'!T:T")

--
Biff
Microsoft Excel MVP


"Eric_in_EVV" wrote in message
...
I have a formula in cell G2 of a worksheet called "Departmental Summary"
Column A of the same workbook contains employee names and there is a
separate
worksheet in the file for each employee, with the name of the worksheet
being
the exact same as the value for the employee in column A.

The formula in G2 is:

=IF(COLUMN(A2)MAX('SheetName'!$T:$T),"",INDEX('Sh eetName'!$R:$R,MATCH(COLUMN(A2),'SheetName'!$T:$T, 0)))

I would like to replace the SheetName with the Indirect function pointing
to
cell A2 in the Departmental Summary worksheet, but I can't seem to get it
to
work.

Can anyone help me out ?

Thanks !



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default trying to use Indirect function

I guess I wasn't very clear....Departmental Summary is the sheet where this
formula resides. The sheets named with the values in column A of
Departmental Summary are the ones where the Indirect formula needs to point.
In other words, Cell G2 of Departmental Summary needs to have the Indirect
function pointing to cell A1 of Departmental Summary as the sheet name used
in the Max , Index and Match functions. Does that make it any clearer as to
what I am trying to get working ?

Thanks !

"T. Valko" wrote:

Everywhere you have SheetName replace it with this (using the appropriate
column refs):

INDIRECT("'"&'Departmental Summary'!A2&"'!T:T")

--
Biff
Microsoft Excel MVP


"Eric_in_EVV" wrote in message
...
I have a formula in cell G2 of a worksheet called "Departmental Summary"
Column A of the same workbook contains employee names and there is a
separate
worksheet in the file for each employee, with the name of the worksheet
being
the exact same as the value for the employee in column A.

The formula in G2 is:

=IF(COLUMN(A2)MAX('SheetName'!$T:$T),"",INDEX('Sh eetName'!$R:$R,MATCH(COLUMN(A2),'SheetName'!$T:$T, 0)))

I would like to replace the SheetName with the Indirect function pointing
to
cell A2 in the Departmental Summary worksheet, but I can't seem to get it
to
work.

Can anyone help me out ?

Thanks !



.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default trying to use Indirect function

Then just remove the sheet name (although it should work with it included):

A1 = some sheet name = Sales July 09

=MAX(INDIRECT("'"&A1&"'!T:T"))

Evaluates to:

=MAX('Sales July 09'!$T:$T)

--
Biff
Microsoft Excel MVP


"Eric_in_EVV" wrote in message
...
I guess I wasn't very clear....Departmental Summary is the sheet where this
formula resides. The sheets named with the values in column A of
Departmental Summary are the ones where the Indirect formula needs to
point.
In other words, Cell G2 of Departmental Summary needs to have the Indirect
function pointing to cell A1 of Departmental Summary as the sheet name
used
in the Max , Index and Match functions. Does that make it any clearer as
to
what I am trying to get working ?

Thanks !

"T. Valko" wrote:

Everywhere you have SheetName replace it with this (using the appropriate
column refs):

INDIRECT("'"&'Departmental Summary'!A2&"'!T:T")

--
Biff
Microsoft Excel MVP


"Eric_in_EVV" wrote in message
...
I have a formula in cell G2 of a worksheet called "Departmental Summary"
Column A of the same workbook contains employee names and there is a
separate
worksheet in the file for each employee, with the name of the worksheet
being
the exact same as the value for the employee in column A.

The formula in G2 is:

=IF(COLUMN(A2)MAX('SheetName'!$T:$T),"",INDEX('Sh eetName'!$R:$R,MATCH(COLUMN(A2),'SheetName'!$T:$T, 0)))

I would like to replace the SheetName with the Indirect function
pointing
to
cell A2 in the Departmental Summary worksheet, but I can't seem to get
it
to
work.

Can anyone help me out ?

Thanks !



.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default trying to use Indirect function

Thanks Biff - worked like a charm.

I'm now sitting here saying, "Well $%&# ! It was that simple ?!?!"

Thanks again for the assist ! Much appreciated !

"T. Valko" wrote:

Then just remove the sheet name (although it should work with it included):

A1 = some sheet name = Sales July 09

=MAX(INDIRECT("'"&A1&"'!T:T"))

Evaluates to:

=MAX('Sales July 09'!$T:$T)

--
Biff
Microsoft Excel MVP


"Eric_in_EVV" wrote in message
...
I guess I wasn't very clear....Departmental Summary is the sheet where this
formula resides. The sheets named with the values in column A of
Departmental Summary are the ones where the Indirect formula needs to
point.
In other words, Cell G2 of Departmental Summary needs to have the Indirect
function pointing to cell A1 of Departmental Summary as the sheet name
used
in the Max , Index and Match functions. Does that make it any clearer as
to
what I am trying to get working ?

Thanks !

"T. Valko" wrote:

Everywhere you have SheetName replace it with this (using the appropriate
column refs):

INDIRECT("'"&'Departmental Summary'!A2&"'!T:T")

--
Biff
Microsoft Excel MVP


"Eric_in_EVV" wrote in message
...
I have a formula in cell G2 of a worksheet called "Departmental Summary"
Column A of the same workbook contains employee names and there is a
separate
worksheet in the file for each employee, with the name of the worksheet
being
the exact same as the value for the employee in column A.

The formula in G2 is:

=IF(COLUMN(A2)MAX('SheetName'!$T:$T),"",INDEX('Sh eetName'!$R:$R,MATCH(COLUMN(A2),'SheetName'!$T:$T, 0)))

I would like to replace the SheetName with the Indirect function
pointing
to
cell A2 in the Departmental Summary worksheet, but I can't seem to get
it
to
work.

Can anyone help me out ?

Thanks !


.



.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default trying to use Indirect function

Good deal. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Eric_in_EVV" wrote in message
...
Thanks Biff - worked like a charm.

I'm now sitting here saying, "Well $%&# ! It was that simple ?!?!"

Thanks again for the assist ! Much appreciated !

"T. Valko" wrote:

Then just remove the sheet name (although it should work with it
included):

A1 = some sheet name = Sales July 09

=MAX(INDIRECT("'"&A1&"'!T:T"))

Evaluates to:

=MAX('Sales July 09'!$T:$T)

--
Biff
Microsoft Excel MVP


"Eric_in_EVV" wrote in message
...
I guess I wasn't very clear....Departmental Summary is the sheet where
this
formula resides. The sheets named with the values in column A of
Departmental Summary are the ones where the Indirect formula needs to
point.
In other words, Cell G2 of Departmental Summary needs to have the
Indirect
function pointing to cell A1 of Departmental Summary as the sheet name
used
in the Max , Index and Match functions. Does that make it any clearer
as
to
what I am trying to get working ?

Thanks !

"T. Valko" wrote:

Everywhere you have SheetName replace it with this (using the
appropriate
column refs):

INDIRECT("'"&'Departmental Summary'!A2&"'!T:T")

--
Biff
Microsoft Excel MVP


"Eric_in_EVV" wrote in message
...
I have a formula in cell G2 of a worksheet called "Departmental
Summary"
Column A of the same workbook contains employee names and there is a
separate
worksheet in the file for each employee, with the name of the
worksheet
being
the exact same as the value for the employee in column A.

The formula in G2 is:

=IF(COLUMN(A2)MAX('SheetName'!$T:$T),"",INDEX('Sh eetName'!$R:$R,MATCH(COLUMN(A2),'SheetName'!$T:$T, 0)))

I would like to replace the SheetName with the Indirect function
pointing
to
cell A2 in the Departmental Summary worksheet, but I can't seem to
get
it
to
work.

Can anyone help me out ?

Thanks !


.



.



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
Using INDIRECT Function and INDEX Function ChristopherG Excel Discussion (Misc queries) 1 June 10th 09 04:07 PM
How to use indirect function? Eric Excel Discussion (Misc queries) 2 February 29th 08 12:47 AM
INDIRECT function inside AND function Biff Excel Worksheet Functions 3 September 23rd 06 07:20 PM
Indirect function ? Carlos Antenna Excel Worksheet Functions 5 July 4th 06 02:29 AM
Help with INDIRECT function. DaveO Excel Worksheet Functions 12 January 18th 06 09:52 AM


All times are GMT +1. The time now is 06:32 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"