Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
emre
 
Posts: n/a
Default how to write macro after autofilter is applied

I am trying to extrude out 4 values(number of values, min of values, average
of values and max of values) out of several readings of several
parameters(stuff related to water characteristics) This takes lots of time. I
want some automation.
What i am doing manuıally is
apply autofilter
choose parameters one by one from the drop list.
select all values holding draggin with the mouse.
use the status bar functions(countnumber, min, ave, max) to display the the
values i am looking for.
manually write these 4 values to an individual worksheet.
advance to the next parameter in droplist. and so on.

writing a formula for these 4 values will not work in autofilter mode since
the formulas take account of everything selected plus hidden cells thus gives
wrong results.

can a macro automate this steps?
  #2   Report Post  
CLR
 
Posts: n/a
Default

Yes, a macro can be written to do just about anything you want it to, and if
these actions are repeated frequently then that is the course you should
take. The details are very specific to your application tho. But in the
meantime, something that might help a little is that when you first obtain
the AutoFilter results, then copy and paste them over to another sheet. Now
you can apply formulas to that sheet and they will only affect the FILTERED
data.........

hth
Vaya con Dios,
Chuck, CABGx3


"emre" wrote in message
...
I am trying to extrude out 4 values(number of values, min of values,

average
of values and max of values) out of several readings of several
parameters(stuff related to water characteristics) This takes lots of

time. I
want some automation.
What i am doing manuially is
apply autofilter
choose parameters one by one from the drop list.
select all values holding draggin with the mouse.
use the status bar functions(countnumber, min, ave, max) to display the

the
values i am looking for.
manually write these 4 values to an individual worksheet.
advance to the next parameter in droplist. and so on.

writing a formula for these 4 values will not work in autofilter mode

since
the formulas take account of everything selected plus hidden cells thus

gives
wrong results.

can a macro automate this steps?



  #3   Report Post  
emre
 
Posts: n/a
Default

i have already tried copy pasting- it works, but it is still far from
automation. i need a macro that can read all autofilters droplist elements
corresponding data.


"CLR" wrote:

Yes, a macro can be written to do just about anything you want it to, and if
these actions are repeated frequently then that is the course you should
take. The details are very specific to your application tho. But in the
meantime, something that might help a little is that when you first obtain
the AutoFilter results, then copy and paste them over to another sheet. Now
you can apply formulas to that sheet and they will only affect the FILTERED
data.........

hth
Vaya con Dios,
Chuck, CABGx3


"emre" wrote in message
...
I am trying to extrude out 4 values(number of values, min of values,

average
of values and max of values) out of several readings of several
parameters(stuff related to water characteristics) This takes lots of

time. I
want some automation.
What i am doing manuially is
apply autofilter
choose parameters one by one from the drop list.
select all values holding draggin with the mouse.
use the status bar functions(countnumber, min, ave, max) to display the

the
values i am looking for.
manually write these 4 values to an individual worksheet.
advance to the next parameter in droplist. and so on.

writing a formula for these 4 values will not work in autofilter mode

since
the formulas take account of everything selected plus hidden cells thus

gives
wrong results.

can a macro automate this steps?




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
Loop Macro autofilter Paul. Excel Discussion (Misc queries) 2 March 25th 05 09:35 AM
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM
Autofilter Macro Help RonB Excel Discussion (Misc queries) 1 December 30th 04 01:34 AM
How do I write a macro for... Christopher Anderson Excel Discussion (Misc queries) 1 December 20th 04 05:18 PM


All times are GMT +1. The time now is 07:28 AM.

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"