Please disregard previous post. There are errors (up too late
). This adjustment should do it. Change the lookup table as below and use this formula.
Formula:
=IFERROR(LOOKUP(A2,$G$2:$H$5)*B2,"Adult")
Row\Col |
A |
B |
C |
D |
E |
F |
G |
H |
1 |
Attained age |
NumDays@Age |
|
|
|
|
|
|
2 |
1 |
3 |
68.49 |
|
|
|
0 |
22.83 |
3 |
7 |
2 |
45.66 |
|
|
|
9 |
26.28 |
4 |
8 |
4 |
91.32 |
|
|
|
16 |
28.72 |
5 |
10 |
1 |
26.28 |
|
|
|
22 |
Over Age |
6 |
14 |
7 |
183.96 |
|
|
|
|
|
7 |
17 |
21 |
603.12 |
|
|
|
|
|
8 |
22 |
3 |
Adult |
|
|
|
|
|
9 |
24 |
10 |
Adult |
|
|
|
|
|
10 |
21 |
10 |
287.2 |
|
|
|
|
|
If you provide a sample Excel file (please no sensitive data) with "dummied data" that exemplifies layout, data type(s) that clearly shows us what you are working with and what you want results to be it would give us a clearer idea of what to suggest.
Bookmarks