+ Reply to Thread
Results 1 to 2 of 2

Thread: How to reference a cell

  1. #1
    Registered User
    Join Date
    01-04-2005
    Posts
    2

    How to reference a cell

    I need who can explain why the following works...

    =COUNTIF(D10:D374,">149")

    But the following does not...

    =COUNTIF(D10:D374,">B5")
    nor does...
    =COUNTIF(D10:D374,>B5)

    If I specify just the cell B5 it works, and it works if I include the > symbol in the cell, but with the greater than operator in the formula it does not work when used as a criteria.

    All cells are formatted as NUMBER.

    I want to use the cell reference in the formula, as it would be easier to change it in that one location rather than 80 or so locations throughout a couple of sheets in the workbook.

    Mike

  2. #2
    Valued Forum Contributor
    Join Date
    09-05-2004
    Location
    Melbourne
    Posts
    193
    I think you'll find that this works

    =COUNTIF(D10:D374,">" & B5)

    Cheers!

+ 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.2.0