+ Reply to Thread
Results 1 to 5 of 5

Looking for formula correction

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Looking for formula correction

    Hello the below is a sum formula and adds number less the 0 and if other column matches the word "TEST"

    =SUM(SUMIFS(E2:E308,E2:E308,"<0",F2:F308,{"TEST"}))


    How do I make the formula still work if the other cell contains the word TEST along with other words? Does not have to be only the word TEST

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

    Re: Looking for formula correction

    It depends. Where in the cell will the word be? Always at the start?

    If so, then this:

    =SUMIFS(E2:E308,E2:E308,"<0",F2:F308,"TEST"&"*")

    This is superfluous to requirement as you have only one text value and you don't need the {}:

    =SUM(SUMIFS(E2:E308,E2:E308,"<0",F2:F308,{"TEST"}))

    could easily be:

    =SUMIFS(E2:E308,E2:E308,"<0",F2:F308,"TEST")
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Re: Looking for formula correction

    Thanks. I was able to get it to work with your help. Solved.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Looking for formula correction

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.
    Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Looking for formula correction

    You are still required to provide the link to your x-posting.

+ 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] IF and INT formula correction
    By mazan2010 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-24-2016, 04:26 AM
  2. [SOLVED] Formula correction
    By Kym-B in forum Excel General
    Replies: 2
    Last Post: 01-09-2014, 07:27 AM
  3. Formula correction
    By mukeshbaviskar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-17-2013, 04:08 AM
  4. [SOLVED] correction of formula please............
    By JE McGimpsey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  5. Re: Formula correction HELP!!!
    By Jay in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-02-2005, 04:06 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