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.
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
Many Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks