yes, I have changed, even if the same idea,
I do not know if I was understanding what I read,
as well as I did not know if you had understood me, and still do not know
at the same time you should know that transmits an idea is not always easy
imagine when this same idea is not so clear for yourself
I rarely mess with formulas
for it may be something simple, but for me it is not
and yes, I am lost with the idea
redid the way of writing the formula often
http://forum.clubedohardware.com.br/topic/1134086-logica-intuitiva-para-filtro/
did not think it would become something so complicated,
is an infinite loop between ease of now and the future utility
I will gradually clarifying the idea and setting an easy structure, and efficient to filter data,
the formula of the structure was simple "I think"
! = Sector Example: column 1 to column 30
$ = Sheet
@ Indicates operators, and, or,>, <, <>, like,
# Indicates the column that will be tested,
without it the macro tests all speakers
% Indicates the type of test, day, month, year, week, unity, ten, Right, Left
!sector3,$sheet3,@and(@>(#1,%unit 6),@or(#2,%week,3,4))
returns all rows in the range, the column 1 the unit is more than 6
7,8,9,17,18,19,27,28,29, ... 1007,1008,1009
@
And
column 2 the day of the week is 3 or 4
I'm thinking how to put other comparison in macro
I have things I want to add, and I can not think of a way to put logic in the formula and that I can make the macro filter