leopardhawk
Well-known Member
- Joined
- May 31, 2007
- Messages
- 611
- Office Version
- 2016
- Platform
- Windows
Okay, my brain is cramping but I'm pretty sure this problem I'm having can be solved by someone a lot brighter than I am.
The two columns in question, columns B & C, need to work together for my worksheet to be accurate. They need to be able to account for users who are younger than 70 (which they are doing now) and users who are equal to or greater than 70. The formulas in column B are working fine as long as the user is under 70 years of age. If 'personal_info'!B12 is blank, the formula returns nothing. If the user enters their DOB in 'personal_info'!B12, the formula returns the Year of Birth + 70.
What I need is, if the user enters a DOB that makes them =>70 years of age, the formula in B16 will return the current year (2019) and C16 will return the users age this year.
Currently, there are no formulas in column C but I assume I need formulas there as well no matter what the user's age is.
The end result is that if the user is younger than 70, B16 will ALWAYS show the year they turn 70 and C16 will ALWAYS show 70. If the user is over 70, B16 will show the current year and C16 will show their current age. I get a headache just thinking about it but this is very important to me so any help is greatly appreciated.
The two columns in question, columns B & C, need to work together for my worksheet to be accurate. They need to be able to account for users who are younger than 70 (which they are doing now) and users who are equal to or greater than 70. The formulas in column B are working fine as long as the user is under 70 years of age. If 'personal_info'!B12 is blank, the formula returns nothing. If the user enters their DOB in 'personal_info'!B12, the formula returns the Year of Birth + 70.
What I need is, if the user enters a DOB that makes them =>70 years of age, the formula in B16 will return the current year (2019) and C16 will return the users age this year.
Currently, there are no formulas in column C but I assume I need formulas there as well no matter what the user's age is.
The end result is that if the user is younger than 70, B16 will ALWAYS show the year they turn 70 and C16 will ALWAYS show 70. If the user is over 70, B16 will show the current year and C16 will show their current age. I get a headache just thinking about it but this is very important to me so any help is greatly appreciated.
Cell Formulas | ||
---|---|---|
Range | Formula | |
B16 | =IF(personal_info!$E$12=0,"",YEAR(personal_info!$E$12)+70) | |
B17 | =IF(personal_info!$E$12=0,"",YEAR(personal_info!$E$12)+71) | |
B18 | =IF(personal_info!$E$12=0,"",YEAR(personal_info!$E$12)+72) | |
B19 | =IF(personal_info!$E$12=0,"",YEAR(personal_info!$E$12)+73) |