Hi all,
i'm trying to write a code that will copy cells that fit a certain condition.
For example if I have column A as follows
1
2
3
4
5
6
I would like to copy from A1-A6 the values (X) that are 3<X<6, in this case 4 and 5 are between 3 and 6 not including.
I want to copy them to C4. Since I have 2 values to copy they will be copied to C4 and C5
I thought that if I record a Macro of conditional formatting I could use that but i don't believe I can.
Once I copy them I want to do a few things.
I want to know how many (Count) I have copies (in this case 2) and the average of them (in this case 4.5) and then show a msgbox with that value (4.5)
Anyone can advice on that process?
Thanks
Bookmarks