+ Reply to Thread
Results 1 to 7 of 7

can excel count each cell in a row & stops at point then re counts

  1. #1
    Registered User
    Join Date
    09-09-2021
    Location
    australia
    MS-Off Ver
    online version
    Posts
    3

    can excel count each cell in a row & stops at point then re counts

    HI

    can excel count each cell in a row & stops at point then re counts, I have tried all the count A (count if, only counts all at once) this is what I am trying to do:
    count how many times the 233 stock code sold in a row, thank you in advance for any help

    row below . = this is what answer i am looking for

    233 =1 counts 1 on its own

    0 =1 = counts 1 on its own

    233 = 1

    233 = 2 = counts 2 in a row together

    0 = 1

    0 = 2

    0 = 3 = counts 3 in a row together

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

    Re: can excel count each cell in a row & stops at point then re counts

    Hi & welcome to the board.
    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-09-2021
    Location
    australia
    MS-Off Ver
    online version
    Posts
    3

    Re: can excel count each cell in a row & stops at point then re counts

    not sure if I'm doing this right? it gave me this : can you please explain what # i click for A1 A2 & B1, i clicked A1 for 233 A2 for 0 and 0 for B1, is that right? Thank you
    233 1
    0 1
    0 1
    0 1
    233 234
    233 1
    0 1
    233 234
    233 234
    233 234
    233 1
    0 1
    0 1
    Last edited by peterpan1233; 09-09-2021 at 10:20 AM.

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

    Re: can excel count each cell in a row & stops at point then re counts

    The formula goes in B2 copied down to give
    Excel 365 (Windows) 32 bit
    A
    B
    1
    Numbers Count
    2
    233
    1
    3
    0
    1
    4
    233
    1
    5
    233
    2
    6
    0
    1
    7
    0
    2
    8
    0
    3
    Sheet: Lists

  5. #5
    Registered User
    Join Date
    09-09-2021
    Location
    australia
    MS-Off Ver
    online version
    Posts
    3

    Re: can excel count each cell in a row & stops at point then re counts

    i wish i knew how you got it to do that. I've tried many times and i keep getting different answers, it wont do the 1 2 3 like yours, what am i doing wrong?

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

    Re: can excel count each cell in a row & stops at point then re counts

    Please upload a sample workbook, look at the yellow banner at the top of the site for instructions.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,246

    Re: can excel count each cell in a row & stops at point then re counts

    Example in attached

    See column B
    Attached Files Attached Files

+ 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. Excel setting that stops excel flickering randomly between cell to cell
    By grphillips in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 05-04-2020, 11:05 PM
  2. Code stops working when count is zero
    By little_angel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-26-2019, 07:47 AM
  3. Replies: 5
    Last Post: 02-10-2016, 07:20 PM
  4. Replies: 9
    Last Post: 04-14-2015, 11:20 AM
  5. [SOLVED] Formula that counts specific values, but stops at the point that the value changes.
    By AlphaRaveNZ in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-04-2015, 10:16 PM
  6. VBA: EXCEL 2007 automatic cell counts and totals
    By XFILES999 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-06-2014, 10:27 AM
  7. How do I make tab stops within a cell of Excel?
    By B Daniels in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-04-2006, 02:15 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