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
Try it...
For all days of the month:
Count(D:D)
For Today:
IFERROR(IF(D2=TODAY(),COUNT(D:D),""),"")
 
Upvote 0

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
To count for this month use
=COUNTIFS(D4:D17,">="&EOMONTH(TODAY(),-1)+1,D4:D17,"<="&EOMONTH(TODAY(),0))
 
Upvote 0
Thanks a lot, Fluff.. the count for month is working great... But for the particular current day number of counts for sales or members.. is not working... i tried with the below functions:

COUNTIF(D4:D17,MID(D1,SEARCH("-",D4:D17)+1,3))

@ Butterfly asif, it is a nice try... Thanks

Is there any way to get the current day number of counts for sales or members registered, etc..

Thanks again for your help.
 
Upvote 0
I'm afraid I don't understand what you are asking for.
 
Upvote 0
Thanks a lot, Fluff.. the count for month is working great... But for the particular current day number of counts for sales or members.. is not working... i tried with the below functions:

COUNTIF(D4:D17,MID(D1,SEARCH("-",D4:D17)+1,3))

@ Butterfly asif, it is a nice try... Thanks

Is there any way to get the current day number of counts for sales or members registered, etc..

Thanks again for your help.
Try it...
For Current Period / Day:
IFERROR(IF(D2=MAX(D:D),COUNT(D:D),""),"")
 
Upvote 0
Hi Fluff, Thanks a ton..... I'm sorry for the confusion... actually i'm seeing the count of sales for month wise and also for current day. Your given solution for month wise count is working fine.

I also want to have count for only the current day in particular, not for current month... is there any way to get the particular day count of today which is current...

Appreciate your help.

Please find the range for this query:


COUNTING ONLY TODAYS NUMBER OF SALES and THIS MONTH NUMBER OF SALES.xlsx
ABCDEFGHI
311-Jul-20
422-Jun-20 7:22 PM
528-Jun-20 7:13 AM
629-Jun-20 7:13 AM
730-Jun-20 7:13 AM
810-Jul-20 7:22 PM
911-Jul-20 7:22 PM
1012-Jul-20 7:22 PM
1113-Jul-20 7:22 PM
1214-Jul-20 7:22 PM
1315-Jul-20 7:22 PM
1411-Jul-20 7:22 PM
1511-Jul-20 7:22 PM44023.8070717593
1611-Jul-20 7:22 PM
1711-Jul-20 7:22 PM0COUNTIF(D4:D17,"=F17=G3"))
18
19
20
21Hello friends, I want to count only today's date (i.e, 11-Jul-20) transactions or sales. The number of counts of sales transactions for today's only… is there any way to find this.. Your help is highly appreciated… COUNTIF(D4:D17,"=F17=G3") COUNTIFS(D4:D17,"=F17=G3",D4:D17,"<="&TODAY())
22
23
24
Sheet2
Cell Formulas
RangeFormula
G3G3=TODAY()
G15G15=RIGHT(D4:D17,16)
F17F17=COUNTIFS(D4:D17,"=F17=G3",D4:D17,"<="&TODAY())
 
Upvote 0
Ok, how about
=COUNTIFS(D4:D17,">="&G3,D4:D17,"<"&G3+1)
 
Upvote 0
Fluff, you are amazing man.... your solution worked again... Thank a lot.. no words to tell... except God Bless you....

Thanks again for your help...
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,739
Members
448,989
Latest member
mariah3

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