+ Reply to Thread
Results 1 to 18 of 18

countif on nonconnected ranges

Hybrid View

village_idiot countif on nonconnected ranges 05-14-2007, 02:34 PM
NBVC Why not just add the 4... 05-14-2007, 03:44 PM
village_idiot I tried your solution, but it... 05-14-2007, 03:55 PM
NBVC What didn't work about it? ... 05-14-2007, 04:00 PM
village_idiot It didn't cause an error, but... 05-14-2007, 04:14 PM
  1. #1
    Registered User
    Join Date
    04-13-2007
    Posts
    19

    countif on nonconnected ranges

    I'm attempting to use the countif formula to make sure a number is entered only once in 4 nonconnected ranges, I492:I496, I499:I503, K492:K496 and K499:K503. I've tried everything I know and as I'm self taught and my teacher is an idiot, I'm not having any luck. Any help will be very much appreciated as I'm down to the last 2 hairs on my head and one of them is already loose.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Why not just add the 4 Countif functions together:

    =Countif(I492:I496,X1)+Countif(I499:I503,X1)+Countif(K492:K496,X1)+Countif(K499:K503,X1)

    Where X1 houses value/string to count.
    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.

  3. #3
    Registered User
    Join Date
    04-13-2007
    Posts
    19
    I tried your solution, but it didn't work. At least it didn't say that the formula was bad, it just didn't work. Thanks anyway

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by village_idiot
    I tried your solution, but it didn't work. At least it didn't say that the formula was bad, it just didn't work. Thanks anyway
    What didn't work about it? Did it give an error? or Wrong count?

    Remember to change X1 to the actual cell housing the value to count or replace it with the value you wnat to count.
    Last edited by NBVC; 05-14-2007 at 04:02 PM.

  5. #5
    Registered User
    Join Date
    04-13-2007
    Posts
    19
    It didn't cause an error, but then again it didn't do anything at all. I know that in the bigger picture this problem isn't much, but like I said I only have 2 hairs left and one is loose. I'll included a zipped file so you can see what I'm doing. I want to keep the people from drawing a card that is already drawn. Again thanks for any and all help.
    Attached Files Attached Files

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    So have your ranges changed to I5:I9, K5:K9, I12:I16, K12:K16?

    I don't see where you tried the formula?

+ 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