Solved

Sumif formula

Posted on 2013-01-03
1
396 Views
Last Modified: 2013-01-03
Hi,

this is my current formula:
=SUMIFS($D$3:$D$1650,$B$3:$B$1650,$B1657,$A$3:$A$1650,"test")

I need to add column C to the above formula. Column C has dates information in the following format: 2012 WEEK 49, starting from 2012 WEEK 1. I need to sum the values in the following range: 2012 week 44 trhough 2012 week 50.


thank you!
0
Comment
Question by:Ladkisson
1 Comment
 
LVL 23

Accepted Solution

by:
NBVC earned 400 total points
ID: 38741887
I think you need to use SUMPRODUCT() here... or extract last digits to new columns and use SUMIFS on with that column:

=SUMPRODUCT($D$3:$D$1650,($B$3:$B$1650=$B1657)*($A$3:$A$1650="test")*(RIGHT("00"&$C$3:$C$1650,2)+0>=44)*(RIGHT("00"&$C$3:$C$1650,2)+0<=50))


or in a new column:

=RIGHT("00"&$C3)+0

copied down

Then

=SUMIFS($D$3:$D$1650,$B$3:$B$1650,$B1657,$A$3:$A$1650,"test",$E$3:$E$1650,">=44",$E$3:$E$1650,"<=50")

where E is the helper column...
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question