+ Reply to Thread
Results 1 to 8 of 8

Count only if next cell changes its value

  1. #1
    Forum Contributor
    Join Date
    09-21-2012
    Location
    greece,athens
    MS-Off Ver
    Excel professional plus 2016
    Posts
    157

    Count only if next cell changes its value

    Good morning to all of you.
    please look at the attachment to see what ia need.
    Regards..
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Count only if next cell changes its value

    hi fulldeen, try:
    =IF(AND(D2<>D1,D1<>"Names"),F1+1,F2)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    09-21-2012
    Location
    greece,athens
    MS-Off Ver
    Excel professional plus 2016
    Posts
    157

    Re: Count only if next cell changes its value

    i get 0,0,0,0,,,, everywhere.
    could you please get a second look?
    thank you very much

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Count only if next cell changes its value

    sorry, should be:
    =IF(AND(D2<>D1,D1<>"Names"),F1+1,G1)

  5. #5
    Forum Contributor
    Join Date
    09-21-2012
    Location
    greece,athens
    MS-Off Ver
    Excel professional plus 2016
    Posts
    157

    Re: Count only if next cell changes its value

    thank you.
    Attached Files Attached Files
    Last edited by fulldeen; 10-13-2012 at 01:49 AM.

  6. #6
    Forum Contributor
    Join Date
    09-21-2012
    Location
    greece,athens
    MS-Off Ver
    Excel professional plus 2016
    Posts
    157

    Re: Count only if next cell changes its value

    thank you about the attachment.
    here it is.
    Attached Files Attached Files

  7. #7
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Count only if next cell changes its value

    ahhh nothing to do with you. dont know why i kept giving a wrong solution. here it is:
    =IF(AND(D2<>D1,D1<>"Names"),F1+1,F1)

  8. #8
    Forum Contributor
    Join Date
    09-21-2012
    Location
    greece,athens
    MS-Off Ver
    Excel professional plus 2016
    Posts
    157

    Re: Count only if next cell changes its value

    thats it.
    Many thanks to all of you

+ 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