Clean Up

Mashtonsmith1

New Member
Joined
May 16, 2020
Messages
30
Office Version
  1. 365
Platform
  1. Windows
Hello,

I need to clean up some invoice data where the following scenario is seen.

A1 NSP/19/11/239
A2 NSP/19/11/239.1

In this example the cell ending 239 has been superceded by the 239.1 entry. I need to find these cases and remove the 239 type rows - but ONLY when there is a .1 following the original invoice number.
I can easily find .1 cases =RIGHT(A1,2) but that doesnt help me.
The formulae with need to consider both cells.
Invoice names and lengths differ but will always show a .1 if the original was amended.

Many thanks
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
It would be easier to help if you could use the XL2BB add-in (icon in the menu) to attach a screenshot (not a picture) of your sheet. Alternately, you could upload a copy of your file to a free site such as www.box.com or www.dropbox.com. Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here. Explain in detail what you want to do referring to specific cells, rows, columns and sheets using a few examples from your data (de-sensitized if necessary).
 
Upvote 0
I cant do either sorry.
I'm obviously not explaining myself properly.
My sheet has many thousands of rows.
In column A are invoice numbers. All are unique.
Some however are as per the example above where a change was made to the invoice so a small change is made to teh invoice name (=###.1).
Where this is the case I need to KEEP the instances where there is a ###.1 and loose the original invoices.
Hope this helps?
 
Upvote 0
Can you post a sample with a little more data, may a dozen or so rows?
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,391
Members
449,080
Latest member
Armadillos

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