Excel SUMIF With Dynamic Sum Range

preview_player
Показать описание

Yet another SQA lecture :)

What we have is a data set that is laid out in an unusual way...usually dates will go top to bottom, but in this instance they go across the top!

This means that a regular SUMIFS isn't possible, as the two things we're checking for (job and date) are in different axes, so we're going to need to work out a way of capturing a dynamic SUM range...

First up, we're going to use a MATCH to find which column our date appears in. With that found, we can now use an OFFSET from column A to the number of columns over that date appears in, which will be the result of the MATCH -1.

Now we can write our SUMIFS..the job is straight forward enough, but the we will incorporate out MATCH / OFFSET result to workout dynamically which column to use for the date criteria.

It's easy when you see it!

This is a sample lecture from my course, Microsoft Excel Essentials: Level 2 - Intermediate/Advanced.

Get this course now!

Level 1: Microsoft Excel Essentials: Level 1 Basics - Excel Made Easy
The complete 4 hour course is yours for a low cost monthly subscription (first 2 months free!):

Level 2: Microsoft Excel Essentials: Level 2 - Intermediate/Advanced
The complete 9 hour course is yours for a low cost monthly subscription (first 2 months free!):

Level 3: Microsoft Excel Essentials: Level 3 - VBA Programming + Macros

Alternatively, you can purchase the complete set in...
Excel Essentials: The Complete Excel Series - Level 1, 2 & 3

The WHOLE 27.5 Hour Excel Mastery Series In One! From Excel Novice To VBA Programmer...
Available to buy with lifetime access for just $16.99 (normally $200) here:

This course is for suitable Excel 2007, Excel 2010, Excel 2013, 2016, 2019 & 365

Videos in the Level 1 series:

Videos in the Level 2 series:

Videos in the Level 3 series:
Рекомендации по теме
Комментарии
Автор

This solved my 3 hour formula headache! Thanks Alan for the great video

ccba
Автор

What a well presented lesson! Successfully explain various hard to understand concepts in 6 minutes.

kendrewt
Автор

This is exactly what I need! Thank you very much for posting this. More power to you guys!

colin
Автор

Absolutely love this video and how clearly things have been explained. Keep it up Alan!

dhruv
Автор

I kept getting #SPILL errors when adding the offset portion of the formula

bonzinho
Автор

Worked amazing! Saved a lot of time, thanks

sahilpatni
Автор

Thanks very useful information you shared

shelendravijayvargiya
Автор

Thanks great help. Can the offset be added to a SUMIFS as well as a SUMIF?

sambaker
Автор

thank you so much for this great video....however, my problem is using this formula on a google sheet in which forms add data upon Submission. Is there a way to do so?

cabinetix
Автор

Thanks ton. I also need to make the criteria range in the sumif function a dynamic range... how do I do that ?

raturatu
Автор

hello is there away to sum live data coming in to one cell another word i want the sum of live data and only if the live data above 500 to give me the sum total of the above 500 live data coming in

afifmalhas