Multiple Condition IF / SWITCH formula's

mLife9320

New Member
Joined
Mar 23, 2022
Messages
6
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
  2. Mobile
Hi, I'm trying to auto populate a cell with various "text" based on a series of conditions. I'm looking for both the IF and SWITCH formula’s for scenario below:


If [A1 - Work Complete] >= 100 return, “Done”

If [E1 - Constraint] = “Risk” return “Risk”

If [E1 - Constraint] = “Issue” return “Issue”

If [E1 - Constraint] = “Dependency” return “Blocked”

If [E1 - Constraint] = “Decision” return “Pending”

If [A1 - Work Complete] <=99 and [D1 Finish date] >=1 return “Delayed”

If [A1 - Work Complete] =0 and [C1 Start date] >=1 return “Delayed”

If [A1 - Work Complete] >1 and <99 and [D1 Finish date] <1 return “In Progress”

If [A1 - Work Complete] >1 and <99 and [C1 Start date] <1 return “In Progress” <don't think I need this (covered above)>

If [A1 - Work Complete] =0 and [C1 State date] <=1 return “Not Started”

Its to use in MS project, as well as Excel. Thanks
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Hi, I'm trying to auto populate a cell with various "text" based on a series of conditions. I'm looking for both the IF and SWITCH formula’s for scenario below:


If [A1 - Work Complete] >= 100 return, “Done”

If [E1 - Constraint] = “Risk” return “Risk”

If [E1 - Constraint] = “Issue” return “Issue”

If [E1 - Constraint] = “Dependency” return “Blocked”

If [E1 - Constraint] = “Decision” return “Pending”

If [A1 - Work Complete] <=99 and [D1 Finish date] >=1 return “Delayed”

If [A1 - Work Complete] =0 and [C1 Start date] >=1 return “Delayed”

If [A1 - Work Complete] >1 and <99 and [D1 Finish date] <1 return “In Progress”

If [A1 - Work Complete] >1 and <99 and [C1 Start date] <1 return “In Progress” <don't think I need this (covered above)>

If [A1 - Work Complete] =0 and [C1 State date] <=1 return “Not Started”

Its to use in MS project, as well as Excel. Thanks
A
Work Complete​
B
Task Name​
C
Start​
D
Finish​
E
Constraint​
F
Alert​
100%Task 1
22/03/2022​
23/03/2022​
80%Task 2
23/03/2022​
24/03/2022​
Risk
0%Task 3
24/03/2022​
25/03/2022​
23%Task 4
25/03/2022​
26/03/2022​
Dependency
12%Task 5
26/03/2022​
27/03/2022​
Decision
0%Task 6
21/03/2022​
28/03/2022​
30%Task 7
21/03/2022​
22/03/2022​
1%Task 8
28/03/2022​
29/03/2022​
Issue
99%Task 9
29/03/2022​
30/03/2022​
34%Task 10
30/03/2022​
31/03/2022​
 
Upvote 0

Forum statistics

Threads
1,215,692
Messages
6,126,235
Members
449,303
Latest member
grantrob

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