+ Reply to Thread
Results 1 to 4 of 4

SUMIF Dynamic Range

  1. #1
    Registered User
    Join Date
    07-18-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    88

    Exclamation SUMIF Dynamic Range

    Hi,

    I need to compare current year data with last year's data e.g. if it's week 27, I will have all of 2013 week 1 - 27 data, but I have data for weeks 1 - 52 for 2012 and thus I need to SUMIF the same amount of weeks according to a cell which states the current week. I have a SUMIF formula that uses the concatenation of Country¦Client¦Year¦Week and so I need it to vary depending on the current week selected. I think I need to create a dynamic range but I'm not too sure?

    Any help would be much appreciated!

    Thanks

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: SUMIF Dynamic Range

    Can you post a sample worksheet so we can tell how your data is arranged? (Row or Column Headers)

  3. #3
    Registered User
    Join Date
    07-18-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: SUMIF Dynamic Range

    Here you go, thanks!:
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: SUMIF Dynamic Range

    Hi M1234,

    I'm attaching what I think is what you need...

    Notice in the highlighted section that I added some extra data and the formulas (SUMIFS) to get what you need...

    Also notice that I didn't use the CODE column anymore...

    Hope this helps... let me know if you have any questions...

    Dennis
    Attached Files Attached Files

+ 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. How should I make a SUMIF w/ dynamic range?
    By jwright650 in forum Excel General
    Replies: 8
    Last Post: 03-21-2014, 06:29 AM
  2. sumif with dynamic value range
    By vinayakg in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-19-2013, 09:08 AM
  3. [SOLVED] SumIF applied to a dynamic range
    By timtim89 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-24-2013, 11:56 AM
  4. VBA SUMIF in Dynamic Range
    By Cowzilla in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2012, 05:28 PM
  5. Sumif for dynamic range
    By Praneetbvb in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-02-2012, 07:14 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