+ Reply to Thread
Results 1 to 4 of 4

Count if - two conditions

  1. #1
    Registered User
    Join Date
    02-12-2008
    Location
    Portugal
    Posts
    26

    Count if - two conditions

    Hello,

    I need some help in solving a problem.

    Currenty i have to COUNT the number of lines i have if in :
    collumn A the value is "AR" AND
    collumn F the value is higher then 4


    Although collumn A will always be filled with "AR" or "FR" the collumn F will have numbers or letters (but i only care about counting those with numbers).

    After this is done i count the same for "FR" in collumn A, and also below value 4.



    So i need to combine either a macro or a function that would allow me to have a count if both statements occur. Any ideas?

  2. #2
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Try SUMPRODUCT

    http://xldynamic.com/source/xld.SUMPRODUCT.html

    Ed

  3. #3
    Registered User
    Join Date
    02-12-2008
    Location
    Portugal
    Posts
    26
    Thanks Ed, let me learn this and i'll get back to you if it really does the trick or if i have more questions.

  4. #4
    Registered User
    Join Date
    02-12-2008
    Location
    Portugal
    Posts
    26
    Worked perfect!

    Thanks

+ 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