+ Reply to Thread
Results 1 to 4 of 4

Error Message When Combining IF and COUNTIF Functions

  1. #1
    Forum Contributor
    Join Date
    12-16-2014
    Location
    Riverside, IA
    MS-Off Ver
    2010
    Posts
    156

    Error Message When Combining IF and COUNTIF Functions

    Hello All,

    The following formula results in the #VALUE! error message

    =IF($G$5:$G$75,"A*",COUNTIF($I$5:$I$75,">0%"))

    Column G contains 3 versions of A, A+ and A- along with other letters and blank cells.

    Column I contains cells with %'s and blank cells.

    The equation needs to add the number of rows in column I that contain A, A+ and A- in column G.

    Thank you,

    Patrick

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: Error Message When Combining IF and COUNTIF Functions

    Try this:

    =COUNTIFS($G$5:$G$75,"A*",$I$5:$I$75,">0%")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    12-16-2014
    Location
    Riverside, IA
    MS-Off Ver
    2010
    Posts
    156

    Re: Error Message When Combining IF and COUNTIF Functions

    AliG,

    That worked.....Bravo!!!

    Thank you much,

    Patrick

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: Error Message When Combining IF and COUNTIF Functions

    You're welcome!

+ 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. Combining IF COUNTIF AND functions
    By sbala in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-11-2015, 12:47 PM
  2. Need help combining advanced countif functions....
    By capy12 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-30-2013, 11:25 AM
  3. Combining Functions Countif & Frequency
    By vagabond in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-10-2010, 08:04 AM
  4. Combining IF and COUNTIF functions
    By cbee907 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-26-2010, 11:35 AM
  5. [SOLVED] Combining LOOKUP and COUNTIF functions
    By kate_suzanne in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-22-2006, 02:05 AM
  6. [SOLVED] Combining COUNTIF and AND functions
    By david in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 07-06-2006, 10:00 PM
  7. [SOLVED] combining countif and mid or right functions
    By Charles Woll in forum Excel General
    Replies: 5
    Last Post: 07-09-2005, 08:05 PM

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