+ Reply to Thread
Results 1 to 3 of 3

Fill function

  1. #1
    Forum Contributor
    Join Date
    03-05-2015
    Location
    norwich
    MS-Off Ver
    365
    Posts
    107

    Fill function

    Hey guys,

    I have 3 columns. A and B contain data and they go to about row 40,000. Column C contains the formula

    A B correlation coefficient
    -5.86603E-05 -0.000100231 0.704674723
    -1.05436E-05 -2.15795E-05 0.756371125
    4.63519E-07 -1.60549E-05 0.802302214
    -5.53306E-06 -2.32108E-05 0.841670011
    -4.74393E-06 -2.16407E-05 0.873679808
    -6.32212E-06 -2.21338E-05 0.897609191
    2.38413E-06 -9.34249E-06 0.912849595
    2.42768E-05 2.88144E-05 0.91889318
    2.85189E-05 4.72981E-05 0.915369812
    2.64054E-05 4.24488E-05 0.902173589
    3.65818E-05 5.96418E-05 0.8793864
    3.97801E-05 7.1664E-05 0.847304912
    4.36574E-05 7.62719E-05 0.806428796

    Column C contains the formula:

    =CORREL(A4:A40576,B4:B40576)

    I want this formula to fill down but in a way I'm not sure is possible on excel with the usual methods. Manually I can do this but obviously this isn't a viable solution. The manual method is (starting on row number 4):

    Row 4: =CORREL($A$4:A40576,B4:$B$40576)
    Row 5: =CORREL($A$4:A40575,B5:$B$40576)
    Row 6: =CORREL($A$4:A40574,B6:$B$40576)
    Row 7: =CORREL($A$4:A40573,B7:$B$40576)
    Row 8: =CORREL($A$4:A40572,B8:$B$40576)

    As you can see:
    $A$4 is locked so stays the same - this is what I want
    $B$40576 is locked so stays the same - this is what I want
    B4 becomes B5,B6,B7,B8 - this is also what I want

    The problem is A40576 becoming A40575, A40574, A40573, A40572. I want this number to become smaller each time like the example above. When I fill though it will always increase. Is there anyway around this!? There is absolutely noway to manually enter all this data!!

    Thank you for any help
    Sean

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Fill function

    In C4 (I'm assuming where your first Column C formula starts), try this:

    Please Login or Register  to view this content.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Forum Contributor
    Join Date
    03-05-2015
    Location
    norwich
    MS-Off Ver
    365
    Posts
    107

    Re: Fill function

    Oh my gawdddddd!!!!!! You're a genius! Thank you so much

+ 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. Fill/drag feature as an Excel function? Or, a *relative* "=" function?
    By milky1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-15-2011, 03:51 PM
  2. fill function problem
    By beans in forum Excel General
    Replies: 4
    Last Post: 08-21-2008, 04:54 PM
  3. Fill in function
    By Weasel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2008, 07:27 PM
  4. 'Fill' Function
    By Novell in forum Excel General
    Replies: 3
    Last Post: 03-23-2007, 07:14 PM
  5. Replies: 1
    Last Post: 09-17-2005, 10:05 AM

Tags for this Thread

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