Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 40
Default Formula using worksheet names

I have several sheets, called say Code 1, Code 2 . . . Code 10, each with a
table culminating in a total budget figure, which is in the same cell on each
sheet, say B24. On a separate sheet I have a table with one row per code, and
I want to show each code's budget figure next to the code numer, ie, Code 1:
£10000, Code 2: £5444 etc.
A way to do this is for each code to say ='Code x'!B24, where x is the code
number. This involves me typing this in or clicking to link for each code,
which is tedious for up to 100 codes. I want to write a formula on the lines
of ='Code "A5"'!B24 where A5 is the code number, ie, "look at cell B24 in the
sheet denoted by the code on this row".
I'm sorry, this isn't very easy to explain.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Formula using worksheet names

Put this in B5:

=INDIRECT("'Code "&A5&"'!B24")

Then just copy down as required.

Hope this helps.

Pete

On Jul 31, 9:54*am, E wrote:
I have several sheets, called say Code 1, Code 2 . . . Code 10, each with a
table culminating in a total budget figure, which is in the same cell on each
sheet, say B24. On a separate sheet I have a table with one row per code, and
I want to show each code's budget figure next to the code numer, ie, Code 1:
£10000, Code 2: £5444 etc.
A way to do this is for each code to say ='Code x'!B24, where x is the code
number. This involves me typing this in or clicking to link for each code,
which is tedious for up to 100 codes. I want to write a formula on the lines
of ='Code "A5"'!B24 where A5 is the code number, ie, "look at cell B24 in the
sheet denoted by the code on this row".
I'm sorry, this isn't very easy to explain.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Formula using worksheet names

In Cell A1 of another sheet enter:
=INDIRECT("'Code " & ROW() & "'!" & "B24") and copy down
or
=INDIRECT("'Code " & COLUMN() & "'!" & "B24") and copy across

be careful of the single and double quotes.

--
Gary''s Student - gsnu200797


"E" wrote:

I have several sheets, called say Code 1, Code 2 . . . Code 10, each with a
table culminating in a total budget figure, which is in the same cell on each
sheet, say B24. On a separate sheet I have a table with one row per code, and
I want to show each code's budget figure next to the code numer, ie, Code 1:
£10000, Code 2: £5444 etc.
A way to do this is for each code to say ='Code x'!B24, where x is the code
number. This involves me typing this in or clicking to link for each code,
which is tedious for up to 100 codes. I want to write a formula on the lines
of ='Code "A5"'!B24 where A5 is the code number, ie, "look at cell B24 in the
sheet denoted by the code on this row".
I'm sorry, this isn't very easy to explain.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 40
Default Formula using worksheet names

Thank you very much, but I found the other person's method worked better for
me.

"Gary''s Student" wrote:

In Cell A1 of another sheet enter:
=INDIRECT("'Code " & ROW() & "'!" & "B24") and copy down
or
=INDIRECT("'Code " & COLUMN() & "'!" & "B24") and copy across

be careful of the single and double quotes.

--
Gary''s Student - gsnu200797


"E" wrote:

I have several sheets, called say Code 1, Code 2 . . . Code 10, each with a
table culminating in a total budget figure, which is in the same cell on each
sheet, say B24. On a separate sheet I have a table with one row per code, and
I want to show each code's budget figure next to the code numer, ie, Code 1:
£10000, Code 2: £5444 etc.
A way to do this is for each code to say ='Code x'!B24, where x is the code
number. This involves me typing this in or clicking to link for each code,
which is tedious for up to 100 codes. I want to write a formula on the lines
of ='Code "A5"'!B24 where A5 is the code number, ie, "look at cell B24 in the
sheet denoted by the code on this row".
I'm sorry, this isn't very easy to explain.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 40
Default Formula using worksheet names

That seems to work fine. I have never used INDIRECT before. Many thanks for
your help.
However, when I have a zero in B24 sometimes it returns 0 and sometimes
REF#! - do you have any idea why?

"Pete_UK" wrote:

Put this in B5:

=INDIRECT("'Code "&A5&"'!B24")

Then just copy down as required.

Hope this helps.

Pete

On Jul 31, 9:54 am, E wrote:
I have several sheets, called say Code 1, Code 2 . . . Code 10, each with a
table culminating in a total budget figure, which is in the same cell on each
sheet, say B24. On a separate sheet I have a table with one row per code, and
I want to show each code's budget figure next to the code numer, ie, Code 1:
£10000, Code 2: £5444 etc.
A way to do this is for each code to say ='Code x'!B24, where x is the code
number. This involves me typing this in or clicking to link for each code,
which is tedious for up to 100 codes. I want to write a formula on the lines
of ='Code "A5"'!B24 where A5 is the code number, ie, "look at cell B24 in the
sheet denoted by the code on this row".
I'm sorry, this isn't very easy to explain.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 40
Default Formula using worksheet names

Sorry, I fixed my second problem. :-)

"E" wrote:

That seems to work fine. I have never used INDIRECT before. Many thanks for
your help.
However, when I have a zero in B24 sometimes it returns 0 and sometimes
REF#! - do you have any idea why?

"Pete_UK" wrote:

Put this in B5:

=INDIRECT("'Code "&A5&"'!B24")

Then just copy down as required.

Hope this helps.

Pete

On Jul 31, 9:54 am, E wrote:
I have several sheets, called say Code 1, Code 2 . . . Code 10, each with a
table culminating in a total budget figure, which is in the same cell on each
sheet, say B24. On a separate sheet I have a table with one row per code, and
I want to show each code's budget figure next to the code numer, ie, Code 1:
£10000, Code 2: £5444 etc.
A way to do this is for each code to say ='Code x'!B24, where x is the code
number. This involves me typing this in or clicking to link for each code,
which is tedious for up to 100 codes. I want to write a formula on the lines
of ='Code "A5"'!B24 where A5 is the code number, ie, "look at cell B24 in the
sheet denoted by the code on this row".
I'm sorry, this isn't very easy to explain.



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Formula using worksheet names

OK, glad to hear it, and thanks for feeding back.

Pete

On Jul 31, 11:13*am, E wrote:
Sorry, I fixed my second problem. :-)



"E" wrote:
That seems to work fine. I have never used INDIRECT before. Many thanks for
your help.
However, when I have a zero in B24 sometimes it returns 0 and sometimes
REF#! - do you have any idea why?


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 40
Default Formula using worksheet names

Unfortunately I am now stuck on a similar problem, which I thought would be
easier. I now have sheets called Person a, Person b, . . . with figures I
want to pull through to a summary sheet. This time I have a table with Person
a, Person b, . . . in a column, so I just want to say ='sheet(A3)' cell(B10)
where A3 is 'Person a' and B10 is the cell figure I want to pull through. I'm
getting tangled up with inverted commas. Please help!

"E" wrote:

I have several sheets, called say Code 1, Code 2 . . . Code 10, each with a
table culminating in a total budget figure, which is in the same cell on each
sheet, say B24. On a separate sheet I have a table with one row per code, and
I want to show each code's budget figure next to the code numer, ie, Code 1:
£10000, Code 2: £5444 etc.
A way to do this is for each code to say ='Code x'!B24, where x is the code
number. This involves me typing this in or clicking to link for each code,
which is tedious for up to 100 codes. I want to write a formula on the lines
of ='Code "A5"'!B24 where A5 is the code number, ie, "look at cell B24 in the
sheet denoted by the code on this row".
I'm sorry, this isn't very easy to explain.

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Formula using worksheet names

What's the problem with =INDIRECT("'"&A3&"'!"&B10) ?
--
David Biddulph

"E" wrote in message
...
Unfortunately I am now stuck on a similar problem, which I thought would
be
easier. I now have sheets called Person a, Person b, . . . with figures I
want to pull through to a summary sheet. This time I have a table with
Person
a, Person b, . . . in a column, so I just want to say ='sheet(A3)'
cell(B10)
where A3 is 'Person a' and B10 is the cell figure I want to pull through.
I'm
getting tangled up with inverted commas. Please help!

"E" wrote:

I have several sheets, called say Code 1, Code 2 . . . Code 10, each with
a
table culminating in a total budget figure, which is in the same cell on
each
sheet, say B24. On a separate sheet I have a table with one row per code,
and
I want to show each code's budget figure next to the code numer, ie, Code
1:
£10000, Code 2: £5444 etc.
A way to do this is for each code to say ='Code x'!B24, where x is the
code
number. This involves me typing this in or clicking to link for each
code,
which is tedious for up to 100 codes. I want to write a formula on the
lines
of ='Code "A5"'!B24 where A5 is the code number, ie, "look at cell B24 in
the
sheet denoted by the code on this row".
I'm sorry, this isn't very easy to explain.



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
COPYING FORMULA CONTAINING NAMES/RELATIVE RANGE NAMES Bricol Excel Discussion (Misc queries) 0 July 8th 08 03:54 PM
Trying to list tab/worksheet names in a summary worksheet Mich Excel Discussion (Misc queries) 1 February 7th 08 02:07 AM
Adding worksheet tab names to the first worksheet adam Excel Discussion (Misc queries) 1 May 17th 06 02:07 AM
help keeping the worksheet names within formula lamaloh Excel Worksheet Functions 1 August 9th 05 09:32 AM
How to link Excel worksheet tab names to dates in each worksheet? Pat Excel Worksheet Functions 9 January 31st 05 07:51 AM


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

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"