+ Reply to Thread
Results 1 to 5 of 5

Countifs extend the range

  1. #1
    Forum Contributor
    Join Date
    01-25-2012
    Location
    Cambodia
    MS-Off Ver
    Excel 2010
    Posts
    135

    Countifs extend the range

    Dear everyone,

    Can I extend the range in countifs. for example:

    =countifs(A1:A10,"Apple", B1:D10,"=1")

    What I currently can do is =countifs(A1:A10,"Apple", B1:B10,"=1")

    Kind Regards,
    Sarin

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Countifs extend the range

    Both of your examples are same so not sure what you are trying to do

    No need of double quotes and = in your countif
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    01-25-2012
    Location
    Cambodia
    MS-Off Ver
    Excel 2010
    Posts
    135

    Re: Countifs extend the range

    From my example above, I extended the range from B1:B10 to B1:D10 (B1:B10 shows #VALUE!)

    Regards,
    Sarin

  4. #4
    Forum Contributor
    Join Date
    01-25-2012
    Location
    Cambodia
    MS-Off Ver
    Excel 2010
    Posts
    135

    Re: Countifs extend the range

    Sorry for the earlier post. (B1:D10 shows #VALUE!)

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Countifs extend the range

    Countif range or Each range of Countifs should be referred to single column alone.

    Use sumproduct in this case like this...

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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