+ Reply to Thread
Results 1 to 5 of 5

Need Help generating a and copying a chain of code.

  1. #1
    Registered User
    Join Date
    12-12-2013
    Location
    Boise
    MS-Off Ver
    Excel 2010
    Posts
    2

    Need Help generating a and copying a chain of code.

    Ok. So I created a formula to genterate from one program to the other. I am use to being able to click at drag the formula and have it create a new one such as 1,2,3,4,5. This formula is a little more complex and does not do that. Please help. Here is the formula.

    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]120913'!$N$6
    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]121013'!$N$6

    When I highlight and drag them I want it to create 121113,121213, and so on. It just keeps creating

    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]120913'!$N$6
    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]121013'!$N$6
    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]120913'!$N$6
    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]121013'!$N$6
    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]120913'!$N$6
    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]121013'!$N$6

    Please help. What can I do?
    Last edited by borderpc; 12-12-2013 at 01:05 PM. Reason: Because I do not know Excel lingo and got grief about it.

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

    Re: Self Taught and New Help.

    Hi

    please first adapt your title per forum rules - Thx

  3. #3
    Registered User
    Join Date
    12-12-2013
    Location
    Boise
    MS-Off Ver
    Excel 2010
    Posts
    2
    Thanks for the help

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

    Re: Need Help generating a and copying a chain of code.

    If you start in row 1 try ="'C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]12"&text(row()+8,"00")&"13'!$N$6" and drag down as needed.

    This will only work for December 2013.Do you want it to go through to 010114 etc..

    EDIT if so try ="'C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]"&TEXT(DATEVALUE("08/12/2013")+ROW(),"mmddyy")&"'!$N$6"
    Last edited by Pepe Le Mokko; 12-12-2013 at 01:27 PM. Reason: corrected formula

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Need Help generating a and copying a chain of code.

    A
    B
    C
    1
    Start date
    12/09/2013
    2
    File & sheet
    C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]
    3
    Cell
    N6
    4
    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]120913'!N6 B4: ="='" & $B$2 & TEXT(B$1+ROWS(B$4:B4)-1, "mmddyy") &"'!" & B$3
    5
    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]121013'!N6
    6
    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]121113'!N6
    7
    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]121213'!N6
    8
    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]121313'!N6
    9
    ='C:\Documents and Settings\jmor08j\Desktop\[DAILYLOGSHEETS.xlsx]121413'!N6


    The results are just text, though. Then you can copy B4:B9, paste as values, then find and replace = with =
    Entia non sunt multiplicanda sine necessitate

+ 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. Self Taught Beginner of Excel
    By Sally T. in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 05-19-2013, 12:58 AM
  2. New to the forum, Old (and self taught) to Excel
    By skiwoods in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-09-2013, 11:27 AM
  3. Self taught Excel/VBA noob
    By danmack in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-18-2012, 11:51 AM
  4. New to the Forum, Self taught on Excel
    By 1crazycajun in forum Hello..Introduce yourself
    Replies: 3
    Last Post: 08-14-2012, 09:01 PM
  5. help! very limited knowledge and only self taught
    By trentcreighton in forum Excel General
    Replies: 1
    Last Post: 03-25-2012, 02:00 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