Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Remove Data which is not match with other column

Hi,

I am downloading data from 2 different system in to xls and need to remove invoice no and amount which is not match with other data.

A and B data from one system and D and E data from another system, currently i am doing foll. manually step to remove data which is very time consuming process for me as data is almost 15000 to 18000.

sort A , B and D,E data in assending order, in C column applying formula A3-D3 and B3-E3 and copying to till end and whenevere there is diffence removing each Invoice no and amount from both data .

inv no amount inv no amt
A B D E
4053 15,000.00 4153 15,000.00
5949 99,200.00 5950 99,200.00
6081 20,928.00 6081 20,900.00
10525 5,165.00 10519 5,165.00
11531 19,600.00 11534 19,600.00
11535 2,000.00 11635 2,000.00
13143 20,000.00 13145 20,000.00
13930 16,000.00 13835 16,000.00
13984 327,762.00 13984 327,000.00


Pls help if there is any other formula / macro to remove A and B column data which is not match with D and E .

there are foll. possibilities to be consider.

A and D data would match but B and E may be mismatch
B and E data would match but A and D may be mismatch
data may be not in either A and B or D and E also.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default Remove Data which is not match with other column

On Sunday, October 7, 2012 8:05:16 AM UTC-5, Dingdang wrote:
Hi,



I am downloading data from 2 different system in to xls and need to

remove invoice no and amount which is not match with other data.



A and B data from one system and D and E data from another system,

currently i am doing foll. manually step to remove data which is very

time consuming process for me as data is almost 15000 to 18000.



sort A , B and D,E data in assending order, in C column applying formula

A3-D3 and B3-E3 and copying to till end and whenevere there is diffence

removing each Invoice no and amount from both data .



inv no amount inv no amt

A B D E

4053 15,000.00 4153 15,000.00

5949 99,200.00 5950 99,200.00

6081 20,928.00 6081 20,900.00

10525 5,165.00 10519 5,165.00

11531 19,600.00 11534 19,600.00

11535 2,000.00 11635 2,000.00

13143 20,000.00 13145 20,000.00

13930 16,000.00 13835 16,000.00

13984 327,762.00 13984 327,000.00





Pls help if there is any other formula / macro to remove A and B column

data which is not match with D and E .



there are foll. possibilities to be consider.



A and D data would match but B and E may be mismatch

B and E data would match but A and D may be mismatch

data may be not in either A and B or D and E also.









--

Dingdang


This can be done with a macro since formulas can only return values. However, in your sample NOTHING is left ...???
  #3   Report Post  
Member
 
Location: Bangalore
Posts: 41
Thumbs up

Quote:
Originally Posted by Dingdang View Post
Hi,

I am downloading data from 2 different system in to xls and need to remove invoice no and amount which is not match with other data.

A and B data from one system and D and E data from another system, currently i am doing foll. manually step to remove data which is very time consuming process for me as data is almost 15000 to 18000.

sort A , B and D,E data in assending order, in C column applying formula A3-D3 and B3-E3 and copying to till end and whenevere there is diffence removing each Invoice no and amount from both data .

inv no amount inv no amt
A B D E
4053 15,000.00 4153 15,000.00
5949 99,200.00 5950 99,200.00
6081 20,928.00 6081 20,900.00
10525 5,165.00 10519 5,165.00
11531 19,600.00 11534 19,600.00
11535 2,000.00 11635 2,000.00
13143 20,000.00 13145 20,000.00
13930 16,000.00 13835 16,000.00
13984 327,762.00 13984 327,000.00


Pls help if there is any other formula / macro to remove A and B column data which is not match with D and E .

there are foll. possibilities to be consider.

A and D data would match but B and E may be mismatch
B and E data would match but A and D may be mismatch
data may be not in either A and B or D and E also.
Hi There,

What about trying Advanced Filter. You don't need VBA for this situation.
All you need is to set up a criteria range that constitute some logical functions that either return True or False. You can customize the criteria as per your need (make sure you don't use a column name in your original data). Once you apply the Advanced Filter with this criteria range it filters your data (or copies the filtered data to another sheet). This way you don't have to worry about multiple filtering/sorting of the data.

Let me know if you aren't sure of how Advanced Filters work with formulas. Attached is a sample from your own data.

Let me know your thoughts.

Thank You,
Prashant
Attached Files
File Type: zip Demo.zip (6.6 KB, 26 views)
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove data from column Steve[_4_] Excel Programming 4 February 10th 12 01:30 PM
Adding column data based on match in 2nd column - Help GBExcel via OfficeKB.com Excel Worksheet Functions 3 January 26th 10 05:58 PM
Remove ' character from copied excel cell to match data Syndrome Excel Discussion (Misc queries) 9 March 7th 07 05:18 PM
counting data in one column and match with data in another column jenny Excel Discussion (Misc queries) 1 October 26th 06 09:16 PM
Remove data that doesn't match ??##?## Crowbar via OfficeKB.com Excel Programming 3 October 27th 05 12:09 AM


All times are GMT +1. The time now is 02:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"