Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
nate_a
 
Posts: n/a
Default Referencing cells containing tab names?

I have cells containing tab names as text, and I want to reference those tab
names in my formulas. In specific, I have the following formula (in various
forms and quantities) in about sixty rows and across multiple columns, with
each column referring to a different tab for its data:

SUMIF(TabName!$A:$A,$B:$B,TabName!$B:$B)

I want "TabName" to refer to row 9 of each column, for example, to retrieve
the tab name to use. INDIRECT doesn't seem to work; neither does creating a
range name for each tab.

Many thanks for your help.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMIF(INDIRECT("'"&A9&"'!$A:$A"),$B:$B,INDIRECT(" '"&A9&"'!$B:$B"))

should work

--
HTH

Bob Phillips

"nate_a" wrote in message
...
I have cells containing tab names as text, and I want to reference those

tab
names in my formulas. In specific, I have the following formula (in

various
forms and quantities) in about sixty rows and across multiple columns,

with
each column referring to a different tab for its data:

SUMIF(TabName!$A:$A,$B:$B,TabName!$B:$B)

I want "TabName" to refer to row 9 of each column, for example, to

retrieve
the tab name to use. INDIRECT doesn't seem to work; neither does creating

a
range name for each tab.

Many thanks for your help.



  #3   Report Post  
nate_a
 
Posts: n/a
Default

That worked great. Thank you!

Nate A.

"Bob Phillips" wrote:

=SUMIF(INDIRECT("'"&A9&"'!$A:$A"),$B:$B,INDIRECT(" '"&A9&"'!$B:$B"))

should work

--
HTH

Bob Phillips

"nate_a" wrote in message
...
I have cells containing tab names as text, and I want to reference those

tab
names in my formulas. In specific, I have the following formula (in

various
forms and quantities) in about sixty rows and across multiple columns,

with
each column referring to a different tab for its data:

SUMIF(TabName!$A:$A,$B:$B,TabName!$B:$B)

I want "TabName" to refer to row 9 of each column, for example, to

retrieve
the tab name to use. INDIRECT doesn't seem to work; neither does creating

a
range name for each tab.

Many thanks for your help.




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
Referencing cells text output if it meets specific conditions Chersie Excel Worksheet Functions 3 April 18th 05 04:34 PM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 04:16 AM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
To safety merge cells without data destroyed, and smart unmerge! Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:17 AM
copy group of cells to another group of cells using "IF" in third Chuckak Excel Worksheet Functions 2 November 10th 04 06:04 PM


All times are GMT +1. The time now is 08:43 AM.

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

About Us

"It's about Microsoft Excel"