Formula Help

bjsavoy

New Member
Joined
Sep 22, 2015
Messages
34
Can someone help me with my formula, or suggest an easier way? I'm trying to get all of the "Period End" dates to fall within a specific "Effective Date" using a formula (=IF(LEFT(H5,1)>=7,"08/17/2016","01/17/2017").
For Period End dates between July and December, the Effective Date should be 08/17/2016. For those that fall between January and June, the Effective Date should be 01/17/2017. I think there is something wrong with the formatting of the dates, because all of the formula results are "True" and giving me Effective Dates of 08/17/2017, even for those whose first digit is less than 7. The current formatting is General.

Effective Date
Employment StatusPeriod End
08/17/2016Active09/15/2016
08/17/2016Active09/30/2016
08/17/2016Active
10/15/2016
08/17/2016Active10/31/2016
08/17/2016Active11/15/2016
08/17/2016Active11/30/2016
08/17/2016Active01/31/2017
08/17/2016Active02/15/2017
08/17/2016Active02/28/2017
08/17/2016Active03/15/2017

<colgroup><col><col><col></colgroup><tbody>
</tbody>

I thank you in advance for your help.

B.J.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I changed the formula to =IF(LEFT(J5,2)>=7,"08/17/2016","01/17/2017") for the first 2 digits in the Period End column and it still doesn't work.
 
Upvote 0

Forum statistics

Threads
1,216,116
Messages
6,128,926
Members
449,479
Latest member
nana abanyin

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