LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA AVERAGE/IF condition

I assume you want the function listing to appear on the worksheet;

Maybe you could use the VLOOKUP function.

i.e. tabulate your IF values;

Aver Result
-0,5 3
-0,2 2
0 1
20 -1
50 -2
999 -3

Then use the VLOOKUP function to search the table and return th
result

--
Message posted from http://www.ExcelForum.com

 
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
Average with Condition Curtis[_2_] Excel Worksheet Functions 4 March 18th 10 06:48 PM
How to average values based on a condition in another column Ken99 Excel Worksheet Functions 2 November 16th 06 03:38 PM
Using average in two condition arrays... andyd2k Excel Worksheet Functions 1 July 16th 05 05:56 AM
formula to calculate the average of a range basing on condition Krishna Mohan Excel Worksheet Functions 4 June 21st 05 11:26 AM
Can I sum or average a range with more than 1 condition? BobT Excel Discussion (Misc queries) 4 February 14th 05 07:28 PM


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