Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
NSteinner
 
Posts: n/a
Default Resetting values based on change in cells of other column

I need help with doing the following logic in my worksheet

A B C
1 1 1
1 2 2
1 3 3
2 4 1
2 5 2

I want column C to restart its incrementing whenever column switches to a
new value.


Any help would be appreciated.


  #2   Report Post  
Gary's Student
 
Posts: n/a
Default

From you example, you want column C to increment unless Column A changes

manually put 1 in C1 first

Put =IF(A2=A1,C1+1,1)
in cell C2 and copy down.
--
Gary's Student


"NSteinner" wrote:

I need help with doing the following logic in my worksheet

A B C
1 1 1
1 2 2
1 3 3
2 4 1
2 5 2

I want column C to restart its incrementing whenever column switches to a
new value.


Any help would be appreciated.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I change a cell and cause an automatic change in other cells Swissmiss Excel Worksheet Functions 2 August 12th 05 05:00 PM
Simultaneously change values in multiple cells? Jaclyn Excel Worksheet Functions 4 July 20th 05 05:24 PM
is it possible to select and change the values of cells in a minimized excel spread sheet from vba? Daniel Excel Worksheet Functions 6 July 11th 05 11:24 PM
Adding colour to a range of cells based on one of the cells v... McKenna Excel Discussion (Misc queries) 4 March 11th 05 02:25 PM
I Need to change reference sheet for all cells on a form Brent E Excel Discussion (Misc queries) 1 February 11th 05 01:36 AM


All times are GMT +1. The time now is 05:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"