Extracting relevant data in Worksheets

amritamuduli

New Member
Joined
Feb 10, 2021
Messages
4
Office Version
  1. 365
  2. 2019
Platform
  1. MacOS
In one Worksheet there is data cells (having dd/mm/yy hh:mm format). In another sheet I need to calculate the counts of cells in terms of of months. Ex: 2020 Jan: 12, Feb:22 etc.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hi Amritamuduli,

My PC is from the US so the dates may look wrong but it will still work with other formats.

So you'll want to report in January any which are greater than or equal to 1 Jan 2020 00:00 and less than 1 Feb 2020.

I've set the headings for the months as dates being the first of each month with a time of 00:00 so I can run that compare. I also need an extra heading for the last month (December in my example) so it has the correct limiter.

Amritamuduli.xlsx
ABCDEFGHIJKLMNO
1Date & TimeCounts
201-Jan-20 2:00Jan-20Feb-20Mar-20Apr-20May-20Jun-20Jul-20Aug-20Sep-20Oct-20Nov-20Dec-20Jan-21
310-Jan-20 5:36433400001001
419-Jan-20 9:12
528-Jan-20 12:48
606-Feb-20 16:24
715-Feb-20 20:00
824-Feb-20 23:36
905-Mar-20 3:12
1014-Mar-20 6:48
1123-Mar-20 10:24
1201-Apr-20 14:00
1310-Apr-20 17:36
1419-Apr-20 21:12
1519-Apr-20 21:12
1619-Sep-20 21:12
1719-Dec-20 20:12
Sheet1
Cell Formulas
RangeFormula
D2:O2D2=EOMONTH(C2,0)+1
C3:N3C3=COUNTIFS($A$2:$A$999,">="&C$2,$A$2:$A$999,"<"&D$2)
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,581
Members
449,089
Latest member
Motoracer88

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