SUM ROW BASED ON DATE

bpworker

New Member
Joined
Sep 2, 2002
Messages
11
I need help with figuring out what formula to use.

In cell A3 is where the date value is. In cells E3:M3 are where the values I need to sum are located. I would like to place a formula in N3 to sum E3:M3 if A3 has a certain month located in it's date. Example...12-08-02 or 12-Aug-02. If it does not have this particular month, do not want a sum. I have sent in a similar request for this before but it was a much larger range and could not get it to work.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
Say you are interested in September. Try something like

=IF(MONTH(A3)=9,SUM(E3:M3),"")

You could replace the "9" with a formula or cell reference to choose the month of interest
 

Cam

Board Regular
Joined
May 29, 2002
Messages
167
The following may be what your looking for.
According to your example you were looking for a specific month, this formula works for August.


=IF(MONTH(A3)=8,SUM(E3:M3),FALSE)
 

Forum statistics

Threads
1,181,301
Messages
5,929,184
Members
436,653
Latest member
Dieguete

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top