+ Reply to Thread
Results 1 to 5 of 5

case: SUMIF

  1. #1
    Roger
    Guest

    case: SUMIF

    What formula do I use to get a sum for all values from collum "D" only if
    there is a particular word (out of a few words)in columm "B" of the same row?


  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,789
    If your word is "banana"

    =SUMIF(b:b,"*banana*",d:d)

  3. #3
    Bernard Liengme
    Guest

    re: case: SUMIF

    This worked for me =SUMPRODUCT(--(ISNUMBER(FIND("dog",B1:B4))),D1:D4)
    In B I had text such as "dog sat", "need a dog",
    Any use to you?
    For explanation see
    http://www.xldynamic.com/source/xld.SUMPRODUCT.html

    http://mcgimpsey.com/excel/formulae/doubleneg.html
    --
    Bernard V Liengme
    www.stfx.ca/people/bliengme
    remove caps from email

    "Roger" <[email protected]> wrote in message
    news:[email protected]...
    > What formula do I use to get a sum for all values from collum "D" only if
    > there is a particular word (out of a few words)in columm "B" of the same
    > row?
    >




  4. #4
    Roger
    Guest

    re: case: SUMIF

    thanks so much

    "daddylonglegs" wrote:

    >
    > If your word is "banana"
    >
    > =SUMIF(b:b,"*banana*",d:d)
    >
    >
    > --
    > daddylonglegs
    > ------------------------------------------------------------------------
    > daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
    > View this thread: http://www.excelforum.com/showthread...hreadid=512987
    >
    >


  5. #5
    Brainless_in_Boston
    Guest

    re: case: SUMIF

    From: "Brainless" -

    Thanks for posting this! I had a thorny problem using ranges and cells with
    '00###" formats, and SUMIF worked to get the result I needed. This was a bit
    of an inspration for me. You are much more concise and helpful than Excel
    "help".

    Mark

    "daddylonglegs" wrote:

    >
    > If your word is "banana"
    >
    > =SUMIF(b:b,"*banana*",d:d)
    >
    >
    > --
    > daddylonglegs
    > ------------------------------------------------------------------------
    > daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
    > View this thread: http://www.excelforum.com/showthread...hreadid=512987
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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