Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default help with averages formula

sorry if this is a dumb question, not too familiar with excel: I am working
on a report that, in part, is tracking how long patients stay in the spinal
cord injury center according to their injury (for example: paraplegic,
tetraplegic).

I need to get the average for the number of days for patients with each type
of injury. I have two columns, one with the number of days they stayed and
the other with a dropdown list of injury type (para, tetra). How do I get the
average for only those patients that have a para injury type?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 694
Default help with averages formula

Hi Jesse
Try this array formula
=AVERAGE(IF(B13:B22="tetra",A13:A22)) you need to enter it with Ctrl Shift
Enter

HTH
John
"Jesse Blanchard" wrote in
message ...
sorry if this is a dumb question, not too familiar with excel: I am
working
on a report that, in part, is tracking how long patients stay in the
spinal
cord injury center according to their injury (for example: paraplegic,
tetraplegic).

I need to get the average for the number of days for patients with each
type
of injury. I have two columns, one with the number of days they stayed and
the other with a dropdown list of injury type (para, tetra). How do I get
the
average for only those patients that have a para injury type?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 694
Default help with averages formula

Hi Again
Just in case you're not familiar with ARRAY formulas
You must enter that formula by pressing CTRL-SHIFT-ENTER to activate
the array. you'll see curly braces { } around your formula if you do it
right .
Everytime you edit that formula, you must press Ctrl-Shift-Enter for it to
work.
Regards
John
"John" wrote in message
...
Hi Jesse
Try this array formula
=AVERAGE(IF(B13:B22="tetra",A13:A22)) you need to enter it with Ctrl
Shift
Enter

HTH
John
"Jesse Blanchard" wrote in
message ...
sorry if this is a dumb question, not too familiar with excel: I am
working
on a report that, in part, is tracking how long patients stay in the
spinal
cord injury center according to their injury (for example: paraplegic,
tetraplegic).

I need to get the average for the number of days for patients with each
type
of injury. I have two columns, one with the number of days they stayed
and
the other with a dropdown list of injury type (para, tetra). How do I get
the
average for only those patients that have a para injury type?



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
help with averages formula Luke M Excel Discussion (Misc queries) 0 February 4th 09 09:06 PM
Formula help with averages and if then statements Lisa Excel Worksheet Functions 1 June 25th 08 04:29 PM
Averages formula/0 rldjda Excel Worksheet Functions 7 April 6th 08 12:37 AM
averages formula Gerald Excel Worksheet Functions 1 July 5th 05 05:56 AM
averages formula Gerald Excel Worksheet Functions 1 July 4th 05 04:50 PM


All times are GMT +1. The time now is 01:44 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"