Calculating a status based on date and a Y/N Value in a seperate cell

Mchgh9

New Member
Joined
Feb 2, 2012
Messages
39
Hi, </SPAN>

I am trying to work out the status of something based on a date, while first checking a column to see if something is complete.</SPAN>

=IF(L6>$L$4,"Pending","Expired") – This is in cell M6</SPAN>

L6 contains todays date</SPAN>
L4 contains the date a piece of work was due to be completed.</SPAN>
I need the formula to be </SPAN>

In column Q I have a cell which contains a state of either Y or N, which relates to the work being completed.</SPAN>

If column Q contains a Y I want the result to be “completed”, otherwise display pending or expired based upon the date values.</SPAN>

So in Pseudo if column Q is Yes, then “Completed” ELSE =IF(L6>$L$4,"Pending","Expired")</SPAN>

I’m just a little stuck on how to write this, any help much appreciated.</SPAN>

Thanks</SPAN>

David</SPAN>
Hi, </SPAN>

I am trying to work out the status of something based on a date, while first checking a column to see if something is complete.</SPAN>

=IF(L6>$L$4,"Pending","Expired") – This is in cell M6</SPAN>

L6 contains todays date</SPAN>
L4 contains the date a piece of work was due to be completed.</SPAN>
I need the formula to be </SPAN>

In column Q I have a cell which contains a state of either Y or N, which relates to the work being completed.</SPAN>

If column Q contains a Y I want the result to be “completed”, otherwise display pending or expired based upon the date values.</SPAN>

So in Pseudo if column Q is Yes, then “Completed” ELSE =IF(L6>$L$4,"Pending","Expired")</SPAN>

I’m just a little stuck on how to write this, any help much appreciated.</SPAN>

Thanks</SPAN>

David</SPAN>
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,223,227
Messages
6,170,847
Members
452,361
Latest member
d3ad3y3

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