简体   繁体   English

Excel公式,如果一列中单元格的值保持不变,但另一列中的值发生变化,则显示给我

[英]Excel Formula if the value of a cell in one column stays the same but the value in another changes then show me

I hope you can help. 希望您能提供帮助。 In Screen Shot 1. You can see that the number 4424383 in column Y appears 6 times from row 2 to row 7 在屏幕快照1中。您可以看到Y列中的数字4424383从第2行到第7行出现了6次。

In column U you can see the numbers 12345 and 76259 and they also appear from rows 2 to 4 and 5 to 7 在U列中,您可以看到数字12345和76259,它们也出现在第2至4行和第5至7行中

What I need is a formula that can produce a piece of text that says "Investigate" in column Z, if the number in Column Y stays the same but the number in Column U changes. 我需要的是一个公式,如果Y列中的数字保持不变,但U列中的数字发生变化,则该公式可以在Z列中产生一条“正在调查”的文本。

If you look at Screen Shot 1 you will see the green number 4417458 in column Y and the green number 76260 in column U this DOES NOT need to be investigated. 如果查看“屏幕快照1”,您将在Y列中看到绿色数字4417458,而在U列中看到绿色数字76260,则无需进行调查。

Like wise with the purple numbers 像明智的紫色数字

Its only when the HUB_PARTY_ID or Y number continues to be the same but then the MTNG_ATNDEE_ID or U column number changes that I need "investigate" to appear in the Z column. 仅当HUB_PARTY_ID或Y编号继续保持相同,但随后MTNG_ATNDEE_ID或U列编号更改时,我才需要“调查”才能出现在Z列中。

as always any and all help is greatly appreciated. 与往常一样,我们将不胜感激。

Screen Shot 1 屏幕截图1 在此处输入图片说明

应该这样做:

=IF(Y2=Y1,IF(U2<>U1,"Investigate","Cool"),"Cool")

You can use the below formula starting with the third row of column Z 您可以从Z列的第三行开始使用以下公式

=IF(AND(Y3=Y2,U3<>U2),"Investigate","NA")

Result: 结果:

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 根据单元格值的变化调用宏,但公式保持不变 - Call a macro based on cell value changes but formula stays the same Excel公式,该公式可让我根据另一个单元格中的值在一个单元格中显示数据范围 - Excel formula that will let me show a data range in a cell based on the value in another cell 使用excel公式A1 / $ A $ 1,当另一个单元格值更改时,更改$ A $ 1 ref - With excel formula A1/$A$1, change $A$1 ref when another cell value changes Excel 在相同间隔后显示特定单元格中值的公式 - Excel Formula to show value in a specific cell after same interval 一个单元格中所有列值的eXcel公式,以“,”分隔 - eXcel formula for all column value in one cell separating by “,” 如何在 Excel 中创建一个公式,该公式将在一列(外部工作表)中搜索一个值并在另一列(相同的外部工作表)中搜索另一个值 - How to create a formula in Excel that will search for a value in one column (external sheet) and another value in another column (same ext sheet) excel公式:根据另一列的值在一个列中查找唯一性 - excel formula : Find uniques in one column depending on value of another column 用于检查一列中某个单元格的值是否在另一列中某个单元格的范围内并在同一行上添加一个值的公式 - Formula to check if the value of a cell in a column is in the range of a cell in another column and add a value on the same line excel公式,根据另一个单元格值编写 - excel formula, write based on another cell value Excel公式更改另一个单元格的值? - Excel formula to change the value of another cell?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM