+ Reply to Thread
Results 1 to 4 of 4

Increase number in text format for each row

Hybrid View

  1. #1
    Registered User
    Join Date
    12-06-2013
    Location
    Swe
    MS-Off Ver
    Excel 2007
    Posts
    26

    Increase number in text format for each row

    I´m struggling with something here that makes me dizzy... =/

    I want to fetch data from one sheet called 'Index Series' and take a value from cell A1 and put together with
    an increasing number starting from 0000001 that is in B1 in the same sheet.

    The result would be 'test0000001' when values are cell A1 = 'test' cell B1 = '0000001'. 'Cell0000001'.

    Now I want to put them in 'Sheet1' in cell A2 BUT i want to increase 00000001 by 1 for each row being 00000002 on the second and so on.
    I want to keep the value from cell A1 though so 'test' would never change unless i do it manually.

    Also if cell cell B2 in 'Sheet1' is empty i don't want anything at all. Just empty.

    I started with something like this: (doesnt work)

    =IF(B2=0;"";'Index Series'!A1&""&'Index Series'!B1)
    But that only gives me first row... =(

    I don't want to fill index series in 'Index Series' by dragging down the value row by row so the series fill up.
    Want to keep the file as small as possible.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,610

    Re: Increase number in text format for each row

    Perhaps
    ='Index Series'!$A$1&text(row(),"0000000")
    and pull down as needed

  3. #3
    Registered User
    Join Date
    12-06-2013
    Location
    Swe
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Increase number in text format for each row

    Thanks, works like a charm though i need it to start at row 3. Now first index number is 0000003.

  4. #4
    Registered User
    Join Date
    12-06-2013
    Location
    Swe
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Increase number in text format for each row

    Never mind my stupid head I just had to add the A1 so it starts from there......

    Thank you Pepe!

+ 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. Convert date and time in serial number format to text format
    By nda13112 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-11-2013, 02:45 PM
  2. Changing numbers from text format to number format
    By garden_gnome in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-09-2012, 12:48 PM
  3. Dynamic increase of rows according to the size as well format of the text
    By jitenderaswal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-21-2010, 01:03 AM
  4. [SOLVED] How to increase number of "conditional format"
    By crapit in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-04-2009, 02:03 AM
  5. Convert numbers from text format to number format
    By merlin68 in forum Excel General
    Replies: 4
    Last Post: 04-12-2005, 09:06 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