+ Reply to Thread
Results 1 to 4 of 4

COUNTIF <>= Referencing a specific cell

Hybrid View

nighthalcyon COUNTIF <>= Referencing a... 05-31-2013, 12:10 PM
shammi_Raj Re: COUNTIF <>= Referencing a... 05-31-2013, 12:15 PM
XOR LX Re: COUNTIF <>= Referencing a... 05-31-2013, 12:39 PM
nighthalcyon Re: COUNTIF <>= Referencing a... 05-31-2013, 12:52 PM
  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    Colorado, US
    MS-Off Ver
    Excel 2007
    Posts
    11

    COUNTIF <>= Referencing a specific cell

    Hi all, I'm trying to count the number of occurences in a column of data that are over the number 22 (or however many business days there end up being in a month).

    My formula now is: =COUNTIF(E12:E1104,">=22") and it works just fine...

    But just out of curiosity, could I have a special cell called "Business Days in the Month" in Cell A1, and then reference that cell in my formula? I would imagine it would look something like this, but I can't get it to work: =COUNTIF(E12:E1104,">=A1)

    Thanks.

  2. #2
    Registered User
    Join Date
    11-27-2009
    Location
    NYC
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: COUNTIF <>= Referencing a specific cell

    simple solutoin could be an 'countifs'.
    Also you can use array with countif to get the same of you have month column next to it.

    A exmaple of what you are trying to acheive would give better idea.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: COUNTIF <>= Referencing a specific cell

    Actually you were nearly right - just need to change the syntax slightly:

    =COUNTIF(E12:E1104,">="&A1)

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Registered User
    Join Date
    05-31-2013
    Location
    Colorado, US
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: COUNTIF <>= Referencing a specific cell

    Quote Originally Posted by XOR LX View Post
    Actually you were nearly right - just need to change the syntax slightly:

    =COUNTIF(E12:E1104,">="&A1)

    Regards
    That was exactly it. I didn't realize I needed that "&" symbol there. Thanks very much !!

+ 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