New Excel Forum

This forum has been moved to TeachExcel.com

Ask all future questions in the New Excel Forum.

ExcelKey

SUMIF + IF?

Formulas, Functions, Formatting, Charts, Data Analysis, etc.

SUMIF + IF?

Postby MICRO » Mon Jan 02, 2012 10:55 am

Dear All,
I need to calculate the amount depending if I have received cash or not....
In One month I need to see both what has actually been paid : cash in = Yes. but also the forecast Cash in = No.

Maybe I can use IF + SUMIF?

Please see attached file:


E11 F11 G11
Date Amount Cash in? Actuals: Forecast
2011-11-01 236 791 yes 2011-11-01 236 791 0
2011-12-01 2 735 592 yes 2011-12-01 3 792 775 679 575
2011-12-01 243 532 yes 2012-01-01 0 183 333
2011-12-01 779 369 yes ---------------------------------------------------
2011-12-01 21 896 yes
2011-12-01 12 386 yes
2011-12-01 70 143 no
2011-12-01 122 078 no
2011-12-01 487 536 no
2012-01-01 45 833 no
2012-01-01 45 833 no
2012-01-01 45 833 no
2012-01-01 45 833 no


Thanks a lot,
Lisa :)
  • 0

You do not have the required permissions to view the files attached to this post.
MICRO
Rookie
 
Posts: 8
Joined: Dec 21, 2011
Reputation: 0

Re: SUMIF + IF?

Postby Don » Tue Jan 03, 2012 12:19 am

Hey Lisa!

You just need a sumifs() function for this (new in Excel 2007). So, try this in cell J20:

Code: Select all
=SUMIFS($F$12:$F$24,E12:E24,I20,G12:G24,"yes")


hth!
  • 0

Don
Moderator
 
Posts: 733
Joined: Dec 4, 2011
Reputation: 2
Excel Version: 2010

Re: SUMIF + IF?

Postby MICRO » Tue Jan 03, 2012 2:18 am

Thanks Don, it works! Yay!

Thanks once again!! Really appreciated! :))

Regards/Lisa :D :D
  • 0

MICRO
Rookie
 
Posts: 8
Joined: Dec 21, 2011
Reputation: 0


Return to General Excel Questions

Who is online

Users browsing this forum: Google [Bot] and 231 guests