thread Sorting and Formatting date and Countif

MHD

New Member
Joined
Mar 16, 2021
Messages
49
Office Version
  1. 2019
Hello everyone

Please help solve this problem!

I have this data as an example, how can I get results using VBA or matrix functions, to save time and effort in manually analyzing it.

Knowing that the data is larger than that, this is just an example.

test.xlsm
ABCDEFGHIJKLMN
1Table of datatable of results
2sort oldest to newest then put the uniqe dates for each student as this formatsort ِ A to Z with levels: states, city, school, student then sort the date oldest to newest and format it
3#DatestatesCityschool studentDatesStatesCityschoolstudent# of visites
4121/02/2021VirginiaAlexandriaThomas JeffersonLiam07.02.2021ArizonaGilbertGilbert ClassicalWilliam1
5211/02/2021TexasHoustonCarnegie VanguardNoah08.02.2021ArizonaTucsonLiberal Arts and ScienceLucas1
6310/02/2021TexasHoustonCarnegie VanguardNoah09.02.2021FloridaRiviera BeachCarnegie VanguardJames1
7407/02/2021ArizonaGilbertGilbert ClassicalWilliam(10,11).02.2021TexasHoustonCarnegie VanguardNoah2
8509/02/2021FloridaRiviera BeachCarnegie VanguardJames(02,19).02.2021VirginiaAlexandriaThomas JeffersonLiam3
9602/02/2021VirginiaAlexandriaThomas JeffersonLiam
10708/02/2021VirginiaAlexandriaThomas JeffersonLucas
11802/02/2021VirginiaAlexandriaThomas JeffersonLiam
12
Sheet3
Cell Formulas
RangeFormula
N4:N8N4=COUNTIF(Table1[student],[@student])
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,214,512
Messages
6,119,941
Members
448,932
Latest member
mile5165

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