+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Drag Formula Down Entire Column

  1. #1
    Registered User
    Join Date
    06-11-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    46

    Drag Formula Down Entire Column

    Hello, everybody. Here is my conundrum:

    I have this lovely formula that chooses the highest value in cells G, H, and I, populates cell E with them, and adds an additional 183 to the value. It's simple and works beautifully. Except that it adds over one million rows to my sheet (it adds the value "183" to all the blank Column E cells at the end of the report).

    Please Login or Register  to view this content.
    I was hoping to drag the formula down to the last used cell in Column E, because it would run faster than an array. I just don't know how. This code will be used for multiple reports, so the number of rows will differ on the day to day. Blank cells in Column E, in the middle of the report, are never an issue (there is always a value pulled from G, H, or I). It's the 1 million blank cells at the bottom that are slowing things down.

    Can anybody help me achieve this?

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Drag Formula Down Entire Column

    With column E empty, try this:
    Please Login or Register  to view this content.
    Note that the address is the entire column E. Put some values in the first few cells of E and run it again.
    You need to determine how many rows are used first:
    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    06-11-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Drag Formula Down Entire Column

    Thanks, Ben.

    This variation also worked:

    Please Login or Register  to view this content.

+ 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