+ Reply to Thread
Results 1 to 13 of 13

Automatic Sequencing

Hybrid View

pauldaddyadams Automatic Sequencing 10-22-2014, 04:50 AM
Fotis1991 Re: Automatic Sequencing 10-22-2014, 05:29 AM
pauldaddyadams Re: Automatic Sequencing 10-22-2014, 05:43 AM
Fotis1991 Re: Automatic Sequencing 10-22-2014, 05:51 AM
pauldaddyadams Re: Automatic Sequencing 10-22-2014, 05:55 AM
Pete_UK Re: Automatic Sequencing 10-22-2014, 06:00 AM
pauldaddyadams Re: Automatic Sequencing 10-22-2014, 05:59 AM
Fotis1991 Re: Automatic Sequencing 10-22-2014, 06:03 AM
pauldaddyadams Re: Automatic Sequencing 10-22-2014, 06:08 AM
Fotis1991 Re: Automatic Sequencing 10-22-2014, 06:27 AM
pauldaddyadams Re: Automatic Sequencing 10-22-2014, 08:10 AM
romperstomper Re: Automatic Sequencing 10-22-2014, 08:26 AM
pauldaddyadams Re: Automatic Sequencing 10-22-2014, 08:31 AM
  1. #1
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Automatic Sequencing

    Hi,

    I wonder if anyone can help with a couple of formulas.

    Formula 1

    I have a formula:
    =IF(COUNTIF($F$5:F6,F6)=1,MAX($E$4:E5)+1,"")

    Which adds one to a cell if the name is unique. This currently works but I need it to display “NW 1”, “NW 2” etc etc

    Formula 2

    I would like a formula which automates the Contract number based on the Contract Name, again it needs to add 1 like in the sample.

    Can anyone help please?
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Automatic Sequencing

    Hi

    As an idea using 2 helper & hidden columns.

    Formula: copy to clipboard
    ="NM"&" "&G6


    Formula: copy to clipboard
    =IF(COUNTIF($D$6:D6;D6)=1;H5+1;H5)


    Formula: copy to clipboard
    ="1.005000."&H6
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Re: Automatic Sequencing

    Hi,

    Thanks Fotis, its so close. In column B I need it to also display the zero e.g. currently its .1 and I need .01

    Can this be achieved?

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Automatic Sequencing

    Yes. In B6 and copy down use this.

    Formula: copy to clipboard
    ="1.005000."&TEXT(H6,"##.#00 _€;-##.#00,00 _€")
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Re: Automatic Sequencing

    Hi That didnt work

    In B6 the new formula returns 1.005000.1.00 but I need 1.005000.01

    Any ideas?

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,423

    Re: Automatic Sequencing

    You can apply a custom format to the cells E6:E16, of

    "NM "0

    which will give you an appearance of NM 1, NM 2 etc. with your existing formula.

    Hope this helps.

    Pete

  7. #7
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Re: Automatic Sequencing

    It would only need to put in this zero if the last digit is less than .10 otherwise it works

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Automatic Sequencing

    Should be a local settings issue then.

    In workbook that i uploaded everything works fine for me! Doesn't for you??

    What's if you try in B6?

    Formula: copy to clipboard
    ="1.005000."&TEXT(H6,"##.#00" )

  9. #9
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Re: Automatic Sequencing

    Hi, that didnt work either.

    I got around it with

    =IF(H6<10,"1.005000."&TEXT(H6,"0##"),"1.005000."&TEXT(H6,"##"))

    Im unsure if this is the best way?
    Attached Files Attached Files

  10. #10
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Automatic Sequencing

    Your attachment is without my formulas so i am not able to test it, BUT i upload again my file. In columnA i have (using copy>paste special>only values) the results that i get in column B using my suggested formula.

    Don't you get the same results?
    Attached Files Attached Files

  11. #11
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Re: Automatic Sequencing

    Strangly I dont, I get these:
    1.005000.1.00
    1.005000.2.00
    1.005000.2.00
    1.005000.2.00
    1.005000.2.00
    1.005000.3.00
    1.005000.4.00
    1.005000.5.00
    1.005000.6.00
    1.005000.7.00
    1.005000.8.00

  12. #12
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,998

    Re: Automatic Sequencing

    Small tweak:

    ="1.005000."&TEXT(H7,"00" )
    Everyone who confuses correlation and causation ends up dead.

  13. #13
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Re: Automatic Sequencing

    Ah! That did it!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Row Sequencing
    By Mark in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  2. Row Sequencing
    By Mark in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  3. [SOLVED] Row Sequencing
    By Mark in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 PM
  4. [SOLVED] Row Sequencing
    By Mark in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] Row Sequencing
    By Mark in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1