Hello forum friends, I need help with a formula (actually, three formulas) that will return data from two other worksheets. I will paste in the sections of my worksheet and try to explain as best as I can.
This first section is on the 'income' worksheet and contains two columns with dates in one column and the other contains a dollar amount. I have only pasted a small section here, it actually extends out to row 500.
Excel 2016 (Windows) 32 bit |
---|
|
---|
| F | G | H |
---|
11 | Date paid | | Amount (gross) |
---|
12 | yyyy-mm-dd | | $ - |
---|
13 | yyyy-mm-dd | | $ - |
---|
14 | yyyy-mm-dd | | $ - |
---|
15 | yyyy-mm-dd | | $ - |
---|
16 | yyyy-mm-dd | | $ - |
---|
17 | yyyy-mm-dd | | $ - |
---|
18 | yyyy-mm-dd | | $ - |
---|
19 | yyyy-mm-dd | | $ - |
---|
20 | yyyy-mm-dd | | $ - |
---|
21 | yyyy-mm-dd | | $ - |
---|
|
---|
The second section is on the 'personal_info' worksheet and contains a date of birth for the user of the workbook.
Excel 2016 (Windows) 32 bit |
---|
|
---|
| C | D | E |
---|
7 | First | Last | Date of birth |
---|
8 | | | |
---|
9 | | | |
---|
|
---|
The section from the worksheet where I need the formula to reside (cell F24) is shown below.
Excel 2016 (Windows) 32 bit |
---|
|
---|
| E | F |
---|
24 | Average Gross Payroll (if applicable) | $ - |
---|
|
---|
To explain... first and foremost, if column H on the 'income' worksheet is blank, the formula should always return zero (0). If there is anything in column H on the 'income' worksheet, the formula will return the AVERAGE of any dollar amounts in column H that are earned while the user is under 65 years of age.
So, assuming I can get a formula working in F24, and this is where it might get a bit complicated, if the user is between 65 and 70 years of age, I need another formula in F50 (see below) that will return the AVERAGE of any dollar amounts in column H that were earned during that time period.
Excel 2016 (Windows) 32 bit |
---|
|
---|
| E | F |
---|
50 | Average Gross Payroll (if applicable) | $ - |
---|
|
---|
And, if the user is over 70 years of age, I need another formula in F77 (see below) that will return the AVERAGE of any dollar amounts that are earned after the user turns 70 years old.
Excel 2016 (Windows) 32 bit |
---|
|
---|
| E | F |
---|
77 | Average Gross Payroll (if applicable) | $ - |
---|
|
---|
I hope this makes sense and that someone is willing to help me out.
Cheers!