creating numerical equations to solve questions on excel

Add a macro to extract the highest 25% of the concentration values with the associated date.
Copy that data to columns G and H.
Sort the copied data in date order. Add a button to run the macro.
Write a Visual Basic function to convert coordinates displayed as (DegreesMinutesSeconds.SecondFraction)
to decimal degrees dd.dddddd Name the function COOR()