Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
MaryH
 
Posts: n/a
Default Averages with blank cells and specified criteria

Hi, I am trying to develop a formula to have attendance reports and averages.
I want to divide the groups into adults, youth and children. I have a column
identifying the group each person is in (A Y or C).

I have a worksheet for each program (wed, thurs, fri or sun) and i want to
tally the totals on another sheet and then make an overall statistics sheet.

I am using =SUMIF(Sunday!B:B,"A",Sunday!E:E) on the initial stats but it is
coming up as an error.

I am using =AVERAGE(IF('Initial Stats '!4:40, 'Initial Stats '!4:4,""))

I thought I had everything set fine and when I opened the program today to
start entering data there were errors everywhere.

Thanks, Mary

  #2   Report Post  
Posted to microsoft.public.excel.newusers
Bob Phillips
 
Posts: n/a
Default Averages with blank cells and specified criteria

Mary,

That is an array formula, so you need to confirm those formulae with
Ctrl-Shift-Enter, not just Enter.

You can also use just

=AVERAGE(IF('Initial Stats '!4:40, 'Initial Stats '!4:4))

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"MaryH" wrote in message
...
Hi, I am trying to develop a formula to have attendance reports and

averages.
I want to divide the groups into adults, youth and children. I have a

column
identifying the group each person is in (A Y or C).

I have a worksheet for each program (wed, thurs, fri or sun) and i want to
tally the totals on another sheet and then make an overall statistics

sheet.

I am using =SUMIF(Sunday!B:B,"A",Sunday!E:E) on the initial stats but it

is
coming up as an error.

I am using =AVERAGE(IF('Initial Stats '!4:40, 'Initial Stats '!4:4,""))

I thought I had everything set fine and when I opened the program today to
start entering data there were errors everywhere.

Thanks, Mary



  #3   Report Post  
Posted to microsoft.public.excel.newusers
MaryH
 
Posts: n/a
Default Averages with blank cells and specified criteria


Hi Bob,

It didn't work. If I put a comma between the 4 and 0 I get a wrong formula.

If I do not put the comma in, I have no results at all. Excell allows me to
enter the formula without an "error" but there are no results either.

Mary
  #4   Report Post  
Posted to microsoft.public.excel.newusers
Peo Sjoblom
 
Posts: n/a
Default Averages with blank cells and specified criteria

Why don't you just copy Bob's formula, btw do you really have a trailing
space in the sheet name
If not use

=AVERAGE(IF('Initial Stats'!4:40, 'Initial Stats'!4:4))

entered with ctrl + shift & enter

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"MaryH" wrote in message
...

Hi Bob,

It didn't work. If I put a comma between the 4 and 0 I get a wrong
formula.

If I do not put the comma in, I have no results at all. Excell allows me
to
enter the formula without an "error" but there are no results either.

Mary



  #5   Report Post  
Posted to microsoft.public.excel.newusers
MaryH
 
Posts: n/a
Default Averages with blank cells and specified criteria

Hi Peo,

I needed to put in a third element and now it works.

=AVERAGE(IF('Initial Stats'!4:40, 'Initial Stats'!4:4,"")) I needed the
[value_if_false] which is the ""

I did copy Bob's formula and it did not work. This new one worked.

Thanks, I would not have been successful without your help.

Mary

"Peo Sjoblom" wrote:

Why don't you just copy Bob's formula, btw do you really have a trailing
space in the sheet name
If not use

=AVERAGE(IF('Initial Stats'!4:40, 'Initial Stats'!4:4))

entered with ctrl + shift & enter

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"MaryH" wrote in message
...

Hi Bob,

It didn't work. If I put a comma between the 4 and 0 I get a wrong
formula.

If I do not put the comma in, I have no results at all. Excell allows me
to
enter the formula without an "error" but there are no results either.

Mary






  #6   Report Post  
Posted to microsoft.public.excel.newusers
Bob Phillips
 
Posts: n/a
Default Averages with blank cells and specified criteria

You don't need the ,"", it must have been the trailing space as Peo
suggested.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"MaryH" wrote in message
...
Hi Peo,

I needed to put in a third element and now it works.

=AVERAGE(IF('Initial Stats'!4:40, 'Initial Stats'!4:4,"")) I needed the
[value_if_false] which is the ""

I did copy Bob's formula and it did not work. This new one worked.

Thanks, I would not have been successful without your help.

Mary

"Peo Sjoblom" wrote:

Why don't you just copy Bob's formula, btw do you really have a trailing
space in the sheet name
If not use

=AVERAGE(IF('Initial Stats'!4:40, 'Initial Stats'!4:4))

entered with ctrl + shift & enter

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"MaryH" wrote in message
...

Hi Bob,

It didn't work. If I put a comma between the 4 and 0 I get a wrong
formula.

If I do not put the comma in, I have no results at all. Excell allows

me
to
enter the formula without an "error" but there are no results either.

Mary






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



All times are GMT +1. The time now is 12:03 PM.

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"