+ Reply to Thread
Results 1 to 4 of 4

Filling down formulas

  1. #1
    Registered User
    Join Date
    02-02-2010
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2016
    Posts
    48

    Filling down formulas

    I need to 'fill down' a series of formulas in several columns - but the number of rows I need to fill down will vary dependent on my raw data.

    See attached file.

    Worksheet 1 - contains the raw data which is copied and pasted in from an external source. In this example, there are 20 records.

    Worksheet 2 - brings in the raw data from worksheet 1 and does some calculations. The formulas are in the first 30 rows - in case the number of records grow. But what happens if the number of records is, say, 40?

    I have a much bigger workbook in reality - so having too many formulas will increase the file size.

    Can anyone please suggest a better way? Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Filling down formulas

    I don't believe that using these simple formulas you'll have speed problem. I believe that you are in the right road.

    Only suggestion could be to don't use whole columns references but be more specific. Something like this(for column D-same for the others)

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Filling down formulas

    hi there. how big is much bigger? there's no doubt the file size will increase, but it shouldn't be a big problem. and it seems like you just want everything from Raw Data + an additional column. why not just copy everything over to a new sheet if you must. then column D is a simple:
    =B2*C2

    you can use Pivot Table, but it's going to increase your file size too (maybe even more). but it definitely processes faster than formulas if you have a huge workbook. after doing a Pivot, use calculated fields for the Pay. and to ensure your new data gets captured the next time you refresh, convert your raw data to a Table first by doing a CTRL + T on cell A1.

    go to Insert -> Pivot Table. put all data in Row Labels. go to Design -> Report Layout -> Tabular. right-click on the subtotals you don't want & uncheck the Subtotal. go to Options -> Fields, Items & Sets -> Calculated Field. Name it Pay. Formula:
    ='Hours worked'* 'Hourly rate'

    Simple example.xlsx

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    02-02-2010
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2016
    Posts
    48

    Re: Filling down formulas

    Thanks for your suggestions Fotis1991 and benishiryo.

    My workbook actually takes data from two separate worksheets and uses several formulas - mainly lookup formulas like INDEX and MATCH. I am trying to match customers in two different databases and there is no key field! There are around 3,000 records in each database and this will grow to 5,000.

    I often find myself having to fill down formulas and using if(x="","",etc) to suppress results for unpopulated records. I just thought there might be a better way

+ 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. Filling in Formulas
    By datkins in forum Excel General
    Replies: 7
    Last Post: 06-28-2018, 02:07 PM
  2. Filling Down Formulas
    By src16 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2013, 04:43 PM
  3. Replies: 2
    Last Post: 01-06-2013, 05:50 AM
  4. Filling down array formulas
    By tomlancaster in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-01-2009, 07:22 AM
  5. Auto filling formulas?
    By foreverloved in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-29-2006, 02:34 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