Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default AverageIf function with multiple columns

Hello!

I'm trying to determine the average utility costs at my place of business. I have a spreadsheet set up as such:
Column A: The utility name--Electric, Gas, Water
Column B: The month paid
Column C: The amount paid

How do I get an average of the Electric? I can't seem to get the AverageIf function to work whereby if column A is "Electric" then include column C's amount on that row in with the average.

Any help would be hugely appreciated!

Thanks,
w8g
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,045
Default AverageIf function with multiple columns

On Fri, 31 Aug 2012 21:16:52 +0000, wolf8girl wrote:


Hello!

I'm trying to determine the average utility costs at my place of
business. I have a spreadsheet set up as such:
Column A: The utility name--Electric, Gas, Water
Column B: The month paid
Column C: The amount paid

How do I get an average of the Electric? I can't seem to get the
AverageIf function to work whereby if column A is "Electric" then
include column C's amount on that row in with the average.

Any help would be hugely appreciated!

Thanks,
w8g


If all that is in column A is Electric, then:

=AVERAGEIF(A:A,"Electric",C:C)

If Electric is only part of what's there, then add wildcards:

=AVERAGEIF(A:A,"*Electric*",C:C)
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
Is there an AVERAGEIF function in excel? lisab Excel Discussion (Misc queries) 5 November 9th 09 06:46 PM
Averageif function Kevin Anderson Excel Worksheet Functions 4 January 29th 08 11:31 AM
averageif function curtll Excel Worksheet Functions 8 May 8th 06 03:48 AM
AVERAGEIF Function out there? davidad Excel Programming 9 January 22nd 05 12:56 PM
AVERAGEIF Function out there? davidad Excel Discussion (Misc queries) 2 January 21st 05 05:52 PM


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

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"