Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Conditional averages

I have in a row (adjacent coloumns)months & quarters (Jan, Feb, March,
quarter 1...upto Quarter 4 and then year total). I want to calculate the
annual average ignoring the quarter figures and the blank cells also. Pl help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Conditional averages

change your quarterly averages to use

=Subtotal(1,monthly cells)

and your annual average to

=Subtotal(1, all cells)

The subtotal() function will ignore any other subtotal() formulas in the
range, and appears to ignore empty cells, too



"HARSH BAHAL" wrote:

I have in a row (adjacent coloumns)months & quarters (Jan, Feb, March,
quarter 1...upto Quarter 4 and then year total). I want to calculate the
annual average ignoring the quarter figures and the blank cells also. Pl help

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

Thanks Duke But it has not solved my problem. Actually there are three rows
which total upto to a fourth row which is the sum of three rows, and the
annual average is to be defined for the the fourth row, in which the returned
value of average is not matching to that of individula rows. May be I am not
being clear, if you can give me your ID , I will be able to explain you
better with attachments.

Regards,
Harsh Bahal




"Duke Carey" wrote:

change your quarterly averages to use

=Subtotal(1,monthly cells)

and your annual average to

=Subtotal(1, all cells)

The subtotal() function will ignore any other subtotal() formulas in the
range, and appears to ignore empty cells, too



"HARSH BAHAL" wrote:

I have in a row (adjacent coloumns)months & quarters (Jan, Feb, March,
quarter 1...upto Quarter 4 and then year total). I want to calculate the
annual average ignoring the quarter figures and the blank cells also. Pl help

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

Just show some numbers in your reply and we can try to diagnose from there

"HARSH BAHAL" wrote:

Thanks Duke But it has not solved my problem. Actually there are three rows
which total upto to a fourth row which is the sum of three rows, and the
annual average is to be defined for the the fourth row, in which the returned
value of average is not matching to that of individula rows. May be I am not
being clear, if you can give me your ID , I will be able to explain you
better with attachments.

Regards,
Harsh Bahal




"Duke Carey" wrote:

change your quarterly averages to use

=Subtotal(1,monthly cells)

and your annual average to

=Subtotal(1, all cells)

The subtotal() function will ignore any other subtotal() formulas in the
range, and appears to ignore empty cells, too



"HARSH BAHAL" wrote:

I have in a row (adjacent coloumns)months & quarters (Jan, Feb, March,
quarter 1...upto Quarter 4 and then year total). I want to calculate the
annual average ignoring the quarter figures and the blank cells also. Pl help

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Conditional averages

Thanks Duke, but I was able to solve it during the interim.

"Duke Carey" wrote:

Just show some numbers in your reply and we can try to diagnose from there

"HARSH BAHAL" wrote:

Thanks Duke But it has not solved my problem. Actually there are three rows
which total upto to a fourth row which is the sum of three rows, and the
annual average is to be defined for the the fourth row, in which the returned
value of average is not matching to that of individula rows. May be I am not
being clear, if you can give me your ID , I will be able to explain you
better with attachments.

Regards,
Harsh Bahal




"Duke Carey" wrote:

change your quarterly averages to use

=Subtotal(1,monthly cells)

and your annual average to

=Subtotal(1, all cells)

The subtotal() function will ignore any other subtotal() formulas in the
range, and appears to ignore empty cells, too



"HARSH BAHAL" wrote:

I have in a row (adjacent coloumns)months & quarters (Jan, Feb, March,
quarter 1...upto Quarter 4 and then year total). I want to calculate the
annual average ignoring the quarter figures and the blank cells also. Pl help



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
calculating averages and using conditional "if" statements achieve Excel Worksheet Functions 2 March 8th 07 09:34 PM
performing conditional averages. vinnie123 Excel Worksheet Functions 1 January 10th 07 10:56 PM
Conditional Averages Kris Andersen Excel Discussion (Misc queries) 1 March 22nd 06 07:29 PM
Averages alexfthe Excel Worksheet Functions 1 March 11th 06 10:58 AM
Averages Beth Excel Worksheet Functions 4 March 9th 06 08:19 PM


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