harry590_123
New Member
- Joined
- Apr 7, 2017
- Messages
- 2
Hi there
I really need some help with a formula that has been frustrating me for days so really hoping someone here will be able to help me out. I have two columns of data with "Yes" or "No" in them - one column represents if a task has been started (column A), the other represents if it has been completed (column B). I'm looking for a third column containing an IF formula to return three values: "Not started", "In progress" or "Complete" depending on what is in columns A and B.
There are only three possible ways the data in columns A and B will display:
Column A = "No" and column B = "No" (therefore want column C to return "Not started")
Column A = "Yes" and column B = "No" (therefore want column C to return "In progress")
Column A = "Yes" and column B = "Yes" (therefore want column C to return "Complete")
More simply, if column A = "No", it should always return "Not started" and if column B = "Yes", it should always return "Complete". But the "In progress" should be returned if it is started and not complete. I have gone through so many IF formula combinations but here are some of my latest attempts:
=IF(A1="No","NOT STARTED",
IF(AND(A1="Yes",B1="NO"),"IN PROGRESS",
IF(B1="Yes","COMPLETE")))
Returns only COMPLETE or FALSE
=IFERROR(IF(A1="No","NOT STARTED",
IF(AND(A1="Yes",B1="NO"),"IN PROGRESS",
IF(B1="Yes","COMPLETE"))),"")
Returns only COMPLETE or FALSE
=IFERROR(IF(AND(A1="No",B1="No"),"NOT STARTED",
IF(AND(A1="Yes",B1="Yes"),"COMPLETE","IN PROGRESS")),"")
Returns COMPLETE and IN PROGRESS, but never NOT STARTED
I'm not great with Excel so I really apologise if I'm doing something completely stupid here. Perhaps IF isn't even the best way to be going about this. I would be so grateful for any help or advice with this one though as I've been trying and failing for so long. I've been searching the internet and these forums too but clearly not doing a great job.
I'm using Excel 2016.
Many thanks in advance for any help!
I really need some help with a formula that has been frustrating me for days so really hoping someone here will be able to help me out. I have two columns of data with "Yes" or "No" in them - one column represents if a task has been started (column A), the other represents if it has been completed (column B). I'm looking for a third column containing an IF formula to return three values: "Not started", "In progress" or "Complete" depending on what is in columns A and B.
There are only three possible ways the data in columns A and B will display:
Column A = "No" and column B = "No" (therefore want column C to return "Not started")
Column A = "Yes" and column B = "No" (therefore want column C to return "In progress")
Column A = "Yes" and column B = "Yes" (therefore want column C to return "Complete")
More simply, if column A = "No", it should always return "Not started" and if column B = "Yes", it should always return "Complete". But the "In progress" should be returned if it is started and not complete. I have gone through so many IF formula combinations but here are some of my latest attempts:
=IF(A1="No","NOT STARTED",
IF(AND(A1="Yes",B1="NO"),"IN PROGRESS",
IF(B1="Yes","COMPLETE")))
Returns only COMPLETE or FALSE
=IFERROR(IF(A1="No","NOT STARTED",
IF(AND(A1="Yes",B1="NO"),"IN PROGRESS",
IF(B1="Yes","COMPLETE"))),"")
Returns only COMPLETE or FALSE
=IFERROR(IF(AND(A1="No",B1="No"),"NOT STARTED",
IF(AND(A1="Yes",B1="Yes"),"COMPLETE","IN PROGRESS")),"")
Returns COMPLETE and IN PROGRESS, but never NOT STARTED
I'm not great with Excel so I really apologise if I'm doing something completely stupid here. Perhaps IF isn't even the best way to be going about this. I would be so grateful for any help or advice with this one though as I've been trying and failing for so long. I've been searching the internet and these forums too but clearly not doing a great job.
I'm using Excel 2016.
Many thanks in advance for any help!