+ Reply to Thread
Results 1 to 2 of 2

COUNTIFS [Targeting a value that is the same as a cell name [A1, S55]

  1. #1
    Registered User
    Join Date
    10-13-2016
    Location
    Wirral
    MS-Off Ver
    [email protected]
    Posts
    1

    COUNTIFS [Targeting a value that is the same as a cell name [A1, S55]

    Hi Excellions,

    I'm hoping someone can help. I am using a COUNTIFS formula, looking at:

    • A column that holds a range of dates and then a “=”&A1 location for the criteria such as 11/10/16. Both areas are formatted as Date.
    • A column that holds a range of codes (eg: S1, S55 etc.) and a “=”&A10 location for the criteria such as S55

    The problem I have is the formula returns 0, yet when I filter the table, I see a total greater than 0.

    The question I have is “Does the fact that I’m using S55 impact on the return, given that S55 is a Cell in Excel?”

    If yes, does anyone have any idea how I get around it?

    Many thanks

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: COUNTIFS [Targeting a value that is the same as a cell name [A1, S55]

    Quote Originally Posted by JohnoLFC View Post
    Does the fact that I’m using S55 impact on the return, given that S55 is a Cell in Excel?”
    As long as you're using a cell to hold "S55", it should have no impact.

    Can you post a SMALL sample file and show us what result you expect?

    A SMALL file will have about 20 rows worth of data.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Targeting a workbook instead of just a column in VBS
    By sophielane in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-11-2016, 08:45 AM
  2. [SOLVED] Targeting Value and Copying Row to new sheet
    By evancruz in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-12-2015, 02:54 PM
  3. targeting variably named sheets
    By Coleman34 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-01-2014, 01:40 PM
  4. [SOLVED] Targeting Worksheet Name by Cell Value
    By daffodil11 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-21-2014, 05:04 PM
  5. Options targeting a specified total
    By santitobibenji in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-29-2014, 11:39 PM
  6. targeting another prg by using DDE in the code
    By CC_rider in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-21-2006, 02:45 PM
  7. Problems targeting any version of Excel
    By Larry Lard in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-19-2005, 08:06 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