?
Solved

MS Excel Nested IF Statement for multiple variables within a column

Posted on 2012-04-05
3
Medium Priority
?
246 Views
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.
Test-Report-v2.xlsm
0
Comment
Question by:ckwillGWU
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
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.

Cheers,

Dave
Test-Report-v3.xlsm
0
 

Author Comment

by:ckwillGWU
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
0
 

Author Closing Comment

by:ckwillGWU
ID: 37814791
Excellent method.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

864 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