Yunus said:
e,g Column A & B in sheet 1 are listed below
London 1
London 2 [....]
The Worksheets are Named
yunus-london-1 GD0
yunus-london-2 GD0
Oh, that is completely different from your original (mis)representation of
the facts. GIGO!
Yunus said:
Now in Sheet 1 Column C using the indirect command
I want to obtaing the value in in cell Q1 in each of
the worksheets.
=INDIRECT("'"&"YUNUS"&"-"&A3&"-"&B3&" "&"GD0" &"'!Q1")
There is nothing syntactically wrong with your formula, AFAIK. It can be
written more simply, and it behoove you to do so in order to minimize typing
mistakes. Namely:
=INDIRECT("'YUNUS-" & A3 & "-" & B3 & " GD0'!Q1")
You have not explained in what way the formula "does not work". And Excel
error like #REF or #VALUE? Or simply an unexpected result?
One possibility is that either A3 and/or B3 contains leading or trailing
spaces, or the worksheet names contain interstitial spaces that you have not
shown.
Another possibility: the formula is not exactly as you have written above.
(Or as I have rewritten it.) Be sure to copy the formula from the Formula
Bar and paste it into a follow-up posting, if you did not do so already.
And a third possibility: you have manual calculation mode set. Does the
formula work when you press ctrl+alt+F9?
If none of the suggestions here and by others solves your problem, I suggest
that you upload an example Excel file to a file-sharing website and post the
URL (
http://...) in a follow-up posting. The following is a list of some
free file-sharing websites; or use your own.
Box.Net:
http://www.box.net/files
Windows Live Skydrive:
http://skydrive.live.com
MediaFire:
http://www.mediafire.com
FileFactory:
http://www.filefactory.com
FileSavr:
http://www.filesavr.com
FileDropper:
http://www.filedropper.com
RapidShare:
http://www.rapidshare.com