+ Reply to Thread
Results 1 to 9 of 9

countifs and greater than

  1. #1
    Forum Contributor
    Join Date
    07-16-2004
    Location
    Illinois
    MS-Off Ver
    Office 365
    Posts
    122

    countifs and greater than

    Hello all.
    I have a formula that is written like this:

    countifs(a6:q6,z6) Z6 has >=1%. I also have the 1% in cell w6, which is used for other things.

    My question is the percentage will be changing on a regular basis. How can I write the greater than formula to reference W6 and still have the countifs still function?

    Thank you in advance for any help that can be provided.
    Last edited by pboost1; 05-31-2018 at 12:18 PM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: countifs and greater than

    countifs(a6:q6,">"&W6)

    Thw formula references W6 and COUNTIF still functions.

    If this is not what you want then you need to explain more clearly.
    Last edited by Special-K; 05-31-2018 at 11:52 AM.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: countifs and greater than

    Perhaps

    =COUNTIF(A6:Q6,">="&W6)

  4. #4
    Forum Contributor
    Join Date
    07-16-2004
    Location
    Illinois
    MS-Off Ver
    Office 365
    Posts
    122

    Re: countifs and greater than

    I would like to count all the cells between a6 and q6 that are greater than 1%.

    I have the 1% in cell w6, and that will change on a regular basis.

  5. #5
    Forum Contributor
    Join Date
    07-16-2004
    Location
    Illinois
    MS-Off Ver
    Office 365
    Posts
    122

    Re: countifs and greater than

    Thank you Jason.b75. your formula seems to work. are you able to explain why the quotes and the &.

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: countifs and greater than

    if you want it to refer to W6 and greater than 1% and 1% is coded into W6 then =COUNTIF(A6:Q6,">"&W6)
    should do it for you.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: countifs and greater than

    for an explanation of the quotes and ampersand
    https://www.excelforum.com/excel-gen...t-formula.html
    see posts #2 and #3.

  8. #8
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: countifs and greater than

    Quote Originally Posted by pboost1 View Post
    are you able to explain why the quotes and the &.
    That is just a way of joining text to the content of a cell, ">="&W6 is the same as >=W6, but COUNTIF, SUMIF, etc don't like it if you use the shorter version.

  9. #9
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: countifs and greater than

    Thank you for the rep!

+ 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] Application.WorksheetFunction.CountIfs Issue - Equal or Greater Than
    By PFDave in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-30-2017, 05:06 AM
  2. [SOLVED] Countifs dates greater than 0
    By morerockin in forum Excel General
    Replies: 1
    Last Post: 02-14-2017, 08:57 AM
  3. Countifs not working with greater than (>1)
    By toeyb87 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-12-2016, 05:28 PM
  4. Replies: 3
    Last Post: 08-18-2016, 05:26 PM
  5. [SOLVED] Countifs - Dates greater than.
    By JasonNeedsHelp in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-15-2015, 06:20 PM
  6. [SOLVED] Using greater than or less than today as a criteria in a countifs
    By santanicopandimonium in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-05-2014, 02:48 AM
  7. Help With COUNTIFS Using Greater Than Criteria
    By amerain in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-04-2013, 11:31 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