+ Reply to Thread
Results 1 to 3 of 3

Sumifs using the contents of a cell as a partial criteria

  1. #1
    Registered User
    Join Date
    03-03-2014
    Location
    Greenacres, Florida
    MS-Off Ver
    Excel 2007
    Posts
    4

    Sumifs using the contents of a cell as a partial criteria

    I posted the question below improperly by replying on another thread and was asked to post a new thread. I already got the answer to my question from a friend, so I'm using this new post to share the solution. My original question was:

    Re: Sumifs using cell reference in criteria

    I have a problem similar to the one in this thread (that I replied on); I'd like to point to the text contents of a cell to use as criteria in my Sumifs function. My formula currently looks like this:

    =SUMIFS(Data!B:B,Data!A:A,"*CIP-168*")

    I want to pick up all cells in my criteria range with the text "CIP-168" in them, but I don't want to have to type it in my Sumifs formula, I want to reference cell B37 with the text "CIP-168" in it. I appreciate any help, thank you!

    The solution: =SUMIFS(Data!B:B,Data!A:A,"*"&B37&"*")

    Hope it's helpful!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: Sumifs using the contents of a cell as a partial criteria

    Thanks for posting it - not many would have bothered.

    As you have solved your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Pete

  3. #3
    Registered User
    Join Date
    03-03-2014
    Location
    Greenacres, Florida
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Sumifs using the contents of a cell as a partial criteria

    Thank you Pete, I thought about that after I posted, but I didn't know how to do it.

+ 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] How to return a cell's contents if it contains partial text
    By d dubya in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-02-2014, 11:51 PM
  2. SUMIFS with Multiple Criteria and a Partial match
    By paulbeav in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-28-2013, 04:00 PM
  3. [SOLVED] Look up Partial Cell contents
    By AlexKen in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 09-05-2012, 03:43 PM
  4. Sort by the partial contents of a cell
    By WasWodge in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-24-2011, 03:11 PM
  5. Return cell contents on a partial match
    By rhani111 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-04-2008, 12:13 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