+ Reply to Thread
Results 1 to 3 of 3

How to SUM from a different sheet based on text pattern?

  1. #1
    Registered User
    Join Date
    07-14-2014
    Location
    Vancouver, BC
    MS-Off Ver
    2013
    Posts
    2

    Question How to SUM from a different sheet based on text pattern?

    Hello,

    I have a formula such as below..

    =SUMIF('MBX TO DBS'!$G$1:$G$818,"*livedb01*")

    This will sum the values in G1-G818 that contain livedb01 on the "MBX TO DBS" sheet, however this is not exactly what I want.. I want the SUM function to look for the livedb01 string in G1-G818 and SUM the values in D1-D818.

    So instead it would look for livedb01 text in G column and take the value from D and SUM those once the text qualifier was found in G column..

    Is this possible with Excel?

    Thank you.

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: How to SUM from a different sheet based on text pattern?

    One more comma, [sum_Range]

    So put a D1:D818 at the end of it.

    =SUMIF('MBX TO DBS'!$G$1:$G$818,"*livedb01*",$D$1:$D$818)

    or if the column D is on the other sheet as well,

    =SUMIF('MBX TO DBS'!$G$1:$G$818,"*livedb01*",'MBX TO DBS'!$D$1:$D$818)


    Last edited by Speshul; 07-14-2014 at 03:56 PM.
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  3. #3
    Registered User
    Join Date
    07-14-2014
    Location
    Vancouver, BC
    MS-Off Ver
    2013
    Posts
    2

    Re: How to SUM from a different sheet based on text pattern?

    Thank you, exactly what i needed.

+ 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. Replies: 5
    Last Post: 05-29-2014, 05:09 PM
  2. [SOLVED] Populate Keyword List based on Pattern
    By ypnOz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-14-2013, 10:32 AM
  3. Delete cells based on pattern
    By Nkpg011 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-18-2013, 02:23 PM
  4. Calcuations based on string pattern
    By goku4 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-15-2013, 03:45 AM
  5. Copying cells based on pattern
    By nougain in forum Excel General
    Replies: 4
    Last Post: 03-20-2007, 05:11 PM

Tags for this Thread

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