Advanced Filter

User avatar
adam
SilverLounger
Posts: 2347
Joined: 23 Feb 2010, 12:07

Re: Advanced Filter

Post by adam »

Your formula is incomplete. Please compare it to the complete formula in your previous reply.
Hans if you don't mind, non of the following formulas is NOT working according to me. What am I doing wrong here?

=OFFSET('Select Movies'!$C$5,0,0,COUNTA ('Select Movies'!$J:$J)+4
=OFFSET('Select Movies'!$C$9,0,0,COUNTA ('Select Movies'!$J:$J)+4
=OFFSET('Select Movies'!$C$9,0,0,COUNTA('Select Movies'!$J:$J),8) +4
=OFFSET('Select Movies'!$C$5,0,0,COUNTA('Select Movies'!$J:$J),8) +4
Best Regards,
Adam

User avatar
HansV
Administrator
Posts: 78568
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Advanced Filter

Post by HansV »

None of those make sense. Please go back to the formula that worked, then read my replies again.
Best wishes,
Hans

User avatar
adam
SilverLounger
Posts: 2347
Joined: 23 Feb 2010, 12:07

Re: Advanced Filter

Post by adam »

Nevermind Hans. I've somehow solved it. Thanks for the help.
Best Regards,
Adam

User avatar
adam
SilverLounger
Posts: 2347
Joined: 23 Feb 2010, 12:07

Re: Advanced Filter

Post by adam »

The following lines currently add both date & time to column "C". How could I make it to add date to column "C" and time to column "D"?

Code: Select all

Static runme As Boolean
If runme = False And Target.Column = 4 And Target.Row >= 11 Then
    runme = True
    Target.Offset(, -1).Value = Now()
Else: runme = False
End If
Any help on this would be kindly appreciated.
Best Regards,
Adam

User avatar
HansV
Administrator
Posts: 78568
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Advanced Filter

Post by HansV »

Target.Offset(, -1).Value = Date
Target.Value = Time
Best wishes,
Hans

User avatar
adam
SilverLounger
Posts: 2347
Joined: 23 Feb 2010, 12:07

Re: Advanced Filter

Post by adam »

Thanks for the help Hans.
Best Regards,
Adam