Format the Above Cell

PostTIT

Board Regular
Joined
Aug 22, 2016
Messages
94
Alright, well this may sound simple to some.

I have a spreadsheet that has minute-by-minute data values recorded from each day throughout a given year.
Column A has the date in dd/MM/yyyy format.
Column B has the time in hh:mm:ss format.

This should be 527040 values, however I don't have that amount of values.

What I'm wanting to do is, in column B, highlight any cells that repeat the value from the cell above. So if a minute value repeats twice (or more) in succession it is highlighted.

Some form of conditional formatting I suppose.

I've tried a few things such as:

=IF(A2=A1,1,0)

and other things but they didn't work - maybe I did them wrong I'm not sure.

Any help would be great.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
If it makes a difference, I found another - manual - way to go about what I was trying to do so I don't need a solution to this problem.
However, I'm sure a solution would be beneficial to others and maybe to myself in the future.
 
Upvote 0

Forum statistics

Threads
1,215,551
Messages
6,125,478
Members
449,233
Latest member
Deardevil

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