Macro needed in place of array formula

Wguru

New Member
Joined
Sep 16, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello,
I would like to write a macro that will do the following for me:
I have two separate worksheets, one containing raw weather data i.e date/time, temp etc in separate columns. The other worksheet is a summary table with date, max temp, time etc in separate columns. I wish to write a formula of sorts to find the max temp using the date as a reference. I will try to explain this further.
Worksheet 1 has date/time in one column, temp in another. The data relates to each minute of every hour of every day. Worksheet 2 just has date (mm//dd/yy) max temp, time etc. I wish to use the date in worksheet 2 to find max temp in worksheet 1. I wish to find the details for each of these between 09:00 on one day and 8:59 the next day. Is anyone able to point me in the right direction please?

Thanks

Anthony
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Anyone have any ideas for this?? Record a macro and adjust the code created from that??
 
Upvote 0

Forum statistics

Threads
1,215,530
Messages
6,125,347
Members
449,220
Latest member
Edwin_SVRZ

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