Find "Incomplete" based on ID Number that doesnt repeat

hmltnangel

Active Member
Joined
Aug 25, 2010
Messages
290
Office Version
  1. 365
Platform
  1. Windows
Hi excel peoples! One that I think should be so easy but my brains frazzled today. Its the blanks in the Staff ID column that are throwing me off

Column "A" has a list of Staff IDs. This ID number shows once for any employee, the next cells in the column are blank until the next staff id

A1 has staff id 1234567, a2-a5 are blank, then a6 will be the next one 1234568 and so on

Then Column B shows Sales Status on each row, "incomplete", "complete", "not started"

I want column C to show the worst overall status for any of the that employees sales as below.

Any help :)

Staff ID​
Completion​
Overall​
1234567​
Complete​
Incomplete​
Not Complete​
Complete​
Complete​
1234568​
Complete​
Not Started​
Not Started​
Complete​
Complete​
1234569​
Complete​
Complete​
Complete​
Complete​
Complete​
12345689​
Complete​
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
First off, I would fill all the blanks you have in column A using this easy method shown here: How to Fill Blank Cells with Value above in Excel (3 Easy Ways) - Spreadsheet Planet

Then, assuming your data is in the range A1:B14, place this formula in C2 and copy down for all rows:
Excel Formula:
=IF(A2<>A1,IF(COUNTIFS(A$2:A$14,A2,B$2:B$14,"Not Started")>0,"Not Started",IF(COUNTIFS(A$2:A$14,A2,B$2:B$14,"Not Complete")>0,"Not Complete","Complete")),"")
Note that you have an inconsistency in your first block. You have "Not Complete" in column B, but then show returning "Incomplete" in column C (which isn't even one of the options).
 
Upvote 0

Forum statistics

Threads
1,214,830
Messages
6,121,834
Members
449,051
Latest member
excelquestion515

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