Formula Based on two cells.

helpplease2024

New Member
Joined
Oct 14, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello,
May I please get assistance.
I currently have a formula that works. It populates Cell F2, based on the date currently in C2 - it populates with "Pending" and "Overdue" and leaves blank if its complete. Below is the equation.

=IFS(C2<=TODAY(),"Overdue",C2<=TODAY()+28,"Pending",C2>TODAY()+28,"")

However, I would like to make a rule that is applied first. SO, if the status is Complete in E2, then F2="Complete", however if E2 is blank, then revert to the above rule.

Please help! :)
Thank you!
 

Attachments

  • Capture.PNG
    Capture.PNG
    16.8 KB · Views: 6

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Welcome to the MrExcel forum!

Try:

Excel Formula:
=IFS(E2="Complete",E2,C2<=TODAY(),"Overdue",C2<=TODAY()+28,"Pending",1,"")
 
Upvote 0
Solution
Excel Formula:
=IFS(E4="Complete","Complete",C4<=TODAY(),"Overdue",C4<=TODAY()+28,"Pending",C4>TODAY()+28,"")
 
Upvote 0

Forum statistics

Threads
1,222,903
Messages
6,168,939
Members
452,227
Latest member
sam1121

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