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

I am creating a holiday card for staff in the office and wanted to know if
there is a sumif function for adding up the number of times a specific letter
appears in a row. I have created a calendar using the names of staff (on the
vertical) and the dates (on the horizontal) and now need to put in a function
that will allow me to collect the number of "H" characters (holidays) for
each row.

been at it all morning but I am missing a bracket or a comma somewhere.....
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default SumIf

Hi,

Because they are letters you would count them and not sum them so you can
use COUNTIF

=COUNTIF(A1:J1,"H")

Change the range and drag down as required.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Debi" wrote:

I am creating a holiday card for staff in the office and wanted to know if
there is a sumif function for adding up the number of times a specific letter
appears in a row. I have created a calendar using the names of staff (on the
vertical) and the dates (on the horizontal) and now need to put in a function
that will allow me to collect the number of "H" characters (holidays) for
each row.

been at it all morning but I am missing a bracket or a comma somewhere.....

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

YAY - Thanks Mike. All done.

"Mike H" wrote:

Hi,

Because they are letters you would count them and not sum them so you can
use COUNTIF

=COUNTIF(A1:J1,"H")

Change the range and drag down as required.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Debi" wrote:

I am creating a holiday card for staff in the office and wanted to know if
there is a sumif function for adding up the number of times a specific letter
appears in a row. I have created a calendar using the names of staff (on the
vertical) and the dates (on the horizontal) and now need to put in a function
that will allow me to collect the number of "H" characters (holidays) for
each row.

been at it all morning but I am missing a bracket or a comma somewhere.....

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default SumIf

Your welcome
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Debi" wrote:

YAY - Thanks Mike. All done.

"Mike H" wrote:

Hi,

Because they are letters you would count them and not sum them so you can
use COUNTIF

=COUNTIF(A1:J1,"H")

Change the range and drag down as required.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Debi" wrote:

I am creating a holiday card for staff in the office and wanted to know if
there is a sumif function for adding up the number of times a specific letter
appears in a row. I have created a calendar using the names of staff (on the
vertical) and the dates (on the horizontal) and now need to put in a function
that will allow me to collect the number of "H" characters (holidays) for
each row.

been at it all morning but I am missing a bracket or a comma somewhere.....

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
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
sumif help stuarthow Excel Worksheet Functions 3 July 21st 05 02:09 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 08:40 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"