Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

tricky if formula

Posted on 2014-03-25
2
Medium Priority
?
174 Views
Last Modified: 2014-03-25
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..
0
Comment
Question by:route217
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
BlueYonder earned 2000 total points
ID: 39953118
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
 

Author Comment

by:route217
ID: 39953128
Stop in .....5 star feedback.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question