Results 1 to 2 of 2

Countif Within A Range

Threaded View

  1. #1
    Registered User
    Join Date
    11-06-2010
    Location
    Vancouver, Washington
    MS-Off Ver
    Excel 2003
    Posts
    5

    Question Countif Within A Range

    Hi All,

    The below formula gives me a count of all values in Column B that are between the range of Column C and Column D but I would also like to be able to copy this formula down so that it doesn't count the maximum of the previous row (minimum of the current row) thus avoiding a double count.

    For example, I want the formula to count $500 in Column B in the range of C2 to D2 but I want the formula to exclude $500 in Column B in the range of C3 and D3.

    =COUNTIF($B$2:$B$20,">="&$C2)-COUNTIF($B$2:$B$20,">"&$D2)

    I would ideally like to use this date to create a histogram.

    Thanks in advance for the input!

    Thanks,

    Mario
    Attached Files Attached Files
    Last edited by Vancouver; 11-08-2010 at 09:53 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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