Return a value to other cells based on the value in a different cell

freynem

New Member
Joined
Feb 23, 2018
Messages
2
[TABLE="width: 500"]
<tbody>[TR]
[TD]Part Number & Line Number[/TD]
[TD]SAHLATE[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]025403 1[/TD]
[TD]-4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]025403 1[/TD]
[TD]-3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]025403 1[/TD]
[TD]-1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]025403 2[/TD]
[TD]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]025403 2[/TD]
[TD]-4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]025403 2[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]025403 3[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]025403 3[/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]025403 3[/TD]
[TD]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Hi there
I need some help please,
My first column contains a part numbers (3 sets).
The second column is quantity of days, days early is negative, and days late is all numbers >=0.
I need to return data in the third column that shows if one day is >=0 than all part numbers in that set are "LATE"

Thank you
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Welcome to the Board!

Let's say that your header is in row 1, so that your data is in the range A2:B10.
Then place this formula in cell C2 and copy down to C10:
Code:
=IF(COUNTIFS($A$2:$A$10,$A2,$B$2:$B$10,">0")>0,"LATE","")
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,195
Members
453,021
Latest member
pingpong7117

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