+ Reply to Thread
Results 1 to 2 of 2

SUM, COUNTIF, and INDIRECT - Need help

  1. #1
    Registered User
    Join Date
    01-30-2013
    Location
    South Carolina
    MS-Off Ver
    2010
    Posts
    10

    Question SUM, COUNTIF, and INDIRECT - Need help

    Hello!

    I am having difficulty with a formula I worked on....

    I don't understand why one works and not the other.

    This one works with a direct reference to the Named Range:

    {=SUM(COUNTIF(Table_Name[Column of Numbers],Named Range))}

    The one below does not, even though that indirect provides the exact name of the "Named Range". It would be useful if I could get this to work since the Named Range is different depending on column D. Otherwise I will have to manually paste in the correct Named Range for each row.

    {=SUM(COUNTIF(Table_Name[Column of Numbers],INDIRECT("Name_"&SUBSTITUTE(INDIRECT("D"&ROW()),"-",""))))}

    Is there a way to indirectly reference a named group of cells like this?


    Thank you!

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: SUM, COUNTIF, and INDIRECT - Need help

    Hi bubbacheese,

    I just answered another question using two dynamic named ranges and a sum. I don't see why you need the indirect part of your formula. My gut feeling is you need a DNR for each of your different columns.

    See the attached where I have two different DNRs.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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] 2 data Range using COUNTIF with INDIRECT and MIN IF with INDIRECT,
    By david gonzalez in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 11-29-2013, 08:10 PM
  2. [SOLVED] Another COUNTIF and INDIRECT question
    By nickbuol in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-17-2013, 12:24 PM
  3. COUNTIF and INDIRECT
    By Simon Gahan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-21-2012, 05:52 AM
  4. COUNTIF with INDIRECT Function
    By somesoldiers in forum Excel General
    Replies: 9
    Last Post: 01-20-2012, 12:22 PM
  5. INDIRECT COUNTIF's??
    By alymcmorland in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-09-2005, 07:55 AM

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