Solved

tricky if formula

Posted on 2014-03-25
2
170 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
2 Comments
 
LVL 9

Accepted Solution

by:
BlueYonder earned 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

830 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