PC Review


Reply
Thread Tools Rate Thread

Automatically Reference Tab Name

 
 
=?Utf-8?B?c3N0ZXhhcw==?=
Guest
Posts: n/a
 
      12th Sep 2007
I have a spreadsheet with 50 tabs - each one numbered 1 to 50, so that the
first tab is named '1', the second is named '2' and so on.

On a summary spreadsheet, I have formulas pulling the same cell (A44) from
each tab, so that:
the formula in cell A1 looks like this ='1'!A$44 and
the formula in cell B1 looks like this ='2'!A$44 and so on.

Is there a way to get Excel to "feed" the tab names to the formula without
the help of Visual Basic. For example, I would like to list the tab names in
the spreadsheet (1 to 50) and have a formula in the cells that would
incorporate the tab names.
Tab Formula
1 ='1'!A$44
2 ='2'!A$44
3 ='3'!A$44

Does that make sense? If so, is there any way to do this?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RHVrZSBDYXJleQ==?=
Guest
Posts: n/a
 
      12th Sep 2007
if you the digit 1 in cell A1, then B1 could be

=Indirect("'"&a1&"'!A$44")

copy it down

"sstexas" wrote:

> I have a spreadsheet with 50 tabs - each one numbered 1 to 50, so that the
> first tab is named '1', the second is named '2' and so on.
>
> On a summary spreadsheet, I have formulas pulling the same cell (A44) from
> each tab, so that:
> the formula in cell A1 looks like this ='1'!A$44 and
> the formula in cell B1 looks like this ='2'!A$44 and so on.
>
> Is there a way to get Excel to "feed" the tab names to the formula without
> the help of Visual Basic. For example, I would like to list the tab names in
> the spreadsheet (1 to 50) and have a formula in the cells that would
> incorporate the tab names.
> Tab Formula
> 1 ='1'!A$44
> 2 ='2'!A$44
> 3 ='3'!A$44
>
> Does that make sense? If so, is there any way to do this?

 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      12th Sep 2007
If you want a list enter this and copy down
=ROW(A1)&"!a44"
if you want to sum the cells
=sum(1:50!a44)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"sstexas" <(E-Mail Removed)> wrote in message
news:8809E879-1F20-4F12-876C-(E-Mail Removed)...
>I have a spreadsheet with 50 tabs - each one numbered 1 to 50, so that the
> first tab is named '1', the second is named '2' and so on.
>
> On a summary spreadsheet, I have formulas pulling the same cell (A44) from
> each tab, so that:
> the formula in cell A1 looks like this ='1'!A$44 and
> the formula in cell B1 looks like this ='2'!A$44 and so on.
>
> Is there a way to get Excel to "feed" the tab names to the formula without
> the help of Visual Basic. For example, I would like to list the tab names
> in
> the spreadsheet (1 to 50) and have a formula in the cells that would
> incorporate the tab names.
> Tab Formula
> 1 ='1'!A$44
> 2 ='2'!A$44
> 3 ='3'!A$44
>
> Does that make sense? If so, is there any way to do this?


 
Reply With Quote
 
=?Utf-8?B?c3N0ZXhhcw==?=
Guest
Posts: n/a
 
      12th Sep 2007
You are awesome!!!
Thanks so much!

"Duke Carey" wrote:

> if you the digit 1 in cell A1, then B1 could be
>
> =Indirect("'"&a1&"'!A$44")
>
> copy it down
>
> "sstexas" wrote:
>
> > I have a spreadsheet with 50 tabs - each one numbered 1 to 50, so that the
> > first tab is named '1', the second is named '2' and so on.
> >
> > On a summary spreadsheet, I have formulas pulling the same cell (A44) from
> > each tab, so that:
> > the formula in cell A1 looks like this ='1'!A$44 and
> > the formula in cell B1 looks like this ='2'!A$44 and so on.
> >
> > Is there a way to get Excel to "feed" the tab names to the formula without
> > the help of Visual Basic. For example, I would like to list the tab names in
> > the spreadsheet (1 to 50) and have a formula in the cells that would
> > incorporate the tab names.
> > Tab Formula
> > 1 ='1'!A$44
> > 2 ='2'!A$44
> > 3 ='3'!A$44
> >
> > Does that make sense? If so, is there any way to do this?

 
Reply With Quote
 
=?Utf-8?B?c3N0ZXhhcw==?=
Guest
Posts: n/a
 
      12th Sep 2007
I tried using the formula you listed below, but it didn't work. Maybe I
didn't understand how to use it?
However, Duke Carey's formula worked perfectly.

"Don Guillett" wrote:

> If you want a list enter this and copy down
> =ROW(A1)&"!a44"
> if you want to sum the cells
> =sum(1:50!a44)
> --
> Don Guillett
> Microsoft MVP Excel
> SalesAid Software
> (E-Mail Removed)
> "sstexas" <(E-Mail Removed)> wrote in message
> news:8809E879-1F20-4F12-876C-(E-Mail Removed)...
> >I have a spreadsheet with 50 tabs - each one numbered 1 to 50, so that the
> > first tab is named '1', the second is named '2' and so on.
> >
> > On a summary spreadsheet, I have formulas pulling the same cell (A44) from
> > each tab, so that:
> > the formula in cell A1 looks like this ='1'!A$44 and
> > the formula in cell B1 looks like this ='2'!A$44 and so on.
> >
> > Is there a way to get Excel to "feed" the tab names to the formula without
> > the help of Visual Basic. For example, I would like to list the tab names
> > in
> > the spreadsheet (1 to 50) and have a formula in the cells that would
> > incorporate the tab names.
> > Tab Formula
> > 1 ='1'!A$44
> > 2 ='2'!A$44
> > 3 ='3'!A$44
> >
> > Does that make sense? If so, is there any way to do this?

>
>

 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      13th Sep 2007
His gave you the value using indirect. I assumed you only wanted a list....

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"sstexas" <(E-Mail Removed)> wrote in message
news:2F3E3371-3A51-444B-9835-(E-Mail Removed)...
>I tried using the formula you listed below, but it didn't work. Maybe I
> didn't understand how to use it?
> However, Duke Carey's formula worked perfectly.
>
> "Don Guillett" wrote:
>
>> If you want a list enter this and copy down
>> =ROW(A1)&"!a44"
>> if you want to sum the cells
>> =sum(1:50!a44)
>> --
>> Don Guillett
>> Microsoft MVP Excel
>> SalesAid Software
>> (E-Mail Removed)
>> "sstexas" <(E-Mail Removed)> wrote in message
>> news:8809E879-1F20-4F12-876C-(E-Mail Removed)...
>> >I have a spreadsheet with 50 tabs - each one numbered 1 to 50, so that
>> >the
>> > first tab is named '1', the second is named '2' and so on.
>> >
>> > On a summary spreadsheet, I have formulas pulling the same cell (A44)
>> > from
>> > each tab, so that:
>> > the formula in cell A1 looks like this ='1'!A$44 and
>> > the formula in cell B1 looks like this ='2'!A$44 and so on.
>> >
>> > Is there a way to get Excel to "feed" the tab names to the formula
>> > without
>> > the help of Visual Basic. For example, I would like to list the tab
>> > names
>> > in
>> > the spreadsheet (1 to 50) and have a formula in the cells that would
>> > incorporate the tab names.
>> > Tab Formula
>> > 1 ='1'!A$44
>> > 2 ='2'!A$44
>> > 3 ='3'!A$44
>> >
>> > Does that make sense? If so, is there any way to do this?

>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using the next reference number automatically Novicer Microsoft Excel Programming 2 1st Sep 2008 01:21 PM
adding a reference automatically battery007.2005@gmail.com Microsoft C# .NET 2 29th Sep 2006 01:29 PM
tick a reference automatically =?Utf-8?B?TWVoZGk=?= Microsoft Excel Misc 1 15th Mar 2005 03:45 PM
Automatically change tab reference =?Utf-8?B?VFdD?= Microsoft Excel Misc 2 2nd Feb 2005 10:17 PM
Solver automatically in the VBA Reference Microsoft Excel Programming 1 18th Jun 2004 12:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:24 PM.