+ Reply to Thread
Results 1 to 6 of 6

Count in pair of 5 cells

  1. #1
    Registered User
    Join Date
    05-16-2011
    Location
    Bucharest
    MS-Off Ver
    Excel 2003
    Posts
    32

    Count in pair of 5 cells

    I need a formula that will detect the cell in witch is placed and base on that it will determin the cells witch will be counted (ex: if formula in B2 then COUNTIF(data!A2:A6; "=0")

    If formula is in B2 do COUNTIF(data!A2:A6; "=0") ; if formula is in B3 do COUNTIF(data!A7:A11; "=0") ; B4 A12:A16 and so on from 5 to 5 cells
    Last edited by alinpion; 07-13-2011 at 01:41 AM.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Count in pair of 5 cells

    Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!

    Read this to understand why we ask you to do this, then please add links to your crossposts.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    05-16-2011
    Location
    Bucharest
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Count in pair of 5 cells

    Quote Originally Posted by romperstomper View Post
    Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!

    Read this to understand why we ask you to do this, then please add links to your crossposts.
    Sorry but my question wasn't solve ; For this I tryed to open separate topics for each question.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Count in pair of 5 cells

    All you have to do is provide a link... so that people can see for themselves if it was already solved or not....
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  5. #5
    Registered User
    Join Date
    05-16-2011
    Location
    Bucharest
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Count in pair of 5 cells

    The guys from mrexcel dot com SOLVED IT

    Here is the formula :

    =COUNTIF(OFFSET(data!A$1,((ROW(A1)-ROW(A$1))*5),0,5,1),"=0")

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Count in pair of 5 cells

    A non volatile method would have been:

    =COUNTIF(INDEX(data!$A:$A,2+((ROW(A1)-1)*5)):INDEX(data!$A:$A,6+((ROW(A1)-1)*5)),0)

+ 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