+ Reply to Thread
Results 1 to 3 of 3

Conditional formula?

  1. #1
    Forum Contributor
    Join Date
    02-15-2005
    Location
    Central UK
    MS-Off Ver
    Office 365
    Posts
    175

    Conditional formula?

    Hi, I'm trying to find a way to total the number of cells that meet a given criteria.

    It works something like this: -

    If [A1="Test"] AND [B1 is greater than zero] then [add to the number of cells that meet this condition]

    The formula will apply to 350 rows, cell in column A will contain one of six options (all text) and column B will either have no value or will have a numeric value.

    I know this can be done but I am currently brain dead! Can anyone advise, please?

    Many thanks for all the help in the past.

    Tony

  2. #2
    Bondi
    Guest

    Re: Conditional formula?

    Hi Tony,

    Maybe you can use

    =SUMPRODUCT((A1:A350="Test")*(B1:B350>0))

    This will give you the number of cells that meets the above criteria.

    Regards,
    Bondi


  3. #3
    Forum Contributor
    Join Date
    02-15-2005
    Location
    Central UK
    MS-Off Ver
    Office 365
    Posts
    175

    Smile Brilliant!

    Thanks Bondi - works a treat

+ 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