Refer to a Day of the Month

Peteor

Board Regular
Joined
Mar 16, 2018
Messages
152
I am working on automating a friends finances in Excel. If my friend has income on the 1st of every month, and I have a date range pre-defined... I would like to automatically add a pre-defined amount if the 1st of the month falls within a date range.

E.G.

J1 = 8/29/2019
J2 = 9/5/2019

A1 = $10

B1 = $8
B2 = $2

I would like A1 to equal B1 unless the first of the month is within the range of J1 - J2. If the 1st of the month does fall within the range, I would like A1 to = B1+B2

How do I do this? I don't know how to just refer to a day of the month and not also the Month or Year within conditional statements.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,224,823
Messages
6,181,169
Members
453,021
Latest member
Justyna P

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