+ Reply to Thread
Results 1 to 2 of 2

Calculate SUM, under 1 condition

  1. #1
    Registered User
    Join Date
    12-23-2015
    Location
    Amsterdam
    MS-Off Ver
    latest
    Posts
    11

    Calculate SUM, under 1 condition

    Hi,

    I try to calculate the sum of a couple of cells in Column B, when there a condition in Column A is met. I added an example to clarify my problem: Dummy Dataset.xlsx

    Any ideas?

    Thank you!

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Calculate SUM, under 1 condition

    Try this...

    Data Range
    A
    B
    C
    D
    E
    1
    Textfield
    Numbers
    ------
    Counted:
    1246
    2
    Lorem ipsum
    45
    3
    dolor sit cu solet
    364
    cu solet
    1246
    4
    verit eam, muciu
    4997
    5
    cu solets, pri cu sol
    31
    6
    s accumsan tr cu solet
    46
    7
    scripta luptatum nam
    564
    8
    ition cu soletem vim. Fas
    7
    9
    mi duo at. Err
    5
    10
    tion graecis,
    7
    11
    fastidii du
    1
    12
    cibo percipi
    117
    13
    vim cu solet cu.
    798


    This formula entered in E3:

    =SUMIF(A2:A13,"*"&D3&"*",B2:B13)

    You may have to replace the commas with semi-colons.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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: 1
    Last Post: 08-28-2015, 02:04 AM
  2. calculate 3 condition in 1 cell
    By Bikashkab in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-30-2014, 10:54 AM
  3. Calculate Mod of number on cell with condition
    By henry220 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-05-2013, 12:52 PM
  4. How to get a formula to calculate only if a certain condition is met on another sheet
    By necht_angel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-08-2012, 05:09 AM
  5. Calculate hours based on condition
    By Busman in forum Excel General
    Replies: 0
    Last Post: 07-20-2011, 02:55 PM
  6. how to calculate sum on certain condition
    By vaibhavjain in forum Excel General
    Replies: 2
    Last Post: 04-28-2011, 07:45 AM
  7. if condition calculate sum...
    By MSlv in forum Excel General
    Replies: 2
    Last Post: 05-06-2010, 02:27 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