+ Reply to Thread
Results 1 to 3 of 3

counting formula

  1. #1
    Registered User
    Join Date
    02-20-2008
    Posts
    18

    Post counting formula

    I need help, I can't seem to get a formula to work that will count a range of cells based of wether or not their value is greater than half the value in another column.

    example:

    200 300
    210 440
    40 550
    320 500

    i want to count 200 and 320 because they are more than half the values in column b.

    I can't seem to get a countif or a dcount to work.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Just to count, i.e. to give a result of 2 for your example

    =SUMPRODUCT(--(A1:A4>B1:B4/2))

  3. #3
    Registered User
    Join Date
    02-20-2008
    Posts
    18
    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