+ Reply to Thread
Results 1 to 6 of 6

Formula help to sum a range if criteria across 3 ranges = blank, month and text string

  1. #1
    Registered User
    Join Date
    03-31-2014
    Location
    UK
    MS-Off Ver
    MAC Excel 2011
    Posts
    3

    Formula help to sum a range if criteria across 3 ranges = blank, month and text string

    Hi All

    I'm trying to write an array formula to sum a column/range (G3:G76) if cells in 3 other columns (A, D & L) all match the below criteria:

    A) cell is blank in column in column L
    B) specific month in column D
    C) specific text string in column A

    So far I have:

    =SUM(IF(ISBLANK($L$3:$L$76),(IF(MONTH($D$3:$D$76)=11,(IF(MATCH("ST",$A$3:$A$76),$G$3:$G$76,0))))))

    The formula partially works, but the formula is not matching specific text string (I think).

    Any pointers, ideas welcome and appreciated!

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Formula help to sum a range if criteria across 3 ranges = blank, month and text string

    check if third argument in MATCH helps
    MATCH("ST",$A$3:$A$76,0)
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    03-30-2014
    Location
    Suzhou,China
    MS-Off Ver
    Excel 2003
    Posts
    41

    Re: Formula help to sum a range if criteria across 3 ranges = blank, month and text string

    please try this array formula:

    =SUM(ISBLANK($L$3:$L$76)*(MONTH($D$3:$D$76)=11)*("ST"=$A$3:$A$76)*$G$3:$G$76)

  4. #4
    Registered User
    Join Date
    03-31-2014
    Location
    UK
    MS-Off Ver
    MAC Excel 2011
    Posts
    3

    Re: Formula help to sum a range if criteria across 3 ranges = blank, month and text string

    Quote Originally Posted by Kaper View Post
    check if third argument in MATCH helps
    MATCH("ST",$A$3:$A$76,0)
    Thanks but this didn't do it.

  5. #5
    Registered User
    Join Date
    03-31-2014
    Location
    UK
    MS-Off Ver
    MAC Excel 2011
    Posts
    3

    Re: Formula help to sum a range if criteria across 3 ranges = blank, month and text string

    Quote Originally Posted by wcymiss View Post
    please try this array formula:

    =SUM(ISBLANK($L$3:$L$76)*(MONTH($D$3:$D$76)=11)*("ST"=$A$3:$A$76)*$G$3:$G$76)
    Spot on this worked! Thank you.

    As a follow up question how do I add to this formula to match only dates over 30 days old in column D?

  6. #6
    Registered User
    Join Date
    03-30-2014
    Location
    Suzhou,China
    MS-Off Ver
    Excel 2003
    Posts
    41
    Did you mean this?
    =SUM(ISBLANK($L$3:$L$76)*(today()-$D$3:$D$76>30)*("ST"=$A$3:$A$76)*$G$3:$G$76)
    Welcome to China,Welcome to Suzhou...And,我是来学英文的。

+ 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. Formula(s) to extract string that matches certain criteria from a text
    By Turtler in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 01-27-2014, 05:18 AM
  2. [SOLVED] Extract text from a string of text (amend formula to include new criteria)
    By robertguy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-10-2013, 04:53 PM
  3. [SOLVED] Formula to find string in range that meets certain criteria
    By satania in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-16-2013, 12:22 PM
  4. Need Last Day of Month formula in a text string.
    By lisa6538 in forum Excel General
    Replies: 1
    Last Post: 10-30-2012, 12:54 PM
  5. formula to return value from string of text if certain criteria exists
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-29-2012, 02:19 AM

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