Formula Help - Sum the same dates as a value

Thisisme_123

New Member
Joined
Feb 10, 2020
Messages
4
Office Version
  1. 2016
Platform
  1. Windows
Hello.

I need some help with a formula please - i am not even sure if it is possible? I need a formula that will add up the same DD/MM/YYYY in a column and return the sum of matching dates;

e.g

13/02/2020
16/01/2020
13/02/2020
13/02/2020
12/01/2020
11/01/2020

I want to calculate the number of '13/02/2020' that appear - and in the above example, the result would be 3.

Thank you :)
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
If the above are in A1:A6 use "=COUNTIF($A$1:$A$6,$A$1)" in column B against each one? It will do the same for each row, so you'd have three rows where column B has '3'. Is this what you're after?
 
Upvote 0
Perfect thank you so much! Is it possible to add in multiple tabs within the formula? So it looks for the same date across multiple tabs?
 
Upvote 0
It is. Use COUNTIFS instead, and you will set ranges as above, but just continuing on.

e.g. As above, =COUNTIFS($A$1:$A$6, $A$1, mytab1!$xy:$xy, $z, .......)

Basically add range,criteria on and on as you like. As you type it, go to the tab and choose the cells, it will fill in the range for you.

You can mix and match with COUNTIFS as well (e.g. choose how many 01/01/1900 here, plus how many 02/02/2020 there etc.)
 
Upvote 0
Thanks BobbyConkers, although I am struggling to get it to work. I am getting value or too many arguments error.

I've created a googledocs, would you mind adding the formula in the yellow boxes in the first tab, calculating the dates in tabs 2, 3 & 4?

 
Upvote 0
Ah, I see now. I've added them in, using the simplest method.

Basically, the first entry in the brackets is your range, the second "what it is looking for".
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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