ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sorting data field (https://www.excelbanter.com/excel-worksheet-functions/255985-sorting-data-field.html)

Bill C

Sorting data field
 
I would like to sort the data in a sheet that is 6-9 columns wide so as to
find the event(s) when 3 consecutive horizontal cells in a row have the same
info. Can sort the selected events either to the top or the bottom of the
sheet, doesn't matter.
Using excel 2007. I would appreciate input how to do this if possible.
--
Bill

Fred Smith[_4_]

Sorting data field
 
So what do you need help with -- sorting the data or finding the 3
consecutive cells?

To sort, highlight your data, then use DataSort. Follow the prompts.

For the duplicated data, the typical solution is to use Countif. If you're
checking column A, use:
=countif(A:A,A1)
and copy down

Any number greater than 2 meets your criteria. If you want to check for
exactly three, use:
=if(countif(A:A,A1)=3,"3 in a row","")

Regards,
Fred


"Bill C" wrote in message
...
I would like to sort the data in a sheet that is 6-9 columns wide so as to
find the event(s) when 3 consecutive horizontal cells in a row have the
same
info. Can sort the selected events either to the top or the bottom of the
sheet, doesn't matter.
Using excel 2007. I would appreciate input how to do this if possible.
--
Bill




All times are GMT +1. The time now is 02:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com