+ Reply to Thread
Results 1 to 5 of 5

CountIf - calculate how many times the name has been listed

Hybrid View

  1. #1
    Registered User
    Join Date
    01-30-2009
    Location
    USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    67

    Re: CountIf - calculate how many times the name has been listed

    Try in B1:
    =IF(AND(COUNTIF(A:A,A1)>1,COUNTIF(A1:$A$1,A1)=COUNTIF(A:A,A1)),A1&" "&COUNTIF(A:A,A1),"")
    and copy down

    and for conditional formatting, select the used range of column B and try this formula:
    =B1<>""

    to highlight the names in the list (column A), try this formula in conditional format:
    =COUNTIF(A:A,A1)>1
    Last edited by c_m; 04-19-2009 at 06:06 PM.

  2. #2
    Registered User
    Join Date
    04-19-2009
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: CountIf - calculate how many times the name has been listed

    That's great! Thanks a lot for the quick response too. Any suggestions on how to colour those cells? If not, then the formula you gave me will work fine on its own.

    I didn't think there was a way to do that. Thanks again!

  3. #3
    Registered User
    Join Date
    04-19-2009
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: CountIf - calculate how many times the name has been listed

    Oops, sorry C_M. I didn't even see your post for some reason. Thanks, the conditional formatting worked like a peach!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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