PC Review


Reply
Thread Tools Rate Thread

Sequential Numbering

 
 
F J
Guest
Posts: n/a
 
      16th Aug 2011
Hi, I’m trying to number some Excel spreadsheets with thousands of
rows. Basically, what I’m trying to do is get the numbering to
increase by one every time the first part of the data (the first 10
characters) in column B changes. The numbers after the decimal point
in column B don’t matter as far as the sequential numbering in column
A is concerned. This is how I would like the numbering to look:

Column A Column B
1 AB00015365.001
2 AB00095763.002
3 AB00037241.003
AB00037241.004
AB00037241.005
AB00037241.006
4 AB00028195.007
AB00028195.008
5 AB00036378.009
6 AB00063493.010

I’ve been trying different formulas using various combinations of IF,
COUNTIF, and LEFT but so far I haven’t been successful. Can this even
be done with a formula? Thanks in advance for any help or
information.
 
Reply With Quote
 
 
 
 
DanielCo
Guest
Posts: n/a
 
      16th Aug 2011
HI,
A1 : 1
A2 : =IF(LEFT(B2,10)<>LEFT(B1,10),MAX($A$1:A1)+1,"")
Copy downwards.
Daniel


> Hi, I’m trying to number some Excel spreadsheets with thousands of
> rows. Basically, what I’m trying to do is get the numbering to
> increase by one every time the first part of the data (the first 10
> characters) in column B changes. The numbers after the decimal point
> in column B don’t matter as far as the sequential numbering in column
> A is concerned. This is how I would like the numbering to look:
>
> Column A Column B
> 1 AB00015365.001
> 2 AB00095763.002
> 3 AB00037241.003
> AB00037241.004
> AB00037241.005
> AB00037241.006
> 4 AB00028195.007
> AB00028195.008
> 5 AB00036378.009
> 6 AB00063493.010
>
> I’ve been trying different formulas using various combinations of IF,
> COUNTIF, and LEFT but so far I haven’t been successful. Can this even
> be done with a formula? Thanks in advance for any help or
> information.



 
Reply With Quote
 
 
 
 
F J
Guest
Posts: n/a
 
      16th Aug 2011
Hi, Daniel, thank you so much for your response. I just tried your
formula and it works great! Thanks again!


On Aug 16, 4:08*am, DanielCo <dcolardelle...@free.fr> wrote:
> HI,
> A1 : 1
> A2 : =IF(LEFT(B2,10)<>LEFT(B1,10),MAX($A$1:A1)+1,"")
> Copy downwards.
> Daniel
>
>
>
>
>
>
>
> > Hi, I’m trying to number some Excel spreadsheets with thousands of
> > rows. *Basically, what I’m trying to do is get the numbering to
> > increase by one every time the first part of the data (the first 10
> > characters) in column B changes. *The numbers after the decimal point
> > in column B don’t matter as far as the sequential numbering in column
> > A is concerned. *This is how I would like the numbering to look:

>
> > Column A * * * * * * Column B
> > 1 * * * * * * * * * * * * AB00015365.001
> > 2 * * * * * * * * * * * * AB00095763.002
> > 3 * * * * * * * * * * * * AB00037241.003
> > * * * * * * * * * * * * * *AB00037241.004
> > * * * * * * * * * * * * * *AB00037241.005
> > * * * * * * * * * * * * * *AB00037241.006
> > 4 * * * * * * * * * * * * AB00028195.007
> > * * * * * * * * * * * * * *AB00028195.008
> > 5 * * * * * * * * * * * * AB00036378.009
> > 6 * * * * * * * * * * * * AB00063493.010

>
> > I’ve been trying different formulas using various combinations of IF,
> > COUNTIF, and LEFT but so far I haven’t been successful. *Can this even
> > be done with a formula? *Thanks in advance for any help or
> > information.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grouping Periods Of Dates - Sequential and Non-Sequential MSC Microsoft Access Queries 6 6th Aug 2009 10:40 AM
PO with sequential numbering with start / end numbering stevefrancis@portsmouthcomms.co.uk Microsoft Excel Misc 1 24th Apr 2007 03:38 PM
Non-sequential VLOOKUP function -OR- sequential sort of web query =?Utf-8?B?RXJpYyBT?= Microsoft Excel Worksheet Functions 1 28th Feb 2005 08:50 PM
Sequential names on Sequential pages =?Utf-8?B?U2FsdDQ=?= Microsoft Excel Worksheet Functions 2 12th Nov 2004 05:24 PM
Automatic sequential numbering kisssy Microsoft Outlook 3 24th Feb 2004 07:50 AM


Features
 

Advertising
 

Newsgroups
 


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