+ Reply to Thread
Results 1 to 7 of 7

get data from dynamic range to specific range and summing values

  1. #1
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    get data from dynamic range to specific range and summing values

    hello
    i need help to get code to transfer data from dynamic range to specific ranges i have data from a2 : e when i search in range i2 based on column b then get data to range from g5: j5 (note: it supposes when transfer data should sum column d,a into h5,i5 ) actually i get formula bu it doesn't work well
    =SUMIF(B2:B1000;I2;INDEX(D2:D1000;;MATCH(G5;C2:E2;0))) so i ask code because quick and less
    Attached Files Attached Files

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

    Re: get data from dynamic range to specific range and summing values

    F1 = balance
    f2 =D2-E2 and drag down

    After that a pivot table.

    See the attached file.
    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.

  3. #3
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: get data from dynamic range to specific range and summing values

    thanks oeldere for your assistance i know about pivot table but i prefer by code if is not possible by formula is ok

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

    Re: get data from dynamic range to specific range and summing values

    H9 =VLookup(J2,$B$2:$C$7,2,0)

    I9 =SUMIF($C$2:$C$7,$H9,D2:D7)

    J9 =SUMIF($C$2:$C$7,$H9,E2:E7)

    K9 = I9-J9

  5. #5
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: get data from dynamic range to specific range and summing values

    excuse me your ranges not as what in my file i hope apply my file i don't understand how works

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

    Re: get data from dynamic range to specific range and summing values

    See the attached file.

  7. #7
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: get data from dynamic range to specific range and summing values

    i recommend my apology about respond delaying , your formula works perfectly 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. [SOLVED] Possibility to use dynamic range while outputting range to specific columns
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-02-2019, 09:40 AM
  2. Replies: 2
    Last Post: 01-20-2017, 04:27 PM
  3. Using countifs with date range, and summing values in that range
    By bmcoonan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-30-2013, 11:28 AM
  4. [SOLVED] Dynamic Named Range Help - Range Based on Values in Column
    By Filibuster in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-03-2012, 11:13 AM
  5. Summing values based on a dynamic date range
    By welchs101 in forum Excel General
    Replies: 2
    Last Post: 09-27-2011, 07:00 PM
  6. summing specific range-how to sum with spesific range ?
    By joe23one in forum Excel General
    Replies: 0
    Last Post: 08-07-2007, 07:40 AM
  7. Summing values in a range against specific text
    By starguy in forum Excel General
    Replies: 2
    Last Post: 03-29-2006, 01:30 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