• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Combining Cells to produce a Formula

jjafferis

New Member
I have A LOT of formulas to produce from over 1000 worksheets. I am thinking i can do this.


Column A1 for my result


Column A2 for my Sheet that i would like to get my data from.


Column A3 for the cell i would like to get the data from.


I think it would look something like this.


A B C

=indirect(A2&"!"&A3) 02-020 B60


This should give me the value in cell B60 sheet 02-020. comes up with #REF. What am i missing?
 
Hi, jjaferis!


First of all welcome to Chandoo's website Excel forums. Thank you for your joining us and glad to have you here.


As a starting point I'd recommend you to read the green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).


Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.


Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, you'll always be welcome back here. Tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.


And about your question...


If you haven't performed yet the search herein, try going to the topmost right zone of this page (Custom Search), type the keywords used in Tags field when creating the topic or other proper words and press Search button. You'd retrieve many links from this website, like the following one(s) -if any posted below-, maybe you find useful information and even the solution. If not please advise so as people who read it could get back to you as soon as possible.


BTW, a workbook with more than 1000 worksheets? Microsoft stats that there's no limit except for the memory (http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HP010342495.aspx) but I never saw it. I'm sure of one thing: I want your hardware right now...


Regarding the formula I tried it with this values:

A2: Sheet2, string, name of another worksheet in the same workbook

A3: I15, string, text of the address of the searched cell


And it worked fine. So check what values do you actually have in A2 and A3 cells, look for leading or trailing spaces, embedded spaces that'd force you to embed worksheet name into apostrophes:

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

if worksheet name were "Sheet 1" unquoted.


Regards!
 
FIRST OFF I DIDN'T UPLOAD DUE TO FILE SIZE. LOVE THE SITE THOUGH.


MY SPECS ON MY MACHINE ARE KIND OF UNWORLDLY YEAH...GOOD TO BE ME.


I FOUND THAT FORMATTING OF CELLS WHAT THE PROBLEM. THE CELL NAMES ARE 01-020, 01-030, 01-040. AND SO ON. FOUND A FORMULA THAT WORKED.


ALONG THE LINES OF =INDIRECT("'0"&N3&"-0"&O3&"'!"&L3)

HAD TO MAKE A COULPLE EXTRA CELLS TO SPLIT HOW I HAD NUMBER DELINIATED.


THANKS FOR YOUR HELP!!!!
 
Hi, jjaferis!

Glad you solved it. Thanks for your feedback and welcome back whenever needed or wanted.

Regards!

PS: "PLEASE DON'T SHOUT! We have big ears and will hear you just the same." from the green sticky post http://chandoo.org/forums/topic/phd-forum-posting-rules-etiquette-pls-read-before-posting
 
Back
Top