+ Reply to Thread
Results 1 to 5 of 5

Count from two columns

  1. #1
    Registered User
    Join Date
    06-09-2023
    Location
    Auburndale Florida
    MS-Off Ver
    365
    Posts
    2

    Count from two columns

    Hello,

    I have tried for a time to find a formular that will give the counts I need.

    I have Residential inspections and Commercial inspections. I need a formular in cells M14, M15. M16, M17, M18 that will give me a count of Commercial inspections with perspective results. ( Pass, Re-Inspect, Yellow Tag, Red Tag/Fee, Stop Work)

    I am using a Code columns to distinguish Commercial from Residential.

    Example Commercial Renovation = CR
    Commercial Roof Replacement = CRR

    I hope I explained this well enough.

    see attachment.

    EDW

    Not sure if my attachment made it.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Count from two columns

    How about in M14 dragged down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Count from two columns

    m14 and copy down
    =COUNTIFS(F:F,L14,B:B,"C*")+COUNTIFS(F:F,L14,B:B,"nc")

    you would be much better chosing your codes from data valuation lists as your spreadsheet is asking for trailing blanks to creep in

  4. #4
    Registered User
    Join Date
    06-09-2023
    Location
    Auburndale Florida
    MS-Off Ver
    365
    Posts
    2

    Re: Count from two columns

    Thanks. This worked perfect.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Count from two columns

    Not sure which of us you're talking to, but glad to help & thanks for the feedback.

+ 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] Get a count of a combination of 2 different columns values, (not a sum, Just a count)
    By Jayakumar_vba in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 12-28-2020, 08:55 AM
  2. Sum across columns based on column headers or count of columns
    By RandiLee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-08-2016, 09:59 AM
  3. [SOLVED] Count 2 Columns count in Countif
    By mohan.r1980 in forum Excel General
    Replies: 3
    Last Post: 07-26-2016, 10:07 AM
  4. [SOLVED] Sort and Count Unique List Across Multiple Columns - Student Count
    By BuntyMac in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 08-17-2014, 07:00 AM
  5. compare columns and count number of matching columns
    By san000 in forum Excel General
    Replies: 1
    Last Post: 07-15-2009, 10:31 PM
  6. Replies: 2
    Last Post: 01-14-2009, 04:01 AM
  7. Range.columns.count property returns wrong count after union operation
    By gopinan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-13-2008, 04:48 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