+ Reply to Thread
Results 1 to 6 of 6

Autofill number and text series

  1. #1
    Registered User
    Join Date
    11-27-2014
    Location
    US
    MS-Off Ver
    2013
    Posts
    2

    Autofill number and text series

    Hello,

    I have a folder of sound files with sequential titles: IUB 3 (1).mp3, IUB 3 (2).mp3, IUB 3 (3).mp3. This list goes to (299). I need these titles added into an Excel column as such: [sound: IUB 3 (1).mp3], [sound: IUB 3 (2).mp3], [sound: IUB 3 (3).mp3], etc. to (299). I cannot get the Autofill to complete any part of this. It won't recognize the sequential numbers in (). Any tips? Thanks!

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Autofill number and text series

    Hello,

    you could use a formula instead of auto-fill. Something along the lines of

    ="sound: IUB 3 ("&ROWS($A$1:A1)&").mp3"

    Copy down as far as required, then copy the column and use Paste Special > Values to paste only the results and remove the formulas.

    cheers, teylyn

  3. #3
    Registered User
    Join Date
    11-27-2014
    Location
    US
    MS-Off Ver
    2013
    Posts
    2

    Re: Autofill number and text series

    That's it! Thanks!

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Autofill number and text series

    If you are comfortable using CMD.exe you could go to the Command Prompt, navigate to the folder with the mp3s and enter this command

    dir *.mp3 /b>music.txt

    This will create a text file in the folder with your music that lists all the files one under the other. Import into Excel and when prompted for delimiters etc just click next and finish and you are done.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Autofill number and text series

    Another approach..

    Try the following procedure to get a list of all files from the folder:

    1. In the new workbook, press Ctrl+F3 > New. In the name box, type FL
    2. In the Refer to box, enter =FILES("C:\Folder\where\MP3 Files are\*.mp3")&T(NOW()).
    3. Click on OK and Close

    In cell A3 of sheet1, enter the following formula and copy down

    =IF(ISERROR(INDEX(FL,ROW()-2)),"",INDEX(FL,ROW()-2))

    If you add another Excel file to the Survey report folder, just press F9 anywhere on sheet1 and the file will appear in the list.

    Courtesy : Bob Umlas
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Autofill number and text series

    Right. If we're after high-end, here's another one:

    Install the Power Query add-in from Microsoft, then click the Power Query ribbon > From File > From Folder. Navigate to the folder and click OK.

    Remove the columns you don't need. Create a column that combines the file name and the text you want. Apply and close.

    Now, when the data in your folder changes, you can refresh the Power Query to reflect the current folder content.

+ 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. Autofill series on a specific number within a function
    By edilly in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2014, 04:37 AM
  2. [SOLVED] Autofill a formula with a series to start next row at the end of the previous series
    By mbkr29 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-19-2013, 01:20 PM
  3. [SOLVED] Autofill a formula with a series to start next row at the end of the previous series
    By mbkr29 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-19-2013, 11:51 AM
  4. autofill with number embedded in text
    By beckstei in forum Excel General
    Replies: 1
    Last Post: 05-25-2006, 12:30 PM
  5. Custom Autofill List - both Text and Number
    By slon in forum Excel General
    Replies: 2
    Last Post: 03-26-2005, 09:37 PM

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