Find first row where values are not identical in all columns

Pigankle

New Member
Joined
Apr 18, 2011
Messages
32
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]7/25
[/TD]
[TD]4.1
[/TD]
[TD]4.1
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]7/26
[/TD]
[TD]5.09
[/TD]
[TD]5.09
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]7/27
[/TD]
[TD]5.00
[/TD]
[TD]5.00
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]7/28
[/TD]
[TD]4.88
[/TD]
[TD]4.88
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]7/29
[/TD]
[TD]4.76
[/TD]
[TD]5.10
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]7/30
[/TD]
[TD]4.79
[/TD]
[TD]5.02
[/TD]
[/TR]
</tbody>[/TABLE]

I have time series data that looks something like this. Values are identical across any row, up to some variable number of days in the future. After that, they are different in all columns. I would like a formula that will return the date corresponding to the first row in which not all cells are the same. For the sample data above, I would want the formula to return "7/29", since that is the value in column A for the first row in which columns B and C do not match.

I can kludge this by making another column that tests whether cells B# and C# match, then searching for the first "False.", but for a few reasons, that would not be an elegant solution. Can anyone help me out with a single-cell solution to this? It seems like there must be a way to do this with some crafty array formula and a couple of "match" arguments, but it is over my head.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

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