+ Reply to Thread
Results 1 to 6 of 6

Reference sheet names with indirect function to make formula

  1. #1
    Registered User
    Join Date
    05-17-2014
    MS-Off Ver
    Excel 2003
    Posts
    45

    Reference sheet names with indirect function to make formula

    Attached I have a document where I am wanting all of the individual sheet names on the Total page. Rather than having to change each formula to match the sheet name I believe there is a way to reference the sheet name column (AO) in the formula so you can drag it down to fill in the columns. I am basic with Excel and do not know how to add this indirect function into my current formulas.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Reference sheet names with indirect function to make formula

    =INDIRECT("'"&A1&"'!G7") gets the cell g7 from sheet in A1

    Also your sheet names arent the same as the desc in the summary sheet.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    05-17-2014
    MS-Off Ver
    Excel 2003
    Posts
    45

    Re: Reference sheet names with indirect function to make formula

    Okay, I have that part figured out for when I can directly reference another cell. What if I need create an indirect formula in combination with this formula =COUNTIF('Arcadia PS'!U8:U199,"X"). My reference cell for the indirect formula has been AO6.

  4. #4
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Reference sheet names with indirect function to make formula

    =COUNTIF(INDIRECT(A1 & "!u8:u199"),"x")

  5. #5
    Registered User
    Join Date
    05-17-2014
    MS-Off Ver
    Excel 2003
    Posts
    45

    Re: Reference sheet names with indirect function to make formula

    Excellent! Another question - how do I combine INDIRECT with a formula like =COUNTIFS('Bank of Broken Bow'!O8:O199,">200",'Bank of Broken Bow'!O8:O199,"<240") where again my INDIRECT reference cell is AO3.

  6. #6
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Reference sheet names with indirect function to make formula

    Can you not deduce? The indirect function replaces your cell refs, this can be deduced from the formula earlier. Sorry, got my own job to do to. :o)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 01-10-2017, 11:11 PM
  2. INDIRECT Function and Sheet Names
    By golfwannabe in forum Excel General
    Replies: 3
    Last Post: 01-03-2011, 02:16 PM
  3. Replies: 2
    Last Post: 05-05-2006, 06:25 PM
  4. [SOLVED] Help with an Indirect formula to reference sheet names
    By PCLIVE in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-04-2005, 01:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1