LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sony654
 
Posts: n/a
Default Looking-up Columns w/calc'd Values ONLY to Calculate Average

Your help will be appreciated. PROBLEM: The formula below returns an answer
of 100% (WHICH ISN'T RIGHT). The correct result should be 11%.

=IF(COUNTIF(F18:M18,"<0"),LOOKUP(2,1/(F18:M18<0)*ISNUMBER(F18:M18)),AVERAGE(F18:M18)-AVERAGE(F22:M22))

WHAT I AM TRYING TO ACCOMPLISH (LAYOUT BELOW):
1) LOOKUP CALCULATED VALUES IN F18:M18
I.E. F18:I18
2) LOOKUP CALCULATED VALUES IN F22:M22
I.E. F22:I22
3) SUBTRACT INCREMENTING AVERAGE OF F22:M22 FROM
INCREMENTING AVERAGE OF F18:M18

************WORKSHEET LAYOUT****************
COLUMN D E F G H I J K L M
ROW
18 50% 33% -25% 50% 0% 0% 0% 0%
19 4 6 8 6 9
20
21 5 4 2 6 2
22 -20%-50% 200% -67% 0% 0% 0% 0%



Thank-you - Sony



--
Sony Luvy
 
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
Getting values from columns into one cell sergv Excel Discussion (Misc queries) 0 March 17th 06 02:56 AM
How to calculate average from large dataset in several sheets? Orf Excel Worksheet Functions 2 December 12th 05 10:59 AM
How do I match identical values in 2 columns and then sort? Godswatch Excel Discussion (Misc queries) 1 November 9th 05 06:55 PM
calculate average in percentage coloumn with #DIV/! (ignore error neelsels SA Excel Discussion (Misc queries) 2 September 6th 05 02:10 PM
Need to sum values of columns 1 - 13 and 4 - 15 ExcelHelp Excel Worksheet Functions 1 October 27th 04 07:03 PM


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