Forum

Notifications
Clear all

Formula to identify data not in sequential order

4 Posts
2 Users
0 Reactions
193 Views
(@hmore)
Posts: 2
New Member
Topic starter
 

We have an inventory program that we use in our library to check for lost books. But I was wondering if we could use the spreadsheet results as a way to check that books were correctly shelved.

 

Attached is a small sample. I want to arrange results by column G, the call number field, and somehow  insert a formula in either the timestamp column (column B) or date column  which includes the date down to the second (Column C) that would identify  (B or C) cells that are not in sequential order. (The numbers will not usually be in consecutive order since it may often take a few seconds to inventory a book or take care of a problem before going on to the next book.) We probably would have only a few thousand rows at one time to analyze.

Thanks

 
Posted : 25/05/2020 5:29 pm
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
 

Hi Helen,

No file attached!

What version of Excel are you using?

regards

Phil

 
Posted : 25/05/2020 7:56 pm
(@hmore)
Posts: 2
New Member
Topic starter
 

Sorry. See attached. I use Excel 365. Thanks.

 
Posted : 26/05/2020 1:31 am
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
 

Hi Helen,

You can use Conditional Formatting to do this, please see attached.  The first thing to do is change the Timestamps into numbers, they are currently text.

Then create a conditional formatting rule using a formula that highlights any rows where the Timestamps are out of sequence.  You can check for this by checking if the timestamp for any given row is greater than the next row.  If it is, then it is out of sequence.

Regards

Phil

 
Posted : 26/05/2020 5:59 am
Share: