Formula to average all Monday values in a calendar month excluding a holiday

pbgexcel

New Member
Joined
Jan 2, 2018
Messages
26
I have a vertical list consisting of every single day in the year and a corresponding price. I'm looking to use AVERAGEIFS() to average only the Monday values in a given month excluding any holidays, the dates for which I have listed elsewhere for reference.

Right now I'm trying to use MONTH()=1 AND WEEKDAY()=1 to specify only the Mondays in January, but to no avail. I also want to exclude 1/1/2018, as New Year's is a holiday, as I have noted in another cell, 'C1', for referencing in the formula. Any ideas how to go about this?

Thanks for your help!
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]1/1/2018[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]1/2/2018[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]1/3/2018[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]1/4/2018[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]1/5/2018[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]1/6/2018[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]1/7/2018...[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]12/30/2018[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]12/31/2018[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]
 
Why didn't you start your own thread?
Which formula did you try?
Can you post a concise example with XL2BB?
Did you try deleting the part or parts of the suggested solution that you do not require
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,224,823
Messages
6,181,185
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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