+ Reply to Thread
Results 1 to 14 of 14

Fill series in formula

  1. #1
    Registered User
    Join Date
    11-26-2015
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    2007
    Posts
    7

    Fill series in formula

    Hello,

    I'm trying to create a simple client database in excel. It gathers its data automatically from the invoices (also excel files).
    excel.png
    As you can see in the formula line, the data comes from another excel file.
    Now I want to use the fill handle and pull the formula down, so that the invoice no. (Factuurnummer) corresponds to the number on the left, like it is in A3 and B3. So that B4 will be: ='C:\Users\Garage\Dropbox\ARA\[Factuur2015110002.xlsx]Blad1'!$C$7
    I've tried a few things already, inserting [Factuurnummer " & A3 & ".xlsx] seems not to be working. Of course i could do this all manually but I think there is a way to use the fill handle. Anyone has an idea?

    Thanks in advance!

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help needed; Fill series in formula.

    an idea:
    list of workbooks (or paths), e.g.
    Factuur2015110001.xlsx
    Factuur2015110002.xlsx
    Factuur2015110003.xlsx
    and INDIRECT()
    Last edited by sandy666; 11-26-2015 at 11:48 AM.

  3. #3
    Registered User
    Join Date
    11-26-2015
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    2007
    Posts
    7

    Re: Help needed; Fill series in formula.

    Yes I know INDIRECT, but that only works if all the workbooks are opened.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help needed; Fill series in formula.


  5. #5
    Registered User
    Join Date
    11-26-2015
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    2007
    Posts
    7

    Re: Help needed; Fill series in formula.

    I couldn't make it work with INDEX/INDIRECT

    However i've managed to create this:
    excel3.png
    So now it just returns the correct path, but i can't make the reference work. Whenever I remove the first =", I get a reference error.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help needed; Fill series in formula.

    picture is not clickable so......

  7. #7
    Registered User
    Join Date
    11-26-2015
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    2007
    Posts
    7

    Re: Help needed; Fill series in formula.

    I'm not sure what you mean/want?

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help needed; Fill series in formula.

    the best way is upload example workbook (.xlsx file) without any top secret data

    try adapt this example:
    INDEX('path[name_of_file]name_of_sheet'!An:En,SMALL(IF('path[name_of_file]name_of_sheet'!An:An&'path[name_of_file]name_of_sheet'!$Dn:Dn=An&Dn,ROW('path[name_of_file]name_of_sheet'!An:An)),ROW()-1),5)
    Last edited by sandy666; 11-27-2015 at 09:23 AM.

  9. #9
    Registered User
    Join Date
    11-26-2015
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    2007
    Posts
    7

    Re: Help needed; Fill series in formula.

    clientdatabase.xlsx
    I've uploaded the workbook where i made the autofill work, but now it is just showing the path where the file is located, not the value i refer to.

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help needed; Fill series in formula.

    I have no "golden advice". Example index from above is working for me (with CSE) with opened or closed workbooks.

  11. #11
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help needed; Fill series in formula.

    a3 in your file is ="C:\Users\Garage\Dropbox\ARA\[Factuur"&A3&".xlsx]Blad1'!$C$7"

    And what if you change it in =C:\Users\Garage\Dropbox\ARA\[Factuur"&A3&".xlsx]Blad1'!$C$7

    Remove the " at the begin and end of the cell.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  12. #12
    Registered User
    Join Date
    11-26-2015
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    2007
    Posts
    7

    Re: Help needed; Fill series in formula.

    Than it says that the formula contains an error.

  13. #13
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Fill series in formula

    which error?

  14. #14
    Registered User
    Join Date
    11-26-2015
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    2007
    Posts
    7

    Re: Fill series in formula

    It doesn't say, only that it contains an error and i can visit the help section to see frequent errors.

+ 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] auto fill in a formula series
    By gvmsia in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-18-2014, 04:18 PM
  2. Fill series with formula
    By wjb1976 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-03-2014, 05:39 PM
  3. [SOLVED] Formula Fill Series
    By yeninsoutheast in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 01-07-2014, 04:16 AM
  4. auto fill series number formula
    By corescript in forum Excel General
    Replies: 2
    Last Post: 09-23-2012, 05:57 AM
  5. Number series fill down within a formula
    By jhc8255 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-12-2010, 09:54 PM
  6. Fill formula series using VBA
    By shrujan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-20-2009, 03:29 AM
  7. [SOLVED] Create a formula to fill in a date series without using
    By John in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-25-2005, 01:05 PM
  8. [SOLVED] Can I use AutoFill or a formula to fill a series of letters?
    By tadpgk835 in forum Excel General
    Replies: 3
    Last Post: 04-28-2005, 10: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