# How to Count New Customers Per Month in Excel In this article, we will learn how to count new customers per month in excel. In other words, we will need to count only the first appearance of a user in a particular month.

How to solve the problem ?

For this article we will be required to use the COUNTIFS function  and EOMONTH function. Here we are given some values in a range and specific text value as criteria. We need to count the values where the formula includes all the values which ends with the given text or pattern

Generic formula:-

= COUNTIFS ( occurrence, 1, d_rng, ">="& date, d_rng, ">="& EOMONTH( date, 0 )

occurrence: value must match 1.

1: value to match occurrence

d_range : date values as range

date: date value as month criteria

Example:

Here we have the ID records and we need to find unique ID values. I'm here to find the unique values. Some range references using the named range is given.
IDs named range are used for ID values.
dates named range use for date values.
Occurrence named range use for the occurrence count
Use this formula to calculate values in Jan month:

= COUNTIFS ( occurrence , 1 , dates , ">=" & D3 , dates , "<=" & EOMONTH ( D3 , 0 ) )

Explanation:

• COUNTIFS function counts the cells matches occurrence count with.
• Criteria are given as dates greater than or equal to the first date entry of the month.
• & operator concatenate the two values where it lays
• EOMONTH ( D3 , 0 ) criteria is given as dates less than or equal to the last date value of the month. As you can see the total values which occur once in the Jan month comes out to be 6.

Now copy the formula in other cells using the drag down option or using the shortcut key Ctrl + D as shown below. And changing the month criteria to March month and Feb carefully. As you can see all the different values using Excel formulas returns the count of IDs in the data table.

You can also get the count of repeated values in the data table using the below formula.
Use the formula

= COUNTIFS ( occurrence , ">1" , dates , ">=" & D3 , dates , "<=" & EOMONTH ( D3 , 0 ) )

Explanation:

">1" criteria as count matches the occurrence more than one time.

Here are some observational notes shown below.

Notes:

1. The formula only works with numbers and text both
2. Operators like equals to ( = ), less than equal to ( <= ), greater than ( > ) or not equals to ( <> ) can be performed within function applies with number only.

Hope this article about how to Count values which end with using wildcards in Excel is explanatory. Find more articles on COUNTIFS functions here.

If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook. We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at info@exceltip.com

Related Articles

How to use the SUMPRODUCT function in Excel: Returns the SUM after multiplication of values in multiple arrays in excel.

COUNTIFS with Dynamic Criteria Range : Count cells dependent on other cell values in Excel.

COUNTIFS Two Criteria Match : Count cells matching two different criteria on list in excel.

COUNTIFS With OR For Multiple Criteria : Count cells having multiple criteria match using the OR function.

The COUNTIFS Function in Excel : Count cells dependent on other cell values.

How to Use Countif in VBA in Microsoft Excel : Count cells using Visual Basic for Applications code.

How to use wildcards in excel : Count cells matching phrases using the wildcards in excel

Popular Articles

50 Excel Shortcut to Increase Your Productivity

Edit a dropdown list

Absolute reference in Excel

If with conditional formatting

If with wildcards

Vlookup by date

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.
{"ft_lang_label":"__label__en","ft_lang_prob":0.83406895,"math_prob":0.9041144,"size":3110,"snap":"2022-27-2022-33","text_gpt3_token_len":638,"char_repetition_ratio":0.12942691,"word_repetition_ratio":0.011049724,"special_character_ratio":0.19903538,"punctuation_ratio":0.09348915,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9757175,"pos_list":[0,1,2,3,4,5,6,7,8],"im_url_duplicate_count":[null,8,null,4,null,4,null,8,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-06-30T21:51:32Z\",\"WARC-Record-ID\":\"<urn:uuid:36de0bc0-1972-45a5-87a0-8be280697425>\",\"Content-Length\":\"85909\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1019615f-8ebe-4c43-a5e2-3c4e5661d7f7>\",\"WARC-Concurrent-To\":\"<urn:uuid:b3f99e3b-2b4f-44f7-8ce9-38431b91c261>\",\"WARC-IP-Address\":\"69.167.154.15\",\"WARC-Target-URI\":\"https://www.exceltip.com/counting/count-new-customers-per-month-in-excel.html\",\"WARC-Payload-Digest\":\"sha1:76HG5LL564CGD3TBB4PPGAP3JRSE3P32\",\"WARC-Block-Digest\":\"sha1:ZDJGOQBEXWS3AWCK3GBC6HAG4QPI2A2D\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656103915196.47_warc_CC-MAIN-20220630213820-20220701003820-00607.warc.gz\"}"}