I have a table with 3 groups (defined by values ‘1G, 3G or 5G’ in column B) as shown below.
For every time (column A) of value 1G, I need to test if a value 3G appears within 10 minutes (shown in column A) of 1G. If so, then I need to test if a value 5G appears within 20 minutes (of time for value 1G).
So read time ‘1G’ then read time ‘3G’ and if =< 10 minutes, then read time ‘5G’ =< 20 minutes.
'Time' 'Group Name' 'Data'
----------
12:08 am 1G 747
12:45 am 1G 745
1:00 am 1G 746
12:36 am 3G 743
12:45 am 3G 747
1:03 am 3G 74
12:50 am 5G 75
1:00 am 5G 741
Format ‘Time’: 9/25/2012 8:37:00 pm
I’m looking to write the result on a new sheet with all data per row.
I have looked at answers on this site and others, but not found answers.
Thank you for your help.
This macro will extract all 1G line that have a 3G within 10 minutes, and a 5G within 20.