ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   >< formulas (https://www.excelbanter.com/excel-discussion-misc-queries/21055-%3E%3C-formulas.html)

mpiton

>< formulas
 
A spreadsheet containing two colums. Column A has dollar amount entries.
Column B has date entries. These entries are entered throughout the month
and every month of the year. I need a formula that will sum the amounts in
column a only if they are during the month of march from column b (for
example)

Fredrik Wahlgren


"mpiton" wrote in message
...
A spreadsheet containing two colums. Column A has dollar amount entries.
Column B has date entries. These entries are entered throughout the month
and every month of the year. I need a formula that will sum the amounts

in
column a only if they are during the month of march from column b (for
example)


I think you want SUMIF
http://www.techonthenet.com/excel/formulas/sumif.htm

/Fredrik



CLR

Put this is C1 and copy down..........
=IF(MONTH(B1)=$D$1,A1,"")

In D1, type the 3 for March, or 4 for April, etc........
In E1 put this formula, =SUM(C:C)

Vaya con dios,
Chuck, CABGx3



"mpiton" wrote in message
...
A spreadsheet containing two colums. Column A has dollar amount entries.
Column B has date entries. These entries are entered throughout the month
and every month of the year. I need a formula that will sum the amounts

in
column a only if they are during the month of march from column b (for
example)





All times are GMT +1. The time now is 02:41 PM.

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