+ Reply to Thread
Results 1 to 6 of 6

Dragging thousands of formulas

  1. #1
    Registered User
    Join Date
    02-11-2015
    Location
    denver, co
    MS-Off Ver
    2013
    Posts
    12

    Dragging thousands of formulas

    I'm so thankful for all of the help that I've received on this site. I'm hopeful that someone can figure this one out for me. I don't even know if it's possible with how it's set up in this book. I've attached a small example.

    Two sheets. I need help with the cells I colored blue in the Community List sheet.

    In All Data sheet, E:I adds up the cells to the right, by their value. E2 is a total of J2 and O2; it shows us how many 5's we got in Jan 2013.

    I need to get that data into the format on the Community List sheet. C2 on Community List is good to go. But I want to be able to drag this formula over and down, making sure that for D2 on Community List it pulls the data from All Data F2 and so on.example3.xlsx

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Dragging thousands of formulas

    You might want to change the formula in D2 of the AllData sheet to this:

    =A2&"_"&TEXT(C2,"mmm yyyy")

    (you had 5 y's). Then copy down.

    You can put this formula in C2 of the Community sheet:

    =INDEX('All Data'!E:E,MATCH($A2&"_"&SUBSTITUTE(C$1,"Total "&6-COLUMNS($C:C)&" ",""),'All Data'!$D:$D,0))

    and copy that across to I2. Then put this formula in H2:

    =INDEX('All Data'!E:E,MATCH($A2&"_"&SUBSTITUTE(H$1,"Total "&6-COLUMNS($H:H)&" ",""),'All Data'!$D:$D,0))

    and copy that across to L2.

    Then you can copy the formulae in C2:L2 down as far as you need to.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    02-11-2015
    Location
    denver, co
    MS-Off Ver
    2013
    Posts
    12

    Re: Dragging thousands of formulas

    thank you. I haven't tried this out yet because I need to change the formula for the actual book. What does the 6-columns do?

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Dragging thousands of formulas

    The SUBSTITUTE term removes Total 5 from C1, then Total 4 from D1, and so on, so you can compare the dates - by having it as "Total " & 6-COLUMNS etc., this will give you 5, 4, 3 etc. as you copy it across.

    Hope this helps.

    Pete

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Dragging thousands of formulas

    For a slightly different approach this in C2 of Community List sheet and copy across to L2.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    02-11-2015
    Location
    denver, co
    MS-Off Ver
    2013
    Posts
    12

    Re: Dragging thousands of formulas

    Thanks for both of your help. I tried both formulas and couldn't get it to work. We did get the data we needed, it just took a lot longer. Thanks for trying to help me.

+ 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] Criteria in D-Formulas: How to drag it down to use it in thousands of values
    By jcc3508 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-02-2019, 12:14 PM
  2. Excel 2007 : Dragging formulas down
    By mkmed in forum Excel General
    Replies: 8
    Last Post: 06-15-2010, 12:33 PM
  3. Macro instead of thousands of formulas
    By rhudgins in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-02-2010, 10:54 AM
  4. Dragging Formulas
    By grghhn in forum Excel General
    Replies: 2
    Last Post: 05-07-2010, 01:17 AM
  5. Adding together thousands of sets without thousands of formulas!
    By Ratiocination in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-27-2008, 10:29 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