+ Reply to Thread
Results 1 to 3 of 3

Thread: More help with 'INDIRECT'

  1. #1
    Registered User
    Join Date
    10-31-2010
    Location
    devon, england
    MS-Off Ver
    Excel 2007
    Posts
    8

    More help with 'INDIRECT'

    Hi

    Last week you kindly helped me with......

    =COUNTIF(INDIRECT("'"&H2&"'!B3"),10)

    count if the cell B3 on sheet as directed from whatever is in cell H2 = 10

    What I've been trying to do ever since is to replace the B3 with another Cell reference e.g. if the value B3 is entered in cell G2 it would be as before, but if the value of cell G2 was changed to B4 it would look at that cell on the sheet as directed in cell H2. (hope that makes sense)

    I've been trying to get it to work with another instance of INDIRECT without any luck.

    Thanks in advance.
    Last edited by kingy2; 08-21-2011 at 10:58 AM.

  2. #2
    Forum Contributor
    Join Date
    01-28-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    157

    Re: More help with 'INDIRECT'

    Perhaps...
    =COUNTIF(INDIRECT("'"&H2&"'!"&G2),10)
    If G2 is always going to be the address of a single cell you could also use...
    =--(INDIRECT("'"&H2&"'!"&G2)=10)

    Beau Nydal

  3. #3
    Registered User
    Join Date
    10-31-2010
    Location
    devon, england
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: More help with 'INDIRECT'

    Many Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0