+ Reply to Thread
Results 1 to 2 of 2

Dynamic reference for worksheet and if statement

  1. #1
    Registered User
    Join Date
    01-15-2013
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    53

    Dynamic reference for worksheet and if statement

    Ignore me. Apparently I missed a set of brackets, which I'm sure I had put in before and hadn't worked.

    Move along
    Last edited by Sinnie; 10-27-2015 at 12:51 PM.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Dynamic reference for worksheet and if statement

    It's missing a set of ()

    Try

    =SUMPRODUCT((INDIRECT("'"&G2&"'!G4:G1273")=1)*(INDIRECT("'"&G2&"'!D4:D1273")=C2))

+ 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. Reference to a workbook on a website with dynamic worksheet
    By Anna88 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-20-2015, 09:59 AM
  2. Replies: 2
    Last Post: 02-02-2012, 02:30 PM
  3. Create a dynamic reference in a GoTo statement
    By gregdk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-28-2012, 02:35 PM
  4. Dynamic Reference to other worksheet data?
    By Delarado in forum Excel General
    Replies: 6
    Last Post: 08-17-2009, 12:42 PM
  5. Dynamic worksheet reference in formulas
    By Beedz in forum Excel General
    Replies: 2
    Last Post: 09-29-2008, 04:27 PM
  6. Dynamic worksheet reference
    By erasor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2006, 09:35 AM
  7. dynamic worksheet reference
    By bmccall17 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-19-2005, 02: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