+ Reply to Thread
Results 1 to 4 of 4

Count # of cells greater than x

  1. #1
    Registered User
    Join Date
    10-14-2019
    Location
    New Hampshire
    MS-Off Ver
    2016
    Posts
    2

    Question Count # of cells greater than x

    I maintain a list of projects for my office. I'd like to create a formula where when the value of one cell is greater than a certain date Excel will place a "1" in another cell so I can count up the number.
    For example I need to count the number of projects which were completed within 5 years (and sometimes 10 years).

    I've been doing it by hand, but it can be tedious. Can anyone help?

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Count # of cells greater than x

    Hello and welcome to the forum.

    I recommend uploading a small representative sample of your data along with the desired results (which you can enter manually) based on that data.

    To upload an Excel workbook, follow these steps:
    1) Click on "Go Advanced"
    2) Click on "Manage Attachments"
    3) Click on "Choose File"
    4) Choose your file and click on "Open"
    5) Click on "Upload"
    6) Click on "Close this window"

  3. #3
    Registered User
    Join Date
    10-14-2019
    Location
    New Hampshire
    MS-Off Ver
    2016
    Posts
    2

    Re: Count # of cells greater than x

    example hopefully the attachment will show up.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,546

    Re: Count # of cells greater than x

    I believe that the following will yield the values you want.
    Paste the following in cell B3: =IF(YEAR(TODAY())-F3<=10,1,"")
    Then paste the following in cell C3: =IF(YEAR(TODAY())-F3<=5,1,"")
    Select both B3:C3 and drag the fill handle down to C9.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Count the no. of cells in a row greater than previous row
    By vikas.trades25 in forum Excel General
    Replies: 3
    Last Post: 02-10-2019, 08:14 PM
  2. Count number of cells since last value greater than a value
    By justibm in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-02-2018, 01:37 PM
  3. [SOLVED] Count Number of Cells in Col B that are greater than Col A
    By lordfa9 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-08-2015, 04:44 AM
  4. Count a row if one of many cells contains a value greater than 0
    By bedwards11 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-04-2015, 10:46 PM
  5. [SOLVED] Count cells containing Dates (greater than 2014) based on Filtered Cells
    By sam99 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-26-2014, 10:30 AM
  6. Count cells (not value) greater than 0
    By rwhite713 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-27-2013, 10:41 PM
  7. Count non-contiguous cells where value is greater than 0
    By anre5180 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-22-2006, 09:12 AM

Tags for this Thread

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