Hi,
Please see the attached file - is there any way I can count the number of times the values in column B change one from part number to another?
Thank you for your help.
Hi,
Please see the attached file - is there any way I can count the number of times the values in column B change one from part number to another?
Thank you for your help.
Hi tavlrb,
Just to clarify, your question is on how to count the unique values in column B?
Regards,
Batman
Simply hit the star button to say THANK YOU.
Sorry for the lack of clarity - what I'm looking for is a way to analyze each cell one-by-one starting with B1 all the way to B813 and count the number of times the values (part numbers) change. For example there are five "change overs" between B1 and B20.
Hope that I catch it right. See attachment for the solution.
I just used if and sum function.
Hi Everyone,
can someone please advise how I can apply the below code to entire column Z and column AB?
Private Sub Worksheet_Change(ByVal Target As Range)
'// Changed cell is Z6?? Change to suit
'// Note now Z6 is tracked...
If Not Intersect(Target, Range("Z6")) Is Nothing Then
'// Increment tracker cell- Again, change to suit
Range("AB6").Value = Range("AB6").Value + 1
End If
End Sub
thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks