Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old December 14th 16, 12:36 AM
Junior Member
 
First recorded activity by ExcelBanter: Dec 2016
Posts: 1
Unhappy AVERAGE with multiple conditions

Hello, I'm trying to calculate an average, but need to adhere to a couple conditions:
- Average must be of A and B
- A is capped at 125%
- B is capped at 163%
- A is capped at 100% if B<100%
- B is capped at 100% if A<100%

I came up with the following, but I'm just not sure how to make them play nicely together:

=AVERAGE(IF(G16125%,125%,G16),(IF(M16163%,163%,M 16)))

=AVERAGE(IF(M17<1,1,G17),(IF(G17<1,1,M17)))

  #2   Report Post  
Old December 14th 16, 09:40 AM
Banned
 
First recorded activity by ExcelBanter: Dec 2016
Posts: 5
Default

Đang cần gấp
_________________
rau sạch

https://t.co/D99o6J5uAE
  #3   Report Post  
Old December 16th 16, 12:42 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Dec 2012
Posts: 43
Default AVERAGE with multiple conditions

Hello, I'm trying to calculate an average, but need to adhere to a
couple conditions:
- Average must be of A and B
- A is capped at 125%
- B is capped at 163%
- A is capped at 100% if B<100%
- B is capped at 100% if A<100%

I came up with the following, but I'm just not sure how to make them
play nicely together:
=AVERAGE(IF(G16125%,125%,G16),(IF(M16163%,163%,M 16)))
=AVERAGE(IF(M17<1,1,G17),(IF(G17<1,1,M17)))


If I understand the requirements, this might help:
=AVERAGE(MIN(G16, 125%, IF(M16<1,1,G16)),
MIN(M16, 163%, IF(G16<1,1,M16)))


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
Average with multiple conditions Jennifer Excel Discussion (Misc queries) 4 December 11th 09 06:49 PM
Array Average - Multiple Conditions? Ted[_5_] Excel Worksheet Functions 2 August 3rd 09 10:59 PM
Average If with multiple conditions WildWill Excel Discussion (Misc queries) 1 February 10th 09 11:45 AM
AVERAGE IF with multiple conditions WildWill Excel Discussion (Misc queries) 6 February 10th 09 08:52 AM
Average with multiple conditions Dez Excel Worksheet Functions 4 July 11th 07 06:07 PM


All times are GMT +1. The time now is 10:35 PM.

Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 2004-2017 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017