+ Reply to Thread
Results 1 to 7 of 7

Countup on change of matching cells

  1. #1
    Forum Contributor
    Join Date
    09-24-2017
    Location
    Vic Australia
    MS-Off Ver
    Office 365 Apps for enterprise
    Posts
    147

    Countup on change of matching cells

    Good afternoon everyone

    I have a problem I have been unable to work out not sure if this will be a formula or a VBA still learning

    Columns A to I I have all my data I am using

    I would like a count in Column J when Columns A,C,E,F,G,H,I change going down the sheet a new count will be placed in Column J
    there may be multiple rows of the same information in Columns A,C,E,F,G,H,I a row going down once it changes value the above values will not show again as all the data has been presorted on another sheet

    I have placed a sample on Column K

    Any help or guides would be great
    JustinwB
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Countup on change of matching cells

    Maybe, put this on J2 and copied down as necessary:

    =IF(I2="","",SUM(--(FREQUENCY(I$2:I2,I$2:I2)>0)))

  3. #3
    Forum Contributor
    Join Date
    09-24-2017
    Location
    Vic Australia
    MS-Off Ver
    Office 365 Apps for enterprise
    Posts
    147

    Re: Countup on change of matching cells

    Good afternoon Azumi

    Thank you for your help

    Is it possible to add another column to the Frequency
    Coloumn F and H just in case Collect paperwork over laps I have seen this does happen

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Countup on change of matching cells

    PLease try at J2

    =SUMPRODUCT(1/COUNTIFS(A$2:A2,A$2:A2,C$2:C2,C$2:C2,E$2:E2,E$2:E2,F$2:F2,F$2:F2,G$2:G2,G$2:G2,H$2:H2,H$2:H2,I$2:I2,I$2:I2))

  5. #5
    Forum Contributor
    Join Date
    09-24-2017
    Location
    Vic Australia
    MS-Off Ver
    Office 365 Apps for enterprise
    Posts
    147

    Re: Countup on change of matching cells

    Good afternoon Bo_Ry

    this is working great I have tested around 100 rows of trucks and they are all working with the count adding one. My next step is top run it with over 2000 rows with 3 weeks worth of data

    Will let you know in the next few hours if everything is working I have never used the SUMPRODUCT before

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Countup on change of matching cells

    This is faster one.

    J2 and copy down,

    =IF(SUMPRODUCT(--(A2:I2<>A1:I1),{1,0,1,0,1,1,1,1,1}),N(J1)+1,J1)

    {1,0,1,0,1,1,1,1,1} 0 is for not include Column B and D

  7. #7
    Forum Contributor
    Join Date
    09-24-2017
    Location
    Vic Australia
    MS-Off Ver
    Office 365 Apps for enterprise
    Posts
    147

    Re: Countup on change of matching cells

    Good afternoon Bo_Ry

    I have just finished placing all my reports together from last week was 359 rows have to do the full year
    I just refreshed the page
    Thank you for a updated formula

    You are the best

+ 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] Tote: If recogniser and cells matching change colour
    By Jones90 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-15-2018, 10:12 AM
  2. [SOLVED] Countup time and display in a cell
    By kersplash in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-19-2018, 12:51 AM
  3. 3 choices to change other cells color if matching condition
    By clpickett3 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2016, 12:51 PM
  4. Creating a countup timer
    By impala096 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2016, 10:37 AM
  5. color change for matching value cells
    By DanPop in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-18-2016, 04:44 PM
  6. [SOLVED] Countup & Display Total Value
    By gtudor in forum Excel General
    Replies: 3
    Last Post: 01-07-2015, 07:16 AM
  7. Index matching numbners to condiionally format a cells value change
    By hlb129 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-29-2014, 01:56 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