Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jambruins
 
Posts: n/a
Default Need a formula to do the following...

I have a team listed in cells B2:B45. I have tabs for each of these teams.
I want a formula in cells C2:C45 to take the value from cell R2 from the team
listed beside it. For example, cell B2 is listed as BOS. I want cell C2 to
take the value from cell R2 in the BOS tab. I think I use the indirect
formula but I can't get it to work. Thanks for the help.
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

=INDIRECT("'"&B2&"'!R2")

HTH
Jason
Atlanta, GA

-----Original Message-----
I have a team listed in cells B2:B45. I have tabs for

each of these teams.
I want a formula in cells C2:C45 to take the value from

cell R2 from the team
listed beside it. For example, cell B2 is listed as

BOS. I want cell C2 to
take the value from cell R2 in the BOS tab. I think I

use the indirect
formula but I can't get it to work. Thanks for the help.
.

  #3   Report Post  
Biff
 
Posts: n/a
Default

Hi!

=INDIRECT(B2&"!R2")

Biff

-----Original Message-----
I have a team listed in cells B2:B45. I have tabs for

each of these teams.
I want a formula in cells C2:C45 to take the value from

cell R2 from the team
listed beside it. For example, cell B2 is listed as

BOS. I want cell C2 to
take the value from cell R2 in the BOS tab. I think I

use the indirect
formula but I can't get it to work. Thanks for the help.
.

  #4   Report Post  
Jambruins
 
Posts: n/a
Default

I thought that was the formula to use, however, I get a #REF! error when I
use that one. The formula in B2 is

=INDEX(Schedule!$B$1:$B$1300,SMALL(IF(Schedule!$A$ 1:$A$1300=$A$1,ROW(Schedule!$A$1:$A$1300)),1))

and the formula in R2 is
=SUM(L2:L163)/O2

If I overwrite the formula in B2 and just type in BOS it works perfectly.
Any idea why it is not working? I had this setup with NHL teams and just did
a save as and deleted things and inserted baseball teams. Would this have
any effect on it? Does data need to be enter in in a certain order? Thanks
for the help.



"Jason Morin" wrote:

=INDIRECT("'"&B2&"'!R2")

HTH
Jason
Atlanta, GA

-----Original Message-----
I have a team listed in cells B2:B45. I have tabs for

each of these teams.
I want a formula in cells C2:C45 to take the value from

cell R2 from the team
listed beside it. For example, cell B2 is listed as

BOS. I want cell C2 to
take the value from cell R2 in the BOS tab. I think I

use the indirect
formula but I can't get it to work. Thanks for the help.
.


  #5   Report Post  
Jambruins
 
Posts: n/a
Default

nevermind, I put the trim command before the index and it works now. Thanks
for all the help.

"Biff" wrote:

Hi!

=INDIRECT(B2&"!R2")

Biff

-----Original Message-----
I have a team listed in cells B2:B45. I have tabs for

each of these teams.
I want a formula in cells C2:C45 to take the value from

cell R2 from the team
listed beside it. For example, cell B2 is listed as

BOS. I want cell C2 to
take the value from cell R2 in the BOS tab. I think I

use the indirect
formula but I can't get it to work. Thanks for the 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
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 04:16 AM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


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