Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Data analysis of imported Report

I have a 21 column report of service calls imported from an AS400 database.
I get a new report weekly. I need to copy/paste special/values to another
sheet so I can convert date and time fields and calculate the average time
to complete the service calls. There are 3 types of service calls indicated
in column D by a C, D, or T. Column G has either a Y or N, and column V has
a Y or N. I need to extract the date/time columns, E,F and J,K for each of
the 3 types of service calls that also has an N in columns G and V. My plan
is to do this 3 times, once for each type, storing the results and clearing
the data for each type. Any help accomplishing this would be greatly
appreciated....Thanx in advance....Mike


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 176
Default Data analysis of imported Report

Mike,

Select your table, then use Data | Filter... AutoFilter.. on column G select "Y" from the dropdown.

That will show all the records with Ys in columns G. Select the table (without the header), then use Edit | Go To.... Special...
"Visible" and then use Delete entire rows.

Repeat for column V, and you'll be left only with records where G AND V are equal to N. If you want G OR V equal to N, then filter
both at the same time, using "Y" as your criteria prior to deletion, to delete only those rows where G AND V are equal to Y.

HTH,
Bernie
Excel MVP


"Mike Fogleman" wrote in message ...
I have a 21 column report of service calls imported from an AS400 database.
I get a new report weekly. I need to copy/paste special/values to another
sheet so I can convert date and time fields and calculate the average time
to complete the service calls. There are 3 types of service calls indicated
in column D by a C, D, or T. Column G has either a Y or N, and column V has
a Y or N. I need to extract the date/time columns, E,F and J,K for each of
the 3 types of service calls that also has an N in columns G and V. My plan
is to do this 3 times, once for each type, storing the results and clearing
the data for each type. Any help accomplishing this would be greatly
appreciated....Thanx in advance....Mike




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Data analysis of imported Report

I agree that Auto Filter needs to be used, but I want to use it with code
and copy the filtered list to another sheet or copy all data to a new sheet
and use the Filter code there. That is to preserve the original data where
it is.
Bernie Deitrick wrote in message
...
Mike,

Select your table, then use Data | Filter... AutoFilter.. on column G

select "Y" from the dropdown.

That will show all the records with Ys in columns G. Select the table

(without the header), then use Edit | Go To.... Special...
"Visible" and then use Delete entire rows.

Repeat for column V, and you'll be left only with records where G AND V

are equal to N. If you want G OR V equal to N, then filter
both at the same time, using "Y" as your criteria prior to deletion, to

delete only those rows where G AND V are equal to Y.

HTH,
Bernie
Excel MVP


"Mike Fogleman" wrote in message

...
I have a 21 column report of service calls imported from an AS400

database.
I get a new report weekly. I need to copy/paste special/values to

another
sheet so I can convert date and time fields and calculate the average

time
to complete the service calls. There are 3 types of service calls

indicated
in column D by a C, D, or T. Column G has either a Y or N, and column V

has
a Y or N. I need to extract the date/time columns, E,F and J,K for each

of
the 3 types of service calls that also has an N in columns G and V. My

plan
is to do this 3 times, once for each type, storing the results and

clearing
the data for each type. Any help accomplishing this would be greatly
appreciated....Thanx in advance....Mike






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Data analysis of imported Report

I've got it now, thanks Bernie.
"Mike" wrote in message
...
I agree that Auto Filter needs to be used, but I want to use it with code
and copy the filtered list to another sheet or copy all data to a new

sheet
and use the Filter code there. That is to preserve the original data where
it is.
Bernie Deitrick wrote in message
...
Mike,

Select your table, then use Data | Filter... AutoFilter.. on column G

select "Y" from the dropdown.

That will show all the records with Ys in columns G. Select the table

(without the header), then use Edit | Go To.... Special...
"Visible" and then use Delete entire rows.

Repeat for column V, and you'll be left only with records where G AND V

are equal to N. If you want G OR V equal to N, then filter
both at the same time, using "Y" as your criteria prior to deletion, to

delete only those rows where G AND V are equal to Y.

HTH,
Bernie
Excel MVP


"Mike Fogleman" wrote in message

...
I have a 21 column report of service calls imported from an AS400

database.
I get a new report weekly. I need to copy/paste special/values to

another
sheet so I can convert date and time fields and calculate the average

time
to complete the service calls. There are 3 types of service calls

indicated
in column D by a C, D, or T. Column G has either a Y or N, and column

V
has
a Y or N. I need to extract the date/time columns, E,F and J,K for

each
of
the 3 types of service calls that also has an N in columns G and V. My

plan
is to do this 3 times, once for each type, storing the results and

clearing
the data for each type. Any help accomplishing this would be greatly
appreciated....Thanx in advance....Mike








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Analysis Toolpak-Confidence Level and data analysis questions MH Excel Worksheet Functions 0 January 3rd 09 06:15 PM
Bug Report - chart redraw disintegrates - regression analysis outp Andyroo Charts and Charting in Excel 5 April 18th 08 12:56 AM
how do I report data of court cases ,results,analysis,..... Ziad NT New Users to Excel 4 May 12th 06 11:40 PM
imported impromtu report date issue - fix by format or formula Todd F. Excel Discussion (Misc queries) 3 July 7th 05 09:57 PM
Analysis ToolPak installed but no Data Analysis option Eric Stephens Excel Discussion (Misc queries) 3 February 2nd 05 09:17 PM


All times are GMT +1. The time now is 08:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"