+ Reply to Thread
Results 1 to 6 of 6

=Count(IF(And... Function will not bring in values.

  1. #1
    Registered User
    Join Date
    01-23-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    81

    =Count(IF(And... Function will not bring in values.

    Hi,

    I am trying to use "CountIfs" across two sheets and I know it will not work if it is closed. So I am trying to use:

    {=COUNT(IF(AND('[2014 Benefits Abeyance Log (USE THIS ONE).xlsm]2014 LOG - Current (2)'!$FL$6:$FL$719>10,'[2014 Benefits Abeyance Log (USE THIS ONE).xlsm]2014 LOG - Current (2)'!$FL$6:$FL$719<15),1))}

    But it return a value of "0"

    When I do {=COUNT(IF('[2014 Benefits Abeyance Log (USE THIS ONE).xlsm]2014 LOG - Current (2)'!$FL$6:$FL$719>10,1))}

    I get 423.

    I want to get values more then or equal to 10 but less then 15 and moving up until 60 doing that.


    Thanks,

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: =Count(IF(And... Function will not bring in values.

    Yep, and doesn't work that way in an array formula.

    Try like this (I'm removing the long book/sheet references to make it easier on the eyes)

    =COUNT(IF(($FL$6:$FL$719>10)*($FL$6:$FL$719<15),1))
    Last edited by Jonmo1; 04-15-2014 at 02:16 PM.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: =Count(IF(And... Function will not bring in values.

    you can't use AND in these type of formulas, use * instead, i.e.

    =COUNT(IF(('[2014 Benefits Abeyance Log (USE THIS ONE).xlsm]2014 LOG - Current (2)'!$FL$6:$FL$719>10)*('[2014 Benefits Abeyance Log (USE THIS ONE).xlsm]2014 LOG - Current (2)'!$FL$6:$FL$719<15),1))

    ....or you can use SUMPRODUCT to avoid "array entry" i.e.

    =SUMPRODUCT(('[2014 Benefits Abeyance Log (USE THIS ONE).xlsm]2014 LOG - Current (2)'!$FL$6:$FL$719>10)*('[2014 Benefits Abeyance Log (USE THIS ONE).xlsm]2014 LOG - Current (2)'!$FL$6:$FL$719<15))
    Audere est facere

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: =Count(IF(And... Function will not bring in values.

    Also, instead of the Array entered formula, try countifS

    =COUNTIFS($FL$6:$FL$719,">10",$FL$6:$FL$719,"<15")

  5. #5
    Registered User
    Join Date
    01-23-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    81

    Re: =Count(IF(And... Function will not bring in values.

    OMG! Worked Beautifully, Thanks Jonmo!!!

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: =Count(IF(And... Function will not bring in values.

    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. [SOLVED] COUNT function does not count values beginning with text
    By PeteABC123 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-15-2013, 06:38 PM
  2. Bring values from another ws
    By stratos2121 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-03-2013, 04:59 PM
  3. [SOLVED] 2 values to bring back 1 value
    By hughesy321 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-22-2013, 06:47 AM
  4. [SOLVED] Bring multiply values from a table
    By douglascaixeta in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-27-2013, 08:59 PM
  5. Bring Values beneath each other
    By malnahar in forum Excel General
    Replies: 4
    Last Post: 09-17-2009, 03:26 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