+ Reply to Thread
Results 1 to 4 of 4

Count if issue and row

  1. #1
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,233

    Count if issue and row

    hi all

    i have multiple listing of city names in column I13:I5402

    the city are listed in alphabatical order and listed multiple times (some cities 10 times, some 120+ times).

    i want the first time a city name appears to assign a value of 1 ; everytime a city name repeats to do row above + 1 (only if the city is the same)

    i have listed example in column U.

    this is my formula in column T, but it's not working right?

    Please Login or Register  to view this content.
    i know i said "row above +1" but it's supose offset one or something?

    can someone pls assist?
    thxs
    Attached Files Attached Files
    Last edited by jw01; 09-10-2019 at 10:51 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,165

    Re: Count if issue and row

    In T13 copied down, this is all you need:

    =COUNTIF(I$13:I13,I13)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: Count if issue and row

    =countif($i$13:$i$5402,i13)-(countif(i13:$i$5402,i13))+1

  4. #4
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,233

    Re: Count if issue and row

    worked like a charm...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. [SOLVED] Count Issue
    By sjpras in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-19-2016, 07:54 AM
  2. count issue
    By Amber12 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-21-2015, 10:21 AM
  3. Count If issue
    By woodland81 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-25-2014, 05:12 PM
  4. [SOLVED] text count issue, it seems to count the formula also?
    By randypang in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-28-2013, 03:27 AM
  5. [SOLVED] COUNT issue
    By JakeMann in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-06-2013, 06:19 AM
  6. count issue
    By ukphoenix in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-12-2007, 02:40 PM
  7. count issue
    By bayou in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-25-2007, 03:27 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