Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-05-2010, 11:47 PM
FraserKitchell FraserKitchell is offline Help needed using the serial number date with sumifs - whole office is stumped Windows XP Help needed using the serial number date with sumifs - whole office is stumped Office 2007
Novice
Help needed using the serial number date with sumifs - whole office is stumped
 
Join Date: Dec 2009
Posts: 21
FraserKitchell is on a distinguished road
Default Help needed using the serial number date with sumifs - whole office is stumped

Hi all,

I've got a question thats been stumping all of us around the office for a few days now and it seems simple enough but we just can't get at the formula. Basically, I want to create a formula that looks something like this:

=SUMIF($A$12:$A$200, ">=B2", $B$12:$B$200)-SUMIF($A$12:$A$200, ">C2", $B$12:$B$200)



Where B2 and C2 are both dates driven off of a cell. The problem is, I cant this darn sumif to understand that these are dates unless I hard type them into the formula for each cell. I have tried changing the formatting of the cells, tried them as text, and as a serial number date, etc, but nothing seems to work. From what I can gather from this forum, I am beginning to wonder if Sumif is even the correct formula or if a sumproduct or something would be better.

I've attached a spreadsheet with some real data in it if you'd like to take a look.

Thanks! My office eagerly awaits the answer
Attached Files
File Type: xls Internet Example.xls (24.0 KB, 15 views)
Reply With Quote
  #2  
Old 01-06-2010, 10:22 AM
mcjohn mcjohn is offline Help needed using the serial number date with sumifs - whole office is stumped Windows Vista Help needed using the serial number date with sumifs - whole office is stumped Office 2007
Novice
 
Join Date: Jan 2010
Posts: 15
mcjohn is on a distinguished road
Default

I believe this will work for you. I had fun wasting time at work trying to solve this lol. There's also ways to filter out specific data if say you had an additional column for types of hdd or something and wanted to know how many of those between a given range.
Attached Files
File Type: xls Internet Example_solved_2003.xls (26.5 KB, 15 views)
Reply With Quote
  #3  
Old 01-06-2010, 10:44 AM
mcjohn mcjohn is offline Help needed using the serial number date with sumifs - whole office is stumped Windows Vista Help needed using the serial number date with sumifs - whole office is stumped Office 2007
Novice
 
Join Date: Jan 2010
Posts: 15
mcjohn is on a distinguished road
Default

I'm sure this is obvious, but here's the file showing how the formula can be applied to different date ranges. I prefer personally to use named ranges for large data as it manages it easier and is clearer to people when looking at the formula what is is being done. As an example I named the range of dates (to dates) from the first date all the way down randomly to the 1372 row and same for the hdd (named hdd). So any new dates and hdd values put in below your set provided will be within the range. You could name it for hundredes of thousands of cells if you want. Do you understand naming ranges? Let me know.
Attached Files
File Type: xls Internet Example_solved_2003.xls (26.5 KB, 15 views)
Reply With Quote
  #4  
Old 01-06-2010, 12:24 PM
FraserKitchell FraserKitchell is offline Help needed using the serial number date with sumifs - whole office is stumped Windows XP Help needed using the serial number date with sumifs - whole office is stumped Office 2007
Novice
Help needed using the serial number date with sumifs - whole office is stumped
 
Join Date: Dec 2009
Posts: 21
FraserKitchell is on a distinguished road
Default

Right on! I dabbled in the SUMIFS but couldnt get them to work like you did. I appreciate the time spent at work figuring this out! gotta love getting paid to practice your excel skillz.
Reply With Quote
Reply

Tags
dates, sumif

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed using the serial number date with sumifs - whole office is stumped help needed!!! thunder14 Word 1 10-17-2009 02:57 PM
Help needed using the serial number date with sumifs - whole office is stumped Syntax help needed blazzercat Excel 3 07-09-2009 02:15 PM
Help needed using the serial number date with sumifs - whole office is stumped Help needed :) thechief55 PowerPoint 1 04-28-2009 01:25 PM
new appointment date always reverts back to today's date msills Outlook 0 08-24-2007 08:57 AM
Help needed using the serial number date with sumifs - whole office is stumped Imported message date change to today's date promark Outlook 1 12-23-2005 07:21 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:40 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft