If Statement for Project Management

wpavone

New Member
Joined
Apr 1, 2011
Messages
27
I'm working on a project management worksheet that tracks the progress of actions through several phases. Each phase has a column for the Start Date (column A) and a column for the Finish Date (column B). I want to write a statement that will return nothing if there is no start date entered in column A. If there is a start date entered in column A, I want to compare it with today's date and return G if the start date is more than 7 days from today's date, Y if the start date is 7 days greater than or equal to today's date, and R if the start date is less than today's date. I also want to return a value of B if any date has been entered into column B. The statement is in a column used to display the progress of each action. $K$1 is an absolute reference to today's date. So far I have the following: =IF(ISBLANK(A1),"",IF(A1<>"",LOOKUP($K$1-A1,{-10000,"G";-7,"Y";1,"R"}),IF(B1>=A1,"B"))). G, Y, and R are returning, but the statement is not returning B when a date is entered into column B. How do I correct this?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top