+ Reply to Thread
Results 1 to 14 of 14

Fleet Services

Hybrid View

speakers_86 Fleet Services 03-29-2007, 03:05 PM
speakers_86 =IF(MAX(INDIRECT(A5&"!"&"d2:d5... 03-29-2007, 04:07 PM
VBA Noob Something like ... 03-29-2007, 04:10 PM
speakers_86 Awsome, thats it. I was... 03-29-2007, 04:25 PM
VBA Noob No Problem. Can you... 03-29-2007, 04:30 PM
speakers_86 =VLOOKUP(A3,'Driving... 03-29-2007, 04:46 PM
VBA Noob If it works for you then... 03-29-2007, 04:53 PM
speakers_86 I tried your equation and a... 03-29-2007, 05:11 PM
VBA Noob Try ... 03-29-2007, 05:14 PM
  1. #1
    Registered User
    Join Date
    07-27-2006
    Posts
    68
    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.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    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
    _________________________________________


    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 !!!

  3. #3
    Registered User
    Join Date
    07-27-2006
    Posts
    68
    =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.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    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

  5. #5
    Registered User
    Join Date
    07-27-2006
    Posts
    68
    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))

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    =COUNTIF(DrivingViolations!F:F,A3)

    VBA Noob

  7. #7
    Registered User
    Join Date
    07-27-2006
    Posts
    68
    Okay, so I tried that and it returned 0 for all values, which is not right.

    edit: countif only counts numbers, not words
    Last edited by speakers_86; 03-29-2007 at 05:20 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1