Weatherman
New Member
- Joined
- Oct 6, 2005
- Messages
- 9
Hello All...
I'm trying to figure out how to get Excel to select or go to all data in columns A and B of sheet 1 that are equal or between two given values. When it finds this data, I'd like it to copy it and paste it into sheet 2. Column A is the date/time in numeric format to 6 decimal places. Column B is a numeric value to 5 decimal places. In cell C1 I have the beginning of where I would like the data to be selected and in cell D1 I have the end of the range. A sample of my data is below:
A B C D
41059.822356 29.70051 40160 40161
41060.215632 29.90145
41060.826352 29.89514
41061.000125 29.84120
In this case...the script would look in column A for all values greater than or equal to 40160 and less than or equal to 40161 and select both the values in column A and its corresponding value in column B (A2:B3 in this case).
I'm running Excel 2010 on Windows 7. Any help would be greatly appreciated. Thank you for your time.
Weatherman!
I'm trying to figure out how to get Excel to select or go to all data in columns A and B of sheet 1 that are equal or between two given values. When it finds this data, I'd like it to copy it and paste it into sheet 2. Column A is the date/time in numeric format to 6 decimal places. Column B is a numeric value to 5 decimal places. In cell C1 I have the beginning of where I would like the data to be selected and in cell D1 I have the end of the range. A sample of my data is below:
A B C D
41059.822356 29.70051 40160 40161
41060.215632 29.90145
41060.826352 29.89514
41061.000125 29.84120
In this case...the script would look in column A for all values greater than or equal to 40160 and less than or equal to 40161 and select both the values in column A and its corresponding value in column B (A2:B3 in this case).
I'm running Excel 2010 on Windows 7. Any help would be greatly appreciated. Thank you for your time.
Weatherman!