Something like
=IF(OR(MAX(INDIRECT(A5&"!"&"d2:d500"))-MAX(INDIRECT(A5&"!"&"e2:e500"))>=-500,(MAX(INDIRECT(A5&"!"&"d2:d500"))>MAX(INDIRECT(A5 &"!"&"e2:e500")))),"Yes", "No")
VBA Noob
Something like
=IF(OR(MAX(INDIRECT(A5&"!"&"d2:d500"))-MAX(INDIRECT(A5&"!"&"e2:e500"))>=-500,(MAX(INDIRECT(A5&"!"&"d2:d500"))>MAX(INDIRECT(A5 &"!"&"e2:e500")))),"Yes", "No")
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Awsome, thats it. I was trying to get it to work, and just googled the or syntex, so i was close, but had the paranthesis wrong.
you guys have any idea for the first problem?
edit: ill try to play with the v-lookup for my first problem. im thinking that will work. but im still open to suggestions.
edit(again): I made a mistake. the formula i gave in my original post is in referrence to a third problem I did not mention. Im still working on the problems from the first post. if anyone has an answer, that would be greatly appreciated.
Last edited by speakers_86; 03-29-2007 at 04:34 PM.
No Problem.
Can you confirm
Is there a tab for the driver or is it a tab for Driving Violations.
Whats in Column F and Is the driver name shown in the sheet and in what col
VBA Noob
=VLOOKUP(A3,'Driving Violations'!F2:F500,1)
whats wrong with this?
edit, the table is not sorted, thats why it didnt work.
but basically this is what I need:
=COUNT(VLOOKUP(A6,DrivingViolations!F2:F500,1))
But I cant use vlookup because the table is not sorted, what are my other options instead of vlookup?
Last edited by speakers_86; 03-29-2007 at 04:57 PM.
If it works for you then nothing.
Note: You might want to fix your range F2:F500 or amend to F:F
Plus if no violations then you would get #N/A so try
=IF(ISNA(VLOOKUP(A3,'Driving Violations'!F:F,1,FALSE)),"",VLOOKUP(A3,'Driving Violations'!F:F,1,FALSE))
VBA Noob
I tried your equation and a box poped up that looked like the box when you click save as. Im not sure what to do with it.
but basically this is what I need:
=COUNT(VLOOKUP(A6,DrivingViolations!F:F,1))
Try
=COUNTIF(DrivingViolations!F:F,A3)
VBA Noob
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks