+ Reply to Thread
Results 1 to 9 of 9

Fill Down formula

  1. #1
    Registered User
    Join Date
    08-17-2005
    Posts
    27

    Fill Down formula

    I'm trying to fill the same formula (links) down a column on a worksheet.
    I'm linking from the same cell from a months worth of files,only the file reference is changing as shown below.(11-1-05,11-2-05,etc..)

    Cell A1='C:\Reports\Nov\[11-1-05.xls]Production'!$Z$1
    CellA2='C:\Reports\Nov\[11-2-05.xls]Production'!$Z$1
    CellA3 ='C:\Reports\Nov\[11-3-05.xls]Production'!$Z$1

    Thanks, Greg

  2. #2
    pinmaster
    Guest
    Hi,
    Try this:
    =INDIRECT("'C:\Reports\Nov\[11-"&ROW()&"-05.xls]Production'!$Z$1")

    HTH
    JG
    Last edited by pinmaster; 10-23-2005 at 06:09 PM.

  3. #3
    Biff
    Guest

    Re: Fill Down formula Help Please

    Hi!

    The only way to do what you want requires that each of those files be open.
    You don't want all those files to be open do you?

    Biff

    "singlgl1" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I'm trying to fill the same formula (links) down a column on a
    > worksheet.
    > I'm linking from the same cell from a months worth of files,only the
    > file reference is changing as shown below.(11-1-05,11-2-05,etc..)
    >
    > Cell A1='C:\Reports\Nov\[11-1-05.xls]Production'!$Z$1
    > CellA2='C:\Reports\Nov\[11-2-05.xls]Production'!$Z$1
    > CellA3 ='C:\Reports\Nov\[11-3-05.xls]Production'!$Z$1
    >
    > Thanks, Greg
    >
    >
    > --
    > singlgl1
    > ------------------------------------------------------------------------
    > singlgl1's Profile:
    > http://www.excelforum.com/member.php...o&userid=26389
    > View this thread: http://www.excelforum.com/showthread...hreadid=478606
    >




  4. #4
    Registered User
    Join Date
    08-17-2005
    Posts
    27
    No, I can't open all of the files at once so I guess that's ruled out. I Guess I could fill down as usual, then edit each formula to reflect the file that I need referenced.I was hoping there was an easier way to accomplish this.Thanks for any help on this

  5. #5
    Ragdyer
    Guest

    Re: Fill Down formula Help Please

    The *easy* way is to use Indirect(), but that has it's shortcomings.
    You must have all WBs *open* to use the data.

    It'll take a little work in order to be able to create the formulas (links)
    necessary so that you can access the data and *not* have to have the other
    WBs *open*.
    You'll start with a Text formula so it can increment, and then convert it to
    a real formula to calculate (return data).

    Start with an out of the way "helper" column, say AA.

    Enter this formula in the row where you would like your data to start to
    display in the main portion of your sheet, say AA20:

    ="='C:\Reports\Nov\[11-"&ROW(1:1)&"-05.xls]Production'!$Z$1"

    Don't be concerned that what you see in the formula bar does *not* match
    what you see in the cell.

    Now, click the fill handle and drag down to copy as far as needed.

    You'll see that the cells display your incremented WB names.

    NOW, while all the cells are *still* selected from the copy, right click in
    the selection and choose "Copy".

    Navigate to the main portion of your sheet and *right* click in the first
    cell that you wish to use for the data display and click on "Paste Special".
    Click on "Values", then <OK>.

    AGAIN, while the cells are *still* selected from the Paste Special, click on
    <Edit> <Replace>
    And in the "Find What" box enter
    *=
    And in the "Replace With" box enter
    =
    Then click "Replace All".

    You should now have your links established where you can access your data
    from open or closed WBs, as long as you update your links whenever you open
    this main sheet.
    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------



    "singlgl1" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I'm trying to fill the same formula (links) down a column on a
    > worksheet.
    > I'm linking from the same cell from a months worth of files,only the
    > file reference is changing as shown below.(11-1-05,11-2-05,etc..)
    >
    > Cell A1='C:\Reports\Nov\[11-1-05.xls]Production'!$Z$1
    > CellA2='C:\Reports\Nov\[11-2-05.xls]Production'!$Z$1
    > CellA3 ='C:\Reports\Nov\[11-3-05.xls]Production'!$Z$1
    >
    > Thanks, Greg
    >
    >
    > --
    > singlgl1
    > ------------------------------------------------------------------------
    > singlgl1's Profile:

    http://www.excelforum.com/member.php...o&userid=26389
    > View this thread: http://www.excelforum.com/showthread...hreadid=478606
    >



  6. #6
    Registered User
    Join Date
    08-17-2005
    Posts
    27

    It worked-Like a charm

    Thanks ragdyer, your suggestion worked great!!

  7. #7
    Ragdyer
    Guest

    Re: Fill Down formula Help Please

    Appreciate the feed-back.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "singlgl1" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks ragdyer, your suggestion worked great!!
    >
    >
    > --
    > singlgl1
    > ------------------------------------------------------------------------
    > singlgl1's Profile:
    > http://www.excelforum.com/member.php...o&userid=26389
    > View this thread: http://www.excelforum.com/showthread...hreadid=478606
    >



  8. #8
    Registered User
    Join Date
    07-09-2010
    Location
    Port St. Lucie, Florida
    MS-Off Ver
    Excel 2010
    Posts
    3

    Question Re: Fill Down formula Help Please

    I want to fill this formula down in 500 other cells:

    =IF(C2=Sheet1!A2:A458,"complete","incomplete")
    but, I only want the first cell reference to change with each row:

    =IF(C2=Sheet1!A2:A458,"complete","incomplete")
    =IF(C3=Sheet1!A2:A458,"complete","incomplete")
    and so on...

    Fill down tries to do this:

    =IF(C2=Sheet1!A2:A458,"complete","incomplete")
    =IF(C3=Sheet1!A3:A459,"complete","incomplete")
    =IF(C4=Sheet1!A4:A460,"complete","incomplete")

    Fill down changes the range that I am looking in to return a value if matched (complete) or no match(incomplete). Is there a way to keep this formula from changing the range when using Fill Down, or is there a much better formula altogether?

    **edit** Here is what I am trying to accomplish:
    I have a list of employee User IDs, and I am trying to use those values to check a report that will list the employee's ID if they completed a training. In short, I want to use the Employee ID to reference a range of IDs on another sheet. If the employee ID match is found, I want the cell to say "complete". If the employee ID was not found in the range, I want the cell to say "incomplete".
    Last edited by dgentry; 07-09-2010 at 12:31 PM. Reason: explain my goal

  9. #9
    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: Fill Down formula

    Welcome to the forum.

    Please take a few minutes to read the forum rules, and then start your own thread.
    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)

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