formula to find if value meets criteria in another column

annielise

New Member
Joined
Sep 9, 2018
Messages
2
Hi all,

I'm having trouble figuring out a formula in excel, and was hoping someone may be able to assist.

I have data for a number of people and the status of their work in another column. Essentially want to calculate an overall status. If they have atleast one work complete in 2018, then 'Complete in 2018' if not, see if they have any In Progress in 2018 then 'Incomplete in 2018', if not then 'No work in 2018'.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Status
[/TD]
[TD]Date
[/TD]
[TD]Overall
[/TD]
[/TR]
[TR]
[TD]Andrew
[/TD]
[TD]In Progress
[/TD]
[TD]2018
[/TD]
[TD]Complete in 2018
[/TD]
[/TR]
[TR]
[TD]Andrew
[/TD]
[TD]In Progress
[/TD]
[TD]2018
[/TD]
[TD]Complete in 2018
[/TD]
[/TR]
[TR]
[TD]Andrew
[/TD]
[TD]Complete[/TD]
[TD]2018
[/TD]
[TD]Complete in 2018
[/TD]
[/TR]
[TR]
[TD]Anna
[/TD]
[TD]In Progress
[/TD]
[TD]2018
[/TD]
[TD]Incomplete in 2018
[/TD]
[/TR]
[TR]
[TD]Anna
[/TD]
[TD]Complete
[/TD]
[TD]2017
[/TD]
[TD]Incomplete in 2018
[/TD]
[/TR]
[TR]
[TD]Kate
[/TD]
[TD]Complete
[/TD]
[TD]2017
[/TD]
[TD]No work in in 2018
[/TD]
[/TR]
[TR]
[TD]Joseph
[/TD]
[TD]In Progress
[/TD]
[TD]2018
[/TD]
[TD]Complete in 2018
[/TD]
[/TR]
[TR]
[TD]Joseph
[/TD]
[TD]Complete
[/TD]
[TD]2018
[/TD]
[TD]Complete in 2018
[/TD]
[/TR]
</tbody>[/TABLE]

Thanks
Annie
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
=IF(COUNTIFS(A:A,A2,B:B,"Complete",C:C,2018)>0.1,"Complete in 2018",IF(COUNTIFS(A:A,A2,B:B,"In Progress",C:C,2018)>0.1,"Complete in 2018","No Work in 2018"))
 
Upvote 0
Hi,

Also try:


Book1
ABCD
1NameStatusDateOverall
2AndrewIn Progress2018Complete in 2018
3AndrewIn Progress2018Complete in 2018
4AndrewComplete2018Complete in 2018
5AnnaIn Progress2018Incomplete in 2018
6AnnaComplete2017Incomplete in 2018
7KateComplete2017No work in 2018
8JosephIn Progress2018Complete in 2018
9JosephComplete2018Complete in 2018
Sheet240
Cell Formulas
RangeFormula
D2=IF(COUNTIFS(A$2:A$9,A2,B$2:B$9,"Complete",C$2:C$9,2018),"Complete",IF(COUNTIFS(A$2:A$9,A2,B$2:B$9,"In Progress",C$2:C$9,2018),"Incomplete","No work"))&" in 2018"


Change/adjust cell references/range to suit your data, formula copied down.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

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