Adding based on month

marcidee

Board Regular
Joined
May 23, 2016
Messages
184
Office Version
  1. 2019
I trying to create a sales figure based on month and am not sure why the following formula is returning zero - I would appreciate if someone can help me fix

Thanks

Marc

=SUMIFS(E3:E29,A3:A29,”>=”&DATE(1,1,2022),A3:A29,”<=”&DATE(31,1,2022))


Jan​
0.00​
Feb​
0.00​
Mar​
0.00​
Apr​
0.00​
May​
0.00​
DateStock NamePriceSold QTYValue
03/01/2022​
Amazon Echo
19.00​
4​
76.00​
09/01/2022​
Amazon Echo
19.00​
2​
38.00​
06/01/2022​
Anker Nebula
349.99​
2​
699.98​
15/02/2022​
Anker Nebula
349.99​
5​
1749.95​
07/01/2022​
BaByliss Berry Crush Straightener
28.00​
1​
28.00​
08/01/2022​
Baylis & Harding Jojoba, Vanilla & Almond Oil Luxury Bathing Duo Stack Gift Box Gift Set - Vegan Friendly…
7.49​
1​
7.49​
02/03/2022​
Canon MG3650S WH…
39.99​
1​
39.99​
10/01/2022​
CLARINS Body Care Set 3Pc
23.10​
1​
23.10​
12/02/2022​
Clementoni 39411 Clementoni-39411-Impossible Puzzle-Marvel-1000 Pieces, Multi-Colour
7.50​
2​
15.00​
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
You have the values in the Date function wrong, it should be year, month,day
 
Upvote 0
Thank you for your reply - I have tried that too but this also brings a zero result?

=SUMIFS(E4:E30,A4:A30,”>=”&DATE(2022,1,1),A4:A30,”<=”&DATE(2022,1,31))
 
Upvote 0
You also have the wrong type of quotes, they should be " not ”
 
Upvote 0
Solution
Hi Fluff

I just noticed If I filter out January in column 'A' it disappears in 'i' & 'J' is there a way to stop that happening?
 
Upvote 0
If you are using the autofilter, then that will hide the entire row.
 
Upvote 0
oh yes - sorry that was a silly question - thank you so much for your help
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,126
Messages
6,129,020
Members
449,480
Latest member
yesitisasport

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
Back
Top