Formula if date is within range

nymets5485

New Member
Joined
Jun 22, 2023
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone,

I am not sure if there is a solution for this but i am just going to throw it out there. I have 4 workbooks that are used to track statistics and individual offices. I am trying to make a separate workbook to display important data points from the other 4 (see screen shots)

sample of summary workbood

1688061644735.png


Sample of site workbook
1688061587186.png

What i am looking for is a formula to enter in the "Monthly Average" box that will just pull the the value in box E34 automatically based on if the current date falls within that month. I am sure the separate monthly tabs might make this impossible but throwing it out there. Thanks!!
 

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
It's not an elegant looking formula but something like this should work:
Excel Formula:
=CHOOSE(MONTH(TODAY()),'Jan 23'!E34,'Feb 23'!E34,….,'Dec 23'!E34)

If you're going to have more than a couple of these, it's easier on your worksheet to put the =TODAY() is another cell (or defined name) and then reference that.
 
Upvote 0
Solution

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

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