+ Reply to Thread
Results 1 to 4 of 4

Reference the cell value, not the formula

  1. #1
    Registered User
    Join Date
    02-12-2016
    Location
    ireland
    MS-Off Ver
    2010
    Posts
    4

    Reference the cell value, not the formula

    Hi,

    I wanted the count the number of times a range contains the text 'Yes'.
    The cells in this range all contain formulas.

    How do I reference the cell value (Yes) in my formula?

    I'm using =COUNT(AG5:AG99 = "Yes")


    Gerry

  2. #2
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: Reference the cell value, not the formula

    =COUNTIF(AG5:AG99,"Yes")

  3. #3
    Registered User
    Join Date
    02-12-2016
    Location
    ireland
    MS-Off Ver
    2010
    Posts
    4

    Re: Reference the cell value, not the formula

    Ah, spot on. Thanks alot.

    Gerry

  4. #4
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: Reference the cell value, not the formula

    Please close this thread.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Replace a cell reference in a formula with dynamic reference
    By jkj115 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2016, 11:04 AM
  2. Replies: 1
    Last Post: 02-11-2015, 01:56 PM
  3. [SOLVED] Glitched formula? IF statement does not work because of a formula in a reference cell
    By Tworksheets in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-04-2013, 02:16 PM
  4. copy formula down entire column while changing formula cell reference
    By am_hawk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-22-2013, 11:34 AM
  5. [SOLVED] Replace absolute cell reference with Indirect cell reference in formula
    By Roothy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-11-2013, 04:46 AM
  6. Dragging formula, change sheet reference, but not cell reference
    By Kalilaya0419 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-13-2013, 04:50 PM
  7. [SOLVED] Using a cell reference within a cell reference in a formula
    By david in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-01-2006, 08:10 AM

Tags for this Thread

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