Hello,
I am working on a spreadsheet that has a formula in that I'm not quite following the logic. I understand to a point, but not enough to explain it to someone else (which I have to do). It works perfectly, but I'm wondering if there is an easier way to accomplish the same thing. Here is the formula as of now:
=IF($F3<>"",LOOKUP($F3,$AW$25:$AW$33,CHOOSE(MATCH($H3,{"M";"F"},0),$AX$25:$AX$33,$AY$25:$AY$33)),"")
It is looking up the ages (column F) of each person and referring to an RDI (recommended daily intake) table ($AW$25:$AW$33), and returning the correct RDI for each person depending on whether they are male ("M") or female ("F"). The values for male are found in columns $AX$25:$AX$33 and the values for females are found in columns $AY$25:$AY$33.
Thank you! I know this is a bit of a messy one.
Bookmarks