N
nrage21
I'm a mere mortal so I come to the excel gods for help!... please help
me I have about 9k+ rows of the following:
A........................................B
Mobile Device : 102
Summary
Total time...................13D:0H:0M
Total travel time.........8H:59M
Total distance (miles)....179
Number of stops.............39
Total stop time........... 12D:5H:0M
A...................B.............C...........D...............E..........F.............G
date...........time.........speed....duration..distance..county..vh
id#
1/1/04..1:00 PM(EST)..35.........0H:15M....15..........Wch.......102
I need to extract some of the data in the above workbook and
transferred to another workbook.
This is the 6 tasks I need to accomplish:
1) Either copy/paste the "Number of stops" '39' for vehicle 102 from
the summary box... or....look in column D for any 'not empty' cells in
which column G contains '102' and count them, which should result in
'39' as well.
2) Either copy/paste the "Total distance (miles)" '179' from the
summary box above... or...look in column E for any values in which
column G contains '102' and add them all up. Result should be '179.3'
(the number is rounded in the summary box)
3) copy/paste from the summary box "Total travel time"
4) copy/paste from the summary box "Total stop time"
5) Look in column C for any values = or > than 70 and count them in
which column G contains vehicle '102'.
6) Look in column B for any time between 12:00 AM(EST) and 5:00 AM(EST)
and count them in which column G contains vehicle '102'.
I know this is a lot to ask from a newsgroup... but I have learned in
the past that is better to let your helpers know all the details and
requirements to avoid wasting time coming back for more solutions.
- Larry -
VBA Amateur
Forever Grateful! TIA!
me I have about 9k+ rows of the following:
A........................................B
Mobile Device : 102
Summary
Total time...................13D:0H:0M
Total travel time.........8H:59M
Total distance (miles)....179
Number of stops.............39
Total stop time........... 12D:5H:0M
A...................B.............C...........D...............E..........F.............G
date...........time.........speed....duration..distance..county..vh
id#
1/1/04..1:00 PM(EST)..35.........0H:15M....15..........Wch.......102
I need to extract some of the data in the above workbook and
transferred to another workbook.
This is the 6 tasks I need to accomplish:
1) Either copy/paste the "Number of stops" '39' for vehicle 102 from
the summary box... or....look in column D for any 'not empty' cells in
which column G contains '102' and count them, which should result in
'39' as well.
2) Either copy/paste the "Total distance (miles)" '179' from the
summary box above... or...look in column E for any values in which
column G contains '102' and add them all up. Result should be '179.3'
(the number is rounded in the summary box)
3) copy/paste from the summary box "Total travel time"
4) copy/paste from the summary box "Total stop time"
5) Look in column C for any values = or > than 70 and count them in
which column G contains vehicle '102'.
6) Look in column B for any time between 12:00 AM(EST) and 5:00 AM(EST)
and count them in which column G contains vehicle '102'.
I know this is a lot to ask from a newsgroup... but I have learned in
the past that is better to let your helpers know all the details and
requirements to avoid wasting time coming back for more solutions.
- Larry -
VBA Amateur
Forever Grateful! TIA!