+ Reply to Thread
Results 1 to 3 of 3

Vlookup (3 critera)

  1. #1
    Registered User
    Join Date
    08-10-2007
    Posts
    34

    Vlookup (3 critera)

    I have a few columns of data. The first is a sort of timestamp, expressed purley in numerals, as in 00:15:00 would be represented as the number 1500. The last colum has an error messages, this is alphanumeric and is fairly random. There are lots of blanks in this column. I'd like to be able to count the number of non-blank cells in the last colum, while specifying a time range for the 1st critera. I've uploaded my example book.

    This is what I tried to use,
    Please Login or Register  to view this content.
    Where column A had the times, and column D has the error. G3 and G4 were my times to find in between.

    Thanks in advance,

    `engineers08
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =SUMPRODUCT(($A$2:$A$2000>G3)*($A$2:$A$2000<G4)*($D$2:$D$2000<>0))

    or

    =SUMPRODUCT(($A$2:$A$2000>G3)*($A$2:$A$2000<G4)*($D$2:$D$2000<>""))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-10-2007
    Posts
    34
    Awesome and perfect. I swear i tried that!

    Thanks,
    `engineers08

+ 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