tricky if formula

Hi Experts excel 2007

I have the following if formula
=IF(OR(G2="",G2<TODAY()),AA2,IF(A2="",IF(C2="","",C2),VLOOKUP(A2,sheet2!$A$2:$B$20,2,FALSE)))

which need amending to do the if g2 is blank then c2, if g2 has a date less then todays date as above then the above formula..
route217Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
BlueYonderConnect With a Mentor Commented:
try this formula

IF(ISBLANK(G2), C2, IF(G2<TODAY(),AA2,IF(A2="",IF(C2="","",C2),VLOOKUP(A2,sheet2!$A$2:$B$20,2,FALSE))))
0
 
route217Author Commented:
Stop in .....5 star feedback.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.