#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUMIF

It is a simple yes/no question.. Can i use the sum if function with text? Or
am i stuck with Look up?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default SUMIF

=SUMIF(A2:A8,"yes",B2:B8)
will sum the values in B2:B8 if the text in A2:A8 is yes.

Hope this helps.
--
John C


"forevercali" wrote:

It is a simple yes/no question.. Can i use the sum if function with text? Or
am i stuck with Look up?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUMIF

What if text is in B2:B8. Will it return the text or 0?

"John C" wrote:

=SUMIF(A2:A8,"yes",B2:B8)
will sum the values in B2:B8 if the text in A2:A8 is yes.

Hope this helps.
--
John C


"forevercali" wrote:

It is a simple yes/no question.. Can i use the sum if function with text? Or
am i stuck with Look up?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default SUMIF

You can't sum text, how would excel know how much "overdue"(etc.) equals out
to? Perhaps if you give a sample data set of what you have, and describe in
more detail what you are trying to calculate.
--
John C


"forevercali" wrote:

What if text is in B2:B8. Will it return the text or 0?

"John C" wrote:

=SUMIF(A2:A8,"yes",B2:B8)
will sum the values in B2:B8 if the text in A2:A8 is yes.

Hope this helps.
--
John C


"forevercali" wrote:

It is a simple yes/no question.. Can i use the sum if function with text? Or
am i stuck with Look up?

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default SUMIF

As John mentioned text has no actual "value," so it can't be summed.
However, you can use the & operator to concatenate pieces of text (or
numbers).

=A1&B1&C1&D1 would get you TheQuickBrownFox if that text was in the
indicated cells

You can also add " " to get spaces: =A1&" "&B1&" "&C1&" "&D1 gets you
The Quick Brown Fox



On Oct 14, 10:44*am, John C <johnc@stateofdenial wrote:
You can't sum text, how would excel know how much "overdue"(etc.) equals out
to? Perhaps if you give a sample data set of what you have, and describe in
more detail what you are trying to calculate.
--
John C

"forevercali" wrote:
What if text is in B2:B8. Will it return the text or 0?


"John C" wrote:


=SUMIF(A2:A8,"yes",B2:B8)
will sum the values in B2:B8 if the text in A2:A8 is yes.


Hope this helps.
--
John C


"forevercali" wrote:


It is a simple yes/no question.. Can i use the sum if function with text? *Or
am i stuck with Look up?


Thanks




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default SUMIF

And, if your text is numeric, you can change it into a value you can then sum
using =VALUE("yourtext")

"Reitanos" wrote:

As John mentioned text has no actual "value," so it can't be summed.
However, you can use the & operator to concatenate pieces of text (or
numbers).

=A1&B1&C1&D1 would get you TheQuickBrownFox if that text was in the
indicated cells

You can also add " " to get spaces: =A1&" "&B1&" "&C1&" "&D1 gets you
The Quick Brown Fox



On Oct 14, 10:44 am, John C <johnc@stateofdenial wrote:
You can't sum text, how would excel know how much "overdue"(etc.) equals out
to? Perhaps if you give a sample data set of what you have, and describe in
more detail what you are trying to calculate.
--
John C

"forevercali" wrote:
What if text is in B2:B8. Will it return the text or 0?


"John C" wrote:


=SUMIF(A2:A8,"yes",B2:B8)
will sum the values in B2:B8 if the text in A2:A8 is yes.


Hope this helps.
--
John C


"forevercali" wrote:


It is a simple yes/no question.. Can i use the sum if function with text? Or
am i stuck with Look up?


Thanks



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 ?! .... not quite enough.... WhytheQ Excel Worksheet Functions 4 July 4th 07 03:08 PM
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
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 09:06 PM.

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

About Us

"It's about Microsoft Excel"