Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default sumif and contains

I would like to sum numbers in one column if the text in another
column contains a certain text. example below.

A B
2 dogcat
3 dogone
4 catother
5 catone
3 himdog
6 dog this

so I would like to sum the numbers which appear on rows where there is
dog in column B.

I have looked on google groups for sumif and contains, but could not
find this type of thing.
Barbara
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 136
Default sumif and contains

Hi Barbara,

Where you want your total to be enter

=SUMIF(B1:B100,"*dog*",A1:A100)

Hope this helps

Regards,

Gav

"barb24" wrote:

I would like to sum numbers in one column if the text in another
column contains a certain text. example below.

A B
2 dogcat
3 dogone
4 catother
5 catone
3 himdog
6 dog this

so I would like to sum the numbers which appear on rows where there is
dog in column B.

I have looked on google groups for sumif and contains, but could not
find this type of thing.
Barbara

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
SumIf Steven Excel Worksheet Functions 7 November 29th 05 10:38 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 04:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"