+ Reply to Thread
Results 1 to 2 of 2

Specify range by value in one column to count # of cells w value > 0 in adjacent column

  1. #1
    Registered User
    Join Date
    11-05-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Specify range by value in one column to count # of cells w value > 0 in adjacent column

    I apologize that I cannot articulate this process, but I guess that's what brought me to this forum:

    My worksheet is divided into columns as follows:
    • A: train number (1072 entries, with some values appearing 4 times, or some 23)
    • B: minutes delayed, most values are 0, but some are 3, 4, 9 etc....
    • C & D: both irrelevant
    • E: train numbers uniquely listed using the following formula
      Please Login or Register  to view this content.
    • F: the number of occurrences the train number in adjacent E cel
    l occurs in column A using following formula
    Please Login or Register  to view this content.
    What I am struggling to do is find the best means of counting the number of cells in column B which contain a value greater than "0" based on a range specified by each individual train number in column A. These numbers have been filtered, and while this could be done in a few hours time tediously going through a number of filters and counting, I think there must be a better system.

    To summarize what I am trying to do:

    when the value: "1801" appears 4 times in column A, and the adjacent 4 cells have "0" as their value in column B, I would like the return to be "0".

    when the number "803" which appears 23 times in column A, and there are 19 cells with a value of "0", and 4 other cells with digits greater than "0" in the adjacent cells in column B, I would like the return to be "4".

    The formulas that I currently have in columns D and E have made it so that I don't have to specify any value, which has been useful because most of these threads involve searching for specifics such as "apples" or "John". Is there anyway to find the returns I want without ever having to manually sort by the train number in column A.

    Thanks so much for your help
    Last edited by alansidman; 11-05-2013 at 06:26 PM.

  2. #2
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Specify range by value in one column to count # of cells w value > 0 in adjacent colum

    Hi sorryimuseless,

    Are you able to post a file with your data in it so I can use to try & solve your issue?

    Thanks
    Remember you are unique, like everyone else

+ 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] Count Unique Values in a Column that are not in adjacent Column
    By sskgintl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-15-2013, 03:18 PM
  2. Average range of cells in column if values in adjacent column are equal
    By RyNye in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-09-2012, 10:12 AM
  3. Replies: 4
    Last Post: 10-21-2010, 11:05 AM
  4. Replies: 0
    Last Post: 03-09-2005, 06:47 AM
  5. Using COUNTIF to count column entries if adjacent column contains data
    By johnfullerroot in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-09-2005, 05:43 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