adding 6 months to a date yielded from Index/match

bh24524

Active Member
Joined
Dec 11, 2008
Messages
365
Office Version
  1. 365
  2. 2007
Hi, I am trying to find out what formula to use to add 6 months to a date that is found through an index match formula. It doesn't stop there though as there are some more criteria.

In one tab of the spreadsheet called NEW BID, I have an employee number, name, seniority date, their schedule, and their job. Only the employee number I believe is important here though which spans from A5:A300. There is a separate Tab called Warehouse that lists other information pertinent to wages and PTO time accrued. Please note that this tab does not have EVERY employee, only the ones who were second tier and have different wage increases and accruals. In this tab, it also has the employee number that is also used in NEW BID tab. That number range spans B2:B200 for how many second tier employees there are. The tab also has the date the employee went full-time, which is key to this formula. That range spans H2:H200

So what I am looking to do ultimately is on the NEW BID tab in column H, I want it to look up the employee's Full-Time date on the Warehouse tab. If that full-time date yielded plus 6 months from that date is greater than today's date, I want the cell to display the text "PRB" which means that employee is in a probationary period. I want the cell to be blank if any row in column A is blank OR if the formula yields an error, which in some cases it would. Recall I mentioned that not all employees would be on the Warehouse tab, only second tier employees where the NEW BID tab combines both. So the first tier employees will not have a Full-time date to yield since they are not on the Warehouse tab.

I tried to give all the pertinent info I could think of so if there is any more info needed, please let me know. Thank you.
 
Last edited:

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
I can't seem to paste the formula I used for some odd reason as it cuts it off

=IFERROR(IF(A5="","",IF(TODAY()"lessthan symbol"Edate<edate(index(warehouse!
<edate(index(warehouse!
<edate(index(warehouse!h2:h200,match
<edate(index(
(INDEX(Warehouse!H2:H200,MATCH('NEW BID'!A5,Warehouse!B2:B200,0)),6),"PRB","")))

After TODAY() there should be "lessthan symbol"Edate<edate". i="" can't="" seem="" to="" figure="" out="" why="" it="" won't="" let="" me="" paste="" that="" part="" of="" the="" formula="" here.<edate(index(warehouse!h2:h200,match('new="" bid'!a5,warehouse!b2:b200,0)),6),"prb","")))<="" html=""></edate".></edate(index(
</edate(index(warehouse!h2:h200,match
</edate(index(warehouse!
</edate(index(warehouse!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
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