+ Reply to Thread
Results 1 to 2 of 2

count in column A how many times LH appears and values in B <2

  1. #1
    Registered User
    Join Date
    10-18-2008
    Location
    Lisbon
    Posts
    3

    count in column A how many times LH appears and values in B <2

    Hello,

    can anyone help me? I want to count some cells but i'm not getting it. I have column A and B. In column A i have only "LH" and "Outros". In column B i have 0, 1, 2 or 3. Some cells are in B are blank. I want count in column A how many times LH appears and values in B <2. I want to do this in Excel 97.

    Thanks. Sorry if muy english is not very good

  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
    hugofcunha,

    Welcome to the forum

    Please try to use a more descriptive title as per the forum rules below

    =SUMPRODUCT((A1:A20="LH")*(B1:B20<2))
    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 !!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. count number of time a text string appears
    By wolfpack95 in forum Excel General
    Replies: 14
    Last Post: 12-20-2009, 02:57 PM
  2. Replies: 2
    Last Post: 03-07-2008, 03:03 PM
  3. Adding Up $ Values Based On Criteria In Other Cells
    By Karleajensar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2007, 05:41 PM
  4. Adding To Formula To Count Values
    By Karleajensar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-06-2007, 12:59 PM
  5. Want to count how often some values appeared
    By gpktm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-27-2007, 07:56 AM

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