Solved

Sumif formula

Posted on 2013-01-03
1
394 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

929 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now