+ Reply to Thread
Results 1 to 3 of 3

Formula to Point to a Designated Sheet and perform Calcs

  1. #1
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Formula to Point to a Designated Sheet and perform Calcs

    Hi Folks

    I need a formula to point to a designated sheet that is defined by a name in Col C and then to perform SUMIFS and COUNTIFS calcs.

    Example supplied.

    Regards
    hammer
    Attached Files Attached Files
    If you have found solving my problem/s to be an interesting and educational exercise then how about Repping me up?
    No idea why I need Rep, other than feeling left out....

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Formula to Point to a Designated Sheet and perform Calcs

    try

    DN2=SUMIFS(INDIRECT("'"&TRIM(C2)&"'!"&"P:P"),INDIRECT("'"&TRIM(C2)&"'!"&"F:F"),F2,INDIRECT("'"&TRIM(C2)&"'!"&"G:G"),G2,INDIRECT("'"&TRIM(C2)&"'!"&"DI:DI"),1)-COUNTIFS(INDIRECT("'"&TRIM(C2)&"'!"&"F:F"),F2,INDIRECT("'"&TRIM(C2)&"'!"&"G:G"),G2) and drag down
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formula to Point to a Designated Sheet and perform Calcs

    Works perfectly!
    Thank you very much Ankur Shukla !

+ 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. [SOLVED] Time sheet calcs Help!
    By lizzardking in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-30-2015, 10:57 PM
  2. Referencing Another Sheet that is designated by a cell
    By Smurlos in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-01-2015, 02:27 PM
  3. Calcs stop at a certain structure point
    By lescrowe in forum Excel General
    Replies: 1
    Last Post: 09-04-2014, 02:31 AM
  4. Converting macro from functioning on active sheet to a designated sheet.
    By glide2131 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2014, 11:53 PM
  5. Replies: 48
    Last Post: 09-27-2012, 12:27 PM
  6. Replies: 3
    Last Post: 07-17-2007, 09:52 AM
  7. [SOLVED] Quotes in .formula calcs
    By Paulymon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2006, 07:20 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