Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default resequence with a prefix

excel 2007: have 1 col with many rows, each cell has a prefix prt:000 , need
to sequence all row in that col as prt:001,prt:002...and so on... any ideas
how?

TIA

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default resequence with a prefix

do you already have prt:001 , prt:002 ,prt:003 and you just need to
order them? If so just click the select sheet box in the upper left and
then Sort Ascending.

raulavi wrote:

excel 2007: have 1 col with many rows, each cell has a prefix prt:000 , need
to sequence all row in that col as prt:001,prt:002...and so on... any ideas
how?

TIA


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 208
Default resequence with a prefix

Try this formula:

=LEFT(A1,4)&TEXT(MID(A1,5,1000)+1,"000")

the Left (a1,4) assumes that you use the 4 character string "prt:". If
you use a longer / shorter string, just adjust the left / mid
functions accordingly.


On Aug 9, 2:38 pm, raulavi wrote:
excel 2007: have 1 col with many rows, each cell has a prefix prt:000 , need
to sequence all row in that col as prt:001,prt:002...and so on... any ideas
how?

TIA



  #4   Report Post  
Posted to microsoft.public.excel.misc
dlw dlw is offline
external usenet poster
 
Posts: 510
Default resequence with a prefix

you mean they all have prt:000, and you need them to be 001,002.etc?
in a blank row, enter prt:001, then click on that cell. Notice the "fill
handle" a black square in the lower right hand corner of the cell. click and
hold it and drag down, it will make prt:001, prt:002, etc as you go down.
Now, in another cell, concatenate that cell with the last part of the
existing cells-
=concatenate(b1,right(a1,len(a1)-7))
or something like that

"Bob I" wrote:

do you already have prt:001 , prt:002 ,prt:003 and you just need to
order them? If so just click the select sheet box in the upper left and
then Sort Ascending.

raulavi wrote:

excel 2007: have 1 col with many rows, each cell has a prefix prt:000 , need
to sequence all row in that col as prt:001,prt:002...and so on... any ideas
how?

TIA



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default resequence with a prefix

Enter
prt:001
in the first cell, say A1, then enter
prt:002 in the next cell down.

Select *both* cells,
and click on the fill handle of that 2 cell selection, and simply drag down
to copy as needed.

XL will copy and increment the data *automatically*.

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"raulavi" wrote in message
...
excel 2007: have 1 col with many rows, each cell has a prefix prt:000 ,
need
to sequence all row in that col as prt:001,prt:002...and so on... any
ideas
how?

TIA





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default resequence with a prefix

amazing...thanks to all. it works. I was breaking my hand trying ,left arrow
then number....amazed me that a mouse combination can do so much when working
on excel lol.


"raulavi" wrote:

excel 2007: have 1 col with many rows, each cell has a prefix prt:000 , need
to sequence all row in that col as prt:001,prt:002...and so on... any ideas
how?

TIA

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
Prefix and Suffix Clare Excel Discussion (Misc queries) 2 January 30th 06 07:26 PM
Resequence Columns ? Bill Martin Excel Discussion (Misc queries) 3 December 8th 05 06:34 PM
prefix a field lee Excel Discussion (Misc queries) 1 October 12th 05 08:03 PM
Prefix Big Boss Excel Worksheet Functions 4 August 11th 05 03:05 AM
+= prefix to formula JJDuffin Excel Discussion (Misc queries) 7 August 3rd 05 04:42 PM


All times are GMT +1. The time now is 03:15 PM.

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"