+ Reply to Thread
Results 1 to 2 of 2

count a range of cells as one if there is at least one value

  1. #1
    Registered User
    Join Date
    09-11-2013
    Location
    Sofia
    MS-Off Ver
    Excel 2003
    Posts
    6

    count a range of cells as one if there is at least one value

    Hello guys,

    I'm stuck once again
    Could you help me pls.
    I have different sectors. (a1:c1 / a2:c2 / a3:c3 etc..) What i need to do is to count the values but not all.
    If in one cell in this sectors there is value i just want to count it as 1 no mettar if the other cells in this sector are empty or not.

    Thank you vey very much!!

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: count a range of cells as one if there is at least one value

    Maybe you could try something like:
    =SUM(IF(NOT(ABS(A1:A3)+ABS(B1:B3)+ABS(C1:C3)=0),1,0))
    it's an array formula so needs to be confirmed with ctrl+shift+enter.
    It's set up for your example of sectors a1:c1, a2:c2 and a3:c3 but if you want to extend for more rows you can change the 3 to your total number of rows and it should still be ok.

+ 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 a Range of cells if another range of cells meets criteria
    By mjg060468 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-21-2013, 02:57 PM
  2. [SOLVED] Count in a range, where identical adjacent cells count as one instance.
    By the-algebraist in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-05-2013, 11:18 AM
  3. Replies: 6
    Last Post: 11-11-2012, 12:40 AM
  4. [SOLVED] Count a range of cells if another range meets criteria
    By LadySetsuka in forum Excel General
    Replies: 8
    Last Post: 04-14-2012, 10:09 AM
  5. Count cells in one range based on parameters in another range
    By dave roth in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-29-2005, 03:06 PM

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