![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Posts: 76
|
Is it possible to do a SUMIF formula based on two criterias? Basically what I have is a sheet with three columns - ID (Column A), Date (Column B) and Amount (Column C)
What I need to find is how much a certain user took on a certain day, so basically add together all the amount entries taken by ID number 2222 on the 28/04/02. Is this possible? Janie xx [ This Message was edited by: buntykins on 2002-04-29 07:29 ] |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Chicago, IL USA
Posts: 2,042
|
Quote:
should work for you. Adjust your ranges as necessary. Bye, Jay |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Posts: 76
|
Hi,
Sort of works, except that the place that the formula is going is a separate sheet and because of this it doesnt seem to work. Any idea on how I could fix this? [ This Message was edited by: buntykins on 2002-04-29 07:51 ] |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Apr 2002
Posts: 76
|
Maybe I should have mentioned that the things that the SUMPRODUCT is looking for are values in cells. For instance, my formula at the moment looks like this: =SUMPRODUCT((B1:B60000=X2)*(J1:J60000=DATE(AA2,Z2,Y2))*(E1:E60000)) Help!!! |
|
|
|
|
|
#5 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Chicago, IL USA
Posts: 2,042
|
How are the dates formatted? Can you break it down into smaller bits that you can post? Your formula should be working.
|
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Apr 2002
Posts: 76
|
The date is formatted like this: 28/04/02 but I have an =Date and =Month and an =Day formula to break the date down into three cells so that I have 3 separate parts for the SUMPRODUCT formula Weird! |
|
|
|
|
|
#7 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
Is the actual, used range really 60000 big? If not, I think you should be better off using dynamic name ranges. |
|
|
|
|
|
|
#8 |
|
Board Regular
Join Date: Feb 2002
Location: Where the wild roses grow
Posts: 285
|
You could use a frinkin' pivot table I guess? Audiojoe |
|
|
|
|
|
#9 |
|
Board Regular
Join Date: Apr 2002
Posts: 76
|
Of course!!!! Nice one Joe, here I am fiddling with formulas when I could just display it there all the time!! Thanks baby xxxxxx |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|