+ Reply to Thread
Results 1 to 5 of 5

Countif Function

  1. #1
    Forum Contributor
    Join Date
    09-18-2015
    Location
    Republic of Korea
    MS-Off Ver
    2010
    Posts
    314

    Countif Function

    Snap10.jpg

    What formula should I use to get the C column value?
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,913

    Re: Countif Function

    Try:

    =A1&"-"&ROUND(SUM(IF($A$1:A1=A1,1/COUNTIFS($A$1:A1,A1,$B$1:B1,$B$1:B1),0)),0)

    Ctrl+Shift+Enter.

  3. #3
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Countif Function

    Hi all- If your data is sorted as shown (primary = col A, secondary = col B), then you can use this.
    In C1:
    Please Login or Register  to view this content.
    In C2 and copied down:
    Please Login or Register  to view this content.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  4. #4
    Forum Contributor
    Join Date
    09-18-2015
    Location
    Republic of Korea
    MS-Off Ver
    2010
    Posts
    314

    Re: Countif Function

    Hi! Phuocam

    Thank you so much!

  5. #5
    Forum Contributor
    Join Date
    09-18-2015
    Location
    Republic of Korea
    MS-Off Ver
    2010
    Posts
    314

    Re: Countif Function

    Hi! leelnich

    Thank you for answer.

+ 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. How do i combine a vlookup function with a countif function?
    By charris58 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-08-2016, 06:15 PM
  2. COUNTIF/COUNTIFS function + nested user-defined function
    By shamjamali in forum Excel General
    Replies: 1
    Last Post: 05-12-2015, 09:12 PM
  3. [SOLVED] IF function combination of COUNTIF function
    By emina002 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2012, 01:53 AM
  4. Replies: 9
    Last Post: 07-02-2012, 07:02 PM
  5. Using Countif Function with the Month & Year Function
    By laya1024 in forum Excel General
    Replies: 3
    Last Post: 02-03-2009, 07:52 PM
  6. [SOLVED] How do I use a countif function according to two other countif fu.
    By Kirsty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-20-2006, 07:50 AM
  7. [SOLVED] Embed a countif function in subtotal function?
    By Stuck at work in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-13-2006, 11:20 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