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'.

Name
Status
Date
Overall
Andrew
In Progress
2018
Complete in 2018
Andrew
In Progress
2018
Complete in 2018
Andrew
Complete2018
Complete in 2018
Anna
In Progress
2018
Incomplete in 2018
Anna
Complete
2017
Incomplete in 2018
Kate
Complete
2017
No work in in 2018
Joseph
In Progress
2018
Complete in 2018
Joseph
Complete
2018
Complete in 2018

<tbody>
</tbody>

Thanks
Annie
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
=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,214,606
Messages
6,120,479
Members
448,967
Latest member
visheshkotha

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