+ Reply to Thread
Results 1 to 4 of 4

counting two different values in a column and retuning the count of that value

  1. #1
    Registered User
    Join Date
    05-17-2022
    Location
    Denver
    MS-Off Ver
    Office 365
    Posts
    3

    counting two different values in a column and retuning the count of that value

    Hi, new here I'm trying to write a formula for the cells in column B that will look at the line in column c and count how may times the word Flat or Inc has occurred before (top down). The issue I am running into is how to I tell it if Flat is not found look for "inc" and count the Inc and return that count of "Inc" Example cell B4 would return 1 since that is the first time "Inc" was found.

    I was trying to use COUNTIF open to any other way to do this. workbook sample attached. thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: counting two different values in a column and retuning the count of that value

    Is it just this?

    Please Login or Register  to view this content.
    WBD
    Office 365 on Windows 11, looking for rep!

  3. #3
    Registered User
    Join Date
    05-17-2022
    Location
    Denver
    MS-Off Ver
    Office 365
    Posts
    3

    Re: counting two different values in a column and retuning the count of that value

    That seems to work I'm going to put it in the larger workbook and test. Thanks I'm not sure what it is doing I was thinkin i would have to call out the words Flat and Inc to make it work. Will let you know after testing
    Last edited by Ewesto; 05-18-2022 at 09:57 AM.

  4. #4
    Registered User
    Join Date
    05-17-2022
    Location
    Denver
    MS-Off Ver
    Office 365
    Posts
    3

    Re: counting two different values in a column and retuning the count of that value

    Quote Originally Posted by WideBoyDixon View Post
    Is it just this?

    Please Login or Register  to view this content.
    WBD
    Worked great thanks

+ 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: 7
    Last Post: 10-23-2018, 10:18 AM
  2. Replies: 16
    Last Post: 05-17-2017, 02:00 PM
  3. Replies: 5
    Last Post: 06-12-2014, 06:34 AM
  4. Pivot table not counting values (but does count based on labels)
    By andy.k in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-25-2014, 12:56 AM
  5. [SOLVED] Help in counting D if column a is x and column b is y, count column c with a price of XXX
    By grlnexdor in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-18-2013, 02:03 AM
  6. Replies: 3
    Last Post: 01-18-2012, 05:27 PM
  7. [SOLVED] Retuning a column number for a specific value
    By slot guy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-13-2005, 06:05 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