worksheet tite in formula?

P

pjgoldstein

I have this formula in worksheet 1:

=SUMIF('ORG-00'!A4:A54,"T",'ORG-00'!M4:M54)

ORG-00 is worksheet 2

can I use a cell in w1 to populate that portion of the formula allowing
me to change the reference to the worksheet without actually changing
the formula?

Thanks!
 
P

Per Erik Midtrød

I have this formula in worksheet 1:

=SUMIF('ORG-00'!A4:A54,"T",'ORG-00'!M4:M54)

ORG-00 is worksheet 2

can I use a cell in w1 to populate that portion of the formula allowing
me to change the reference to the worksheet without actually changing
the formula?

Thanks!

This page explains two ways to do get the sheet name:
http://www.ozgrid.com/VBA/return-sheet-name.htm

Then you could probably use the indirect function.

Per Erik
 

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