+ Reply to Thread
Results 1 to 6 of 6

Count cells with a certain value after another value

  1. #1
    Registered User
    Join Date
    11-06-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    57

    Count cells with a certain value after another value

    How to count cells with Quoted value after Accepted for rows with similar column A? I don't want to count cells with Quoted before Accepted.
    book1.png

    For example,
    A has 2 in column E because the rows with Quoted = 2
    I don't want to count the Quoted value before any Accepted.

    The goal here is to count how many quotes that weren't accepted before the company stopped buying from us.

    In the case for company A, it was 2. They accepted a quote from us in 7/3/2016 and after that two of our quotes weren't accepted and that was the last time we saw them.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Count cells with a certain value after another value

    try
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,088

    Re: Count cells with a certain value after another value

    Try
    Please Login or Register  to view this content.
    - Battle without fear gives no glory - Just try

  4. #4
    Registered User
    Join Date
    11-06-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    57

    Re: Count cells with a certain value after another value

    Thanks jindon and PCI. +rep to both of you.

    How about counting the difference between Date Created in column D and averaging the difference?

    For example, column E shows the difference in days between the dates the quotes were created. Column F shows the average of those days.
    Screenshot of final results.
    book2.png
    Attached Files Attached Files
    Last edited by stan255; 09-17-2017 at 07:57 PM.

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Count cells with a certain value after another value

    try
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    11-06-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    57

    Re: Count cells with a certain value after another value

    You are a genius, jindon!

+ 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. Replies: 1
    Last Post: 05-19-2017, 07:37 AM
  2. Count if: Compare 2 ranges and count where cells in same row differ
    By ExcelFed in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2014, 02:34 PM
  3. [SOLVED] Count formula not count hidden cells in table
    By tlacloche in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-06-2013, 02:35 PM
  4. [SOLVED] Formula needed to only count total cells entered and not count adjacent text entered cells
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-07-2013, 06:22 PM
  5. [SOLVED] count cells that contain text but do not count cells containing only a formula
    By cprpacific in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-13-2013, 03:15 PM
  6. [SOLVED] Count in a range, where identical adjacent cells count as one instance.
    By the-algebraist in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-05-2013, 11:18 AM
  7. [SOLVED] count occupied cells, but put count total in different worksheet
    By NewbieOfVBA in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-24-2012, 07:30 PM

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