I want to count number of sales in this month till present & also need to count for only today's sales upto current time.

sapxl

New Member
Joined
Jun 20, 2020
Messages
24
Office Version
  1. 2016
  2. 2013
  3. 2011
  4. 2010
  5. 2007
Platform
  1. Windows
Hello Friends,

I'm trying to count the number of sales for the current day and current time…
Also I want to count number of sales in this current month still the current month is going on currently (i.e, upto present day& time).. if any sales increase in next moment, then counting need to be increased..
using countif function, but unable to do so, can you help me on this.

with my formula: SUM(COUNTIFS(D4:D17,">=1-May-20",D4:D17,"<=31-may-20"))
It is giving only current month..and when i'm trying to use the below formula for present time updated, it is not giving the expected solution..
=SUM(COUNTIFS(D4:D17,">=1-May-20",D4:D17,"=today()"))

Appreciate your help in this regard.


 

Attachments

  • counting only todays numbers of sales and also this month sales.PNG
    counting only todays numbers of sales and also this month sales.PNG
    90.7 KB · Views: 8
You're welcome & thanks for the feedback.
 
Upvote 0

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi Fluff,

It would be kind if you could help me out for SUMING for only that day's sales amounts accumulated on that particular date. Appreciate your help.

Thanks in advance



COUNTING ONLY TODAYS NUMBER OF SALES and THIS MONTH NUMBER OF SALES.xlsm
ABCDEFGHI
47/18/2020
5
6DATEAMOUNT
7
822-Jun-20 7:22 PM700
928-Jun-20 7:13 AM800
1029-Jun-20 7:13 AM6000
1130-Jun-20 7:13 AM200
1210-Jul-20 7:22 PM5300
1311-Jul-20 7:22 PM700
1412-Jul-20 7:22 PM900
1513-Jul-20 7:22 PM400
1614-Jul-20 7:22 PM800
1715-Jul-20 9:54 PM500
1818-Jul-20 7:22 PM300
1918-Jul-20 6:33 PM300
2018-Jul-20 11:22 PM100
2118-Jul-20 9:23 PM300
2218-Jul-20 1:50 PM5500
2318-Jul-20 3:15 PM500
2418-Jul-20 7:22 PM6000
2518-Jul-20 7:30 PM400
26
27
28
2908
30
Sheet6
Cell Formulas
RangeFormula
C4C4=TODAY()
G29G29=COUNTIF(D4:D25,"TODAY()")
H29H29=SUM(COUNTIFS(D8:D25,">="&C4,D8:D25,"<"&C4+1))
 
Upvote 0
I'm also trying with this SUMIF formula (=SUMIF(D8:D25, C4,F8:F25) ) , but of no luck.. Appreciate your help in this regard. Thanks,



COUNTING ONLY TODAYS NUMBER OF SALES and THIS MONTH NUMBER OF SALES.xlsm
BCDEFGHI
418-Jul-20
5
6DATEAMOUNT
7
822-Jun-20 7:22 PM700
928-Jun-20 7:13 AM800
1029-Jun-20 7:13 AM6000
1130-Jun-20 7:13 AM200
1210-Jul-20 7:22 PM5300
1311-Jul-20 7:22 PM700
1412-Jul-20 7:22 PM900
1513-Jul-20 7:22 PM400
1614-Jul-20 7:22 PM800
1715-Jul-20 9:54 PM500
1818-Jul-20 7:22 PM300
1918-Jul-20 6:33 PM300
2018-Jul-20 11:22 PM100
2118-Jul-20 9:23 PM300
2218-Jul-20 1:50 PM5500
2318-Jul-20 3:15 PM500
2418-Jul-20 7:22 PM6000
2518-Jul-20 7:30 PM400
26
27
28
2908
30
310
32
Sheet6
Cell Formulas
RangeFormula
C4C4=TODAY()
G29G29=COUNTIF(D4:D25,"TODAY()")
H29H29=SUM(COUNTIFS(D8:D25,">="&C4,D8:D25,"<"&C4+1))
H31H31=SUMIF(D8:D25, C4,F8:F25)
 
Upvote 0
How about
+Fluff New.xlsm
ABCDEFGH
1
2
3
418/07/2020
5
6DATEAMOUNT
7
822/06/2020 19:22700
928/06/2020 07:13800
1029/06/2020 07:136000
1130/06/2020 07:13200
1210/07/2020 19:225300
1311/07/2020 19:22700
1412/07/2020 19:22900
1513/07/2020 19:22400
1614/07/2020 19:22800
1715/07/2020 21:54500
1818/07/2020 19:22300
1918/07/2020 18:33300
2018/07/2020 23:22100
2118/07/2020 21:23300
2218/07/2020 13:505500
2318/07/2020 15:15500
2418/07/2020 19:226000
2518/07/2020 19:30400
26
27
28
298
30
3113400
Main
Cell Formulas
RangeFormula
C4C4=TODAY()
H29H29=COUNTIFS(D8:D25,">="&C4,D8:D25,"<"&C4+1)
H31H31=SUMIFS(F8:F25,D8:D25,">="&C4,D8:D25,"<"&C4+1)
 
Upvote 0
you are Amazing bro.....it is a piece of cake for you... Brilliant...

Thanks once again..
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,391
Messages
6,124,673
Members
449,178
Latest member
Emilou

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