+ Reply to Thread
Results 1 to 6 of 6

Countif/Sumif/Sumproduct under 80 based on wild card value

  1. #1
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Countif/Sumif/Sumproduct under 80 based on wild card value

    hi everyone,

    I have the following scenario:

    Search value: OR00&"*" (so any values with OR00 in them)
    Range of search: A:A (Search value will search in this range)
    Range of values to be counted if under 80: G:G (if the search value number in G:G is below 80, then the instances is counted)

    I'm trying to create a formula which will count the number of times any value in range A:A that has OR00 in it is below 80 in range G:G. Any ideas?

    Thanks!

  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/Sumif/Sumproduct under 80 based on wild card value

    Quote Originally Posted by Groovicles View Post
    Search value: OR00&"*" (so any values with OR00 in them)
    By 'in them' do you mean the string OR00 could appear anywhere within the cell like abcOR00def?
    Because you posted OR00&"*"
    By having the wildcard only at the end, then it will only count cells that 'Begin with' OR00, not necessarily any that have it 'in them'

    If that is what you meant, count cells that 'Begin With' OR00, then
    Try

    =COUNTIFS(A:A,"OR00*",G:G,"<80")

    If you really meant OR00 could be anywhere in the string like abcOR00def, then add the wildcard before the O as well

    =COUNTIFS(A:A,"*OR00*",G:G,"<80")

  3. #3
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Re: Countif/Sumif/Sumproduct under 80 based on wild card value

    Hi Jonmo,

    thanks. Yes I mean that it would BEGIN with OR00. Thank you for your formula, but could you provide me with an Excel 2003 equivalent?

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

    Re: Countif/Sumif/Sumproduct under 80 based on wild card value

    Try

    =SUMPRODUCT(--(LEFT(A1:A100,4)="OR00"),--(G1:G100<80))


    Note, you should update your profile to indicate using xl2003, or if you use multiple versions, specify in your original posts when you need xl2003 compatible solutions.

  5. #5
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Re: Countif/Sumif/Sumproduct under 80 based on wild card value

    That's it! Thanks very much, Jonmo.

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

    Re: Countif/Sumif/Sumproduct under 80 based on wild card value

    You're welcome.

+ 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. wild card
    By jamrock in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-05-2013, 05:47 PM
  2. SUMIF with Wild Card Characters
    By john6250 in forum Excel General
    Replies: 2
    Last Post: 07-14-2011, 02:12 AM
  3. sumproduct with a search and wild card
    By Scorpvin in forum Excel General
    Replies: 1
    Last Post: 06-14-2006, 11:50 AM
  4. Countif using Wild Card Characters
    By nebb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-10-2006, 08:20 PM
  5. [SOLVED] Wild card *
    By Herman in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-21-2005, 09:05 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