MS Excel Nested IF Statement for multiple variables within a column

Posted on 2012-04-05
Medium Priority
Last Modified: 2012-06-27
Need help in creating a NESTED IF statement is needed to add 30/30/90 Days to the date automatically on top of the "Status Date" when the corresponding status is selected.  

For example: If "Status" = Status 9 + 30 Days; Due Date = Status Date + 30 Days --

I was able to create an if Statement for 30 Days report, but not sure about how to the the nested statment.

=IF(F3="Status 9 + 30 Days",G3+30)

This thread is directed towards fixes for issue 5b.  A description of the issues are also located on the Desc tab of the workbook. Issues 6-11  will be following in subsequent posts.

Thank you in advance for your assistance.
Question by:ckwillGWU
  • 2
LVL 42

Accepted Solution

dlmille earned 500 total points
ID: 37814748
We can use a vlookup table - adding data to the right of your drop down range, a range called StatusDaysAdvance which incorporates Status 9+30, etc.  We can then use the results of that vlookup to add to the status date as follows:

put this in cell H2 and copy down:

[H2]=IF(UPPER(LEFT(F2,6)) = "STATUS",IFERROR(VLOOKUP(F2,StatusDaysAdvanced,3,0),0)+G2,"")

See attached.



Author Comment

ID: 37814789
Thanks Dave, the solution worked very well, although, I'm not 100% on how it works exactly, but I will do my best to disect this later. Thanks again.

-- Chris

Author Closing Comment

ID: 37814791
Excellent method.

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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.

Join & Write a Comment

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
What to do if a split doesn't fit? Or a bunch of invoice lines must be rounded while the sum must match a total? It takes a little, but - when done - it is extremely easy to implement.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

622 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