ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sum based on date (https://www.excelbanter.com/excel-worksheet-functions/176113-sum-based-date.html)

Sherry N.

Sum based on date
 
Hello,
I have a worksheet that gets data from external source. I need to sum
numbers in Column C if date in Column B is = another cell.

I tried:
=IF(B:B=F2,SUM(C:C))
=SUMIF(B:B,B:B=F2,C:C)

Much appreciated.
--
Sherry N.

T. Valko

Sum based on date
 
Try this:

=SUMIF(B:B,"="&F2,C:C)


--
Biff
Microsoft Excel MVP


"Sherry N." wrote in message
...
Hello,
I have a worksheet that gets data from external source. I need to sum
numbers in Column C if date in Column B is = another cell.

I tried:
=IF(B:B=F2,SUM(C:C))
=SUMIF(B:B,B:B=F2,C:C)

Much appreciated.
--
Sherry N.




Sherry N.

Sum based on date
 
PERFECT! Thanks a million!
--
Sherry N.


"T. Valko" wrote:

Try this:

=SUMIF(B:B,"="&F2,C:C)


--
Biff
Microsoft Excel MVP


"Sherry N." wrote in message
...
Hello,
I have a worksheet that gets data from external source. I need to sum
numbers in Column C if date in Column B is = another cell.

I tried:
=IF(B:B=F2,SUM(C:C))
=SUMIF(B:B,B:B=F2,C:C)

Much appreciated.
--
Sherry N.





T. Valko

Sum based on date
 
You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Sherry N." wrote in message
...
PERFECT! Thanks a million!
--
Sherry N.


"T. Valko" wrote:

Try this:

=SUMIF(B:B,"="&F2,C:C)


--
Biff
Microsoft Excel MVP


"Sherry N." wrote in message
...
Hello,
I have a worksheet that gets data from external source. I need to sum
numbers in Column C if date in Column B is = another cell.

I tried:
=IF(B:B=F2,SUM(C:C))
=SUMIF(B:B,B:B=F2,C:C)

Much appreciated.
--
Sherry N.








All times are GMT +1. The time now is 05:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com