Carrie2525
New Member
- Joined
- Jun 10, 2015
- Messages
- 18
Hello!
I have almost finished my spreadsheet project that I was working on, yesterday. I've hit one final snag, though. I need to auto-populate a couple of dates that result from calculations and multiple IF statements, and I would VERY much like to combine all of these conditions into one big equation. Here is an example of one calculation that I'd like to write for cell B12:
If the number of days between B8 and B3 < 90, then B12 = (B8 + 90)
If the number of days between B8 and B3 > 89, but <180, then B12 = (B8 + 179)
If the number of days between B8 and B3 > 179, then B12 = “Indefinite”
If B7 = “N”, then B12 = “N/A”
**I have been using the DATEDIF formula option for the first part of these equations with good success. Example: =(DATEDIF(B8,B3,”D”))>179
**in the cases where B7 = “N”, B8 will be left blank)
**for the first three conditions, there would be a date in B8, and a “Y” in B7
I am so grateful for any help you could offer. Would love to have this project off of my plate, once and for all. Thanks
I have almost finished my spreadsheet project that I was working on, yesterday. I've hit one final snag, though. I need to auto-populate a couple of dates that result from calculations and multiple IF statements, and I would VERY much like to combine all of these conditions into one big equation. Here is an example of one calculation that I'd like to write for cell B12:
If the number of days between B8 and B3 < 90, then B12 = (B8 + 90)
If the number of days between B8 and B3 > 89, but <180, then B12 = (B8 + 179)
If the number of days between B8 and B3 > 179, then B12 = “Indefinite”
If B7 = “N”, then B12 = “N/A”
**I have been using the DATEDIF formula option for the first part of these equations with good success. Example: =(DATEDIF(B8,B3,”D”))>179
**in the cases where B7 = “N”, B8 will be left blank)
**for the first three conditions, there would be a date in B8, and a “Y” in B7
I am so grateful for any help you could offer. Would love to have this project off of my plate, once and for all. Thanks
Excel 2012 | ||||
---|---|---|---|---|
A | B | |||
1 | Division | Human Resources | ||
2 | Name | John Adams | ||
3 | Start Date | 1-Jun-15 | ||
4 | Experience Level (E/I) | E | ||
5 | Expiration Date of SR04 | 15-May-15 | ||
6 | Regression Date | 1-Apr-15 | ||
7 | L/R Qual (Y/N) | N | ||
8 | Expiration Date of LD00 | 2-Feb-15 | ||
9 | ||||
10 | ||||
11 | ||||
12 | Program is Valid Through: | (This needs to be a date) | ||
Sheet1 |