Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default Formula to reference another sheet using a string in a cell

I have a bunch of sheets with different names and I have another sheet that
contains cells that gets information from the different persons sheets.

Eg ='Joe Bloggs'!D49

Would be the formula.

I have a sheet set out like the following

Joe Bloggs| 0 | 0 |
John Doe|0 | 0 |

The 0's are refrences to that particular person cell. Rather than typing in
the name in each formula, I'm just wondering if I can use that actual name in
the cell, so instead of ='John Doe'!D49 I could write something like =A2!D49
using the name to look at the relative sheet.

Thanks for any help thrown my way.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Formula to reference another sheet using a string in a cell

=INDIRECT("'" & A2 & "'!D49")

Tim



"NateBuckley" wrote in message
...
I have a bunch of sheets with different names and I have another sheet that
contains cells that gets information from the different persons sheets.

Eg ='Joe Bloggs'!D49

Would be the formula.

I have a sheet set out like the following

Joe Bloggs| 0 | 0 |
John Doe|0 | 0 |

The 0's are refrences to that particular person cell. Rather than typing
in
the name in each formula, I'm just wondering if I can use that actual name
in
the cell, so instead of ='John Doe'!D49 I could write something like
=A2!D49
using the name to look at the relative sheet.

Thanks for any help thrown my way.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default Formula to reference another sheet using a string in a cell

You're a star.

Thanks matey.

"Tim Williams" wrote:

=INDIRECT("'" & A2 & "'!D49")

Tim



"NateBuckley" wrote in message
...
I have a bunch of sheets with different names and I have another sheet that
contains cells that gets information from the different persons sheets.

Eg ='Joe Bloggs'!D49

Would be the formula.

I have a sheet set out like the following

Joe Bloggs| 0 | 0 |
John Doe|0 | 0 |

The 0's are refrences to that particular person cell. Rather than typing
in
the name in each formula, I'm just wondering if I can use that actual name
in
the cell, so instead of ='John Doe'!D49 I could write something like
=A2!D49
using the name to look at the relative sheet.

Thanks for any help thrown my way.




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
reference to other sheet as a string miri tz. Excel Worksheet Functions 2 April 6th 09 01:00 PM
Use cell value as reference to sheet in formula? bluegnu Excel Worksheet Functions 4 July 20th 06 01:33 PM
Dynamically-linked formula, cell reference in the string 0-0 Wai Wai ^-^ Excel Worksheet Functions 4 December 12th 05 01:36 AM
Need formula for sheet & cell reference MPH Excel Worksheet Functions 0 January 16th 05 03:39 PM
inserting a formula with reference to a new sheet in a cell using VBA Peer Excel Programming 2 July 26th 04 03:17 PM


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