searching data finding different

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Searching data, finding different values

Searching data, finding different values

resolvedResolved · High Priority · Version 2010

Kathryn has attended:
Excel Advanced course
Excel Advanced - Formulas & Functions course

Searching data, finding different values

Hi,

I have got the following problem. I have a list of codes, eg:

3c3f0b125b5ca9b7d2990c2f3d1a0407
3c3f0b125b5ca9b7d2990c2f3d1a0407
3d3f0b125b5ca9b7d2990c2f3d1a0407
3c3f0b125b5ca9b7d2990c2f3d1a0408
3c3f0b125b5ca9b7d2990c2f3d1a0407

As you can see, at face value the codes all look the same- however the third code down's second value is a 'd' and the 4th down ends with an '8'. All the others are the same.

I am looking for a formula which firstly tell us which codes are completely unique, and then also tell is why- therefore directing us to the second value in the third code, and the last value in the 4th code.

Any help would be much appreciated.

Thanks.

RE: searching data, finding different values

Hi Kathryn

Thanks for getting in touch. I can think of a number of ways to get part of this done, but most of them involve VBA coding.

I have thought of a non-programming solution. Are all the strings the same length?

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: searching data, finding different values

Hi Gary,

Yes, all the strings are the same length.

Thanks for your help,

Kathryn.

Edited on Mon 18 Mar 2013, 16:43

RE: searching data, finding different values

Hi Kathryn

Thanks for your reply.

I've offered a couple of suggestions in the accompanying workbook. The first part (which are duplicates?) is relatively easy. Identifying what has changed is a little trickier as there is no "control" code specified (i.e., identify variances from this particular code).

However once you have removed the duplicates, this task should be easier.

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Attached files...

GF Unique Codes.xlsx

RE: searching data, finding different values

Thank you, although that is as far as I had got too. It's the part about directing us to which part of the code is different, for example highlighting to us that it is the second value- that is the main part I am struggling with, however this may not even be an Excel formula. I did start looking into VBA to answer this, but again got stuck.

Thanks for your help, much appreciated.

RE: searching data, finding different values

Hi Kathryn

Is there one code that is always the same? If you like, the 'master'?

Differentiating from one code would be simpler.

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector


 

Excel tip:

Shortcut for accessing recently opened files

To get into recently opened Excel files without using your mouse, hold down Alt + F to open the File menu.

Recently opened files are listed down the bottom of the File menu - type in the number next to the file you wish to open and it should appear on your screen.

View all Excel hints and tips


Server loaded in 0.09 secs.