Show Cell Value Only if Date is between two Dates

jski21

Board Regular
Joined
Jan 2, 2019
Messages
133
Office Version
  1. 2016
Platform
  1. Windows
Good afternoon Mr. Excel Team,

Trying to have a budget line item show up under the appropriate month only if that month is less than the current date and if true, calculate the monthly budget amount. Using this formula: =IF(B8<$A$3,$N$10/12,""). Right now the formula should show only the months that are prior to today (October 2021), yes? However, carrying the formula across the range, all the cells populate with the calculated monthly budgeted amount. BTW, using a fiscal year format for what it's worth.

B8 = Date of the appropriate month
$A$3 = Today's date
$N$10/12 = the annual budget amount divided into monthly increments

Here's the spreadsheet:

Operating Budget2.xlsx
ABCDEFGHIJKLMN
3As of October 2021
4
5
6BudgetBudgetBudgetBudgetBudgetBudgetBudgetBudgetBudgetBudgetBudgetBudgetBudget
7Total
8ACCOUNT NAME06/30/21JulAugSepOctNovDecJanFebMarAprMayAnnual
9General Administration
10Monthly Expense361,970361,970361,970361,970361,970361,970361,970361,970361,970361,970361,970361,9704,343,636
SalCap (2)
Cell Formulas
RangeFormula
A3A3="As of "&TEXT(TODAY(),"mmmm yyyy")
B8B8=EOMONTH($C$2,5)
C8C8=EOMONTH($C$2,6)
D8D8=EOMONTH($C$2,7)
E8E8=EOMONTH($C$2,8)
F8F8=EOMONTH($C$2,9)
G8G8=EOMONTH($C$2,10)
H8H8=EOMONTH($C$2,11)
I8I8=EOMONTH($C$2,12)
J8J8=EOMONTH($C$2,13)
K8K8=EOMONTH($C$2,14)
L8L8=EOMONTH($C$2,15)
M8M8=EOMONTH($C$2,16)
B10:M10B10=IF(B8<$A$3,$N$10/12,"")
N10N10=21718180*0.2



Thanks in advance for the look/see and assistance.


jski
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
A3 doesn't contain a date, it contains a text string that includes a date. To compare a date to A3 you would need to change it so that it holds a date only. Either that, or use TODAY() in your formulas instead of referring to A3.
 
Upvote 0
Solution

Used the latter method. Occam's razor strikes again. Thanks Well-known Member Jasonb75!

 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,685
Members
448,977
Latest member
dbonilla0331

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