taking data from different worksheets

K

kman

I have different worksheets on the file.
I woul'd like to have one worksheet that summarize data from th
different worksheets.
I woul'd like to built a formula that takes a varient as thw workshee
name.

for example:
my worksheets name are : p1 p2 p3 p4 p5 p6...

i would like a formula that takes the workshet name from cells tha
called:p1 p2 p3 ...
 
F

Frank Kabel

Hi

try using INDIRECT
e.g.
if cell A1 contains the sheet name try
=INDIRECT("'" & A1 & " '!B1")
 
K

kman

when using

=INDIRECT("'" & A1 & " '!B1")

I want to copy it to one line down and that it will automaticall
changes the 1 to 2 meaning
=INDIRECT("'" & A2 & " '!B2")
but it only changes the first number and i get
=INDIRECT("'" & A2 & " '!B1")

How can I write the formule that it will change b1 to b2 too
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top