+ Reply to Thread
Results 1 to 3 of 3

COUNTIF when a criteria is a formula RIGHT(LEFT

  1. #1
    Registered User
    Join Date
    07-05-2010
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    40

    Question COUNTIF when a criteria is a formula RIGHT(LEFT

    Hi guys,

    Relatively simple problem (or at least appears to be)...

    I need to count cells based on a 11th and 12th character in the string.

    I tried count, countif, an array formula and all I get is "0".

    Example attached.

    As always, help is greatly appreciated!

    Thanks,
    Bond002
    Attached Files Attached Files

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

    Re: COUNTIF when a criteria is a formula RIGHT(LEFT

    It looks like you actually want the 11th and 12th characters, right?

    Try
    =SUMPRODUCT(--(MID(B2:D6,11,2)="60"))

  3. #3
    Registered User
    Join Date
    07-05-2010
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    40

    Re: COUNTIF when a criteria is a formula RIGHT(LEFT

    Thanks Jonmo, worked a treat!

    I should probably read up about the sumproduct functions as this is not the first time I came across it!

    Cheers,
    Bond002

+ 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] Using Countif formula on cells that have a Left formula
    By fsoares22 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-10-2013, 11:13 AM
  2. [SOLVED] How can I COUNTIF using the cell to the left (a wildcard) of the formula?
    By Sandcastle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-23-2013, 04:57 PM
  3. How to write formula to exclude criteria and count whats left
    By HULLMAN in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-23-2012, 09:58 AM
  4. using countif() formula but with 2 criteria
    By netdude_18 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-24-2008, 09:23 AM
  5. Countif If with 2 Criteria but with Left function in one!!
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-14-2007, 05:22 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