+ Reply to Thread
Results 1 to 3 of 3

Excel 2003 STDEV and SUMIF Formulas with Multiple Criteria

  1. #1
    Registered User
    Join Date
    04-24-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    2

    Excel 2003 STDEV and SUMIF Formulas with Multiple Criteria

    Hi,

    I am trying to get the two formulas to work below. Basically for the first one I am trying to take the stdev of all the values in column Q that have the data in column J values listed are = "1", as well as the value in O being >19 as well as <39. If J=1, and O>19 as well as O<39, I would like it to take the stdev of all the values that fit the criteria in row Q.

    The second one is very similar, except I want to sum the values if they meet the criteria.

    Please Login or Register  to view this content.
    Thank you so much for your help
    Last edited by xet; 04-24-2012 at 01:47 AM.

  2. #2
    Registered User
    Join Date
    04-24-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Excel 2003 STDEV and SUMIF Formulas with Multiple Criteria

    anyone any ideas? I've been reading through pages of searches and haven't been able to get it to work myself

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

    Re: Excel 2003 STDEV and SUMIF Formulas with Multiple Criteria

    Normally when dealing with numbers you don't use quotes (unless they are formatted as text)......and + effectively gives you an "OR", I think you want * for an "AND" so an "array formula" for the STDEV....

    =STDEV(IF((J2:J6357=1)*(O2:O6357>=19)*(O2:O6357<=39),Q2:Q6357))

    That needs to be confirmed with CTRL+SHIFT+ENTER so that curly braces like { and } appear around the formula in the formula bar

    For a sum try SUMPRODUCT to avoid "array entry", i.e.

    =SUMPRODUCT((J2:J6357=1)*(O2:O6357>=19)*(O2:O6357<=39),Q2:Q6357)
    Audere est facere

+ 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