Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default How do I exclude cells from a formula?

Thanks for help on this:

I have a simple PERCENTAGE function for a column of figures:
=AVERAGE(T19:T1333)

However, I need to EXCLUDE from the percentage calculation three
specific cells in the column - T500, T1164, T1320.

I thought it would be easy to write the formula thus:
=AVERAGE(T19-T487+T513-T1151+T1177-T1333)
But no, that's not the answer.

There must be an easy, elegant method to doing this properly. Thanks!

Stephen

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,173
Default How do I exclude cells from a formula?

Quick and dirty...

=AVERAGE(T19:T499,T501:T1163,T1165:T1319,T1321:T13 33)

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"braitman" wrote in message
ups.com...
Thanks for help on this:

I have a simple PERCENTAGE function for a column of figures:
=AVERAGE(T19:T1333)

However, I need to EXCLUDE from the percentage calculation three
specific cells in the column - T500, T1164, T1320.

I thought it would be easy to write the formula thus:
=AVERAGE(T19-T487+T513-T1151+T1177-T1333)
But no, that's not the answer.

There must be an easy, elegant method to doing this properly. Thanks!

Stephen


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How do I exclude cells from a formula?

Try this:

=AVERAGE(T19:T499,T501:T1163,T1165:T1319,T1321:T13 33)

Biff

"braitman" wrote in message
ups.com...
Thanks for help on this:

I have a simple PERCENTAGE function for a column of figures:
=AVERAGE(T19:T1333)

However, I need to EXCLUDE from the percentage calculation three
specific cells in the column - T500, T1164, T1320.

I thought it would be easy to write the formula thus:
=AVERAGE(T19-T487+T513-T1151+T1177-T1333)
But no, that's not the answer.

There must be an easy, elegant method to doing this properly. Thanks!

Stephen



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default How do I exclude cells from a formula?

Ah, so it's the commas, not the plus signs. Doi! Thanks guys.

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 only non-empty cells... Jay Excel Worksheet Functions 9 September 22nd 06 03:20 AM
a formula which calculates empty cells jeff lebowski Excel Discussion (Misc queries) 1 July 15th 06 12:29 AM
Copy/Paste how to avoid the copy of formula cells w/o calc values Dennis Excel Discussion (Misc queries) 10 March 2nd 06 10:47 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
quick way to copy-paste a formula linked to cells in another file iniakupake Excel Worksheet Functions 2 September 26th 05 03:56 AM


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