Trimmean function

jsical

New Member
Joined
May 22, 2020
Messages
14
Office Version
  1. 365
Platform
  1. Windows
I have the following Data: Amount |Date | Spread for a large set of data. I know how to use TRIMMEAN but i am not sure how to incorporate multiple conditions. i.e I would like to use trimmean to looked at Amounts >=100 &<=500, and Dates >= 01/01/2021 &<=12/31/21, and return the mean Spread base on the data that falls between the 2 criteria of Amount and Date. i am not sure what the syntax would look like. I can do this for an specific set of data but not for in between two sets of data =TRIMMEAN(IF((Amount=50)*(date =12/01/31),Spread),10%) . any help would be greatly appreciated.
 
I had thought that earlier, but dismissed it as the cause because I was seeing a #VALUE! error instead :eek:

Glad you got it working.
 
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Thank you! I used to be better at this but I haven’t had the need to use excel until now. Syntax has changed a bit from wha I used to know. Once again thank you for your help.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top