Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I do not know if this is even possible, but this is an example of what
I am starting with and what I would like it to become. Sheet has two columns and would like to add to the invoice number an incremental alphabet number when the order number changes - but if the invoice number changes - the alpha number also has to start again. The "I would like it to become" column can be in a separate column. I can always concatenate or delete info to get final result if I can just get the - alpha character somewhere. order invoice I would like it to become........ 449 12000 12000 - A 510 12000 12000 - B 510 12000 12000 - B these stay the same because order number did not change 510 12000 12000 - B these stay the same because order number did not change 535 12001 12001 - A 535 12001 12001 - A these stay the same because order number did not change 540 12001 12001 - B 544 12001 12001 - C I hope this makes sense and If anyone has any ideas I would love to hear them. Thanks ahead of time. Jen |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Jen,
Am Thu, 3 May 2012 09:28:58 -0700 (PDT) schrieb JenIT: order invoice I would like it to become........ 449 12000 12000 - A 510 12000 12000 - B 510 12000 12000 - B these stay the same because order number did not change 510 12000 12000 - B these stay the same because order number did not change 535 12001 12001 - A 535 12001 12001 - A these stay the same because order number did not change 540 12001 12001 - B 544 12001 12001 - C order in column A and invoice in column B then in C2: =B2&" - A" in C3: =IF(A3&B3=A2&B2,C2,IF(AND(A3<A2,B3=B2),B3&" - "&CHAR(CODE(RIGHT(C2,1))+1),B3&" - A")) and fill down Regards Claus Busch -- Win XP PRof SP2 / Vista Ultimate SP2 Office 2003 SP2 /2007 Ultimate SP2 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Claus - YOU ROCK!!!!!! Perfect!!! Have a great day!
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change first character in a cell | Excel Discussion (Misc queries) | |||
How to make spinbox in 0.1 incremental change? | Excel Discussion (Misc queries) | |||
Spinner Button - Incremental Change | Excel Discussion (Misc queries) | |||
scroll bar incremental change size | Excel Programming | |||
Change Event.....Cell character count | Excel Programming |