#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Comparing Data

I am comparing data on two workbooks. I have the first part done. I use
vlookup, if, match formulas to get the data I want. Now my problem is this.
Column A = Items
Column B = Primary or Mixed

Data as follow.

100XX002 1
100XX015 2
205XX048 1
207XX048 A
495XX079 A
495XX079 B

This is what I need. If column "B" is a number then my Item is a Primary of
if column "B" is a letter then is a Mix, but if there is the same Item number
with both conditions (number and letter) then that items is a mix.
i.e.

100XX002 1 = Primary
100XX015 2 = Primary
205XX048 1 = Mix
207XX048 A = Mix
495XX079 A = Mix
495XX079 B = Mix

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Comparing Data

Based on your example, formula in column C would be:
=IF(OR(ISTEXT(B2),COUNTIF($B$2:B2,B2)1),"Mix","Pr imary")
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Jerry (the latin men)" wrote:

I am comparing data on two workbooks. I have the first part done. I use
vlookup, if, match formulas to get the data I want. Now my problem is this.
Column A = Items
Column B = Primary or Mixed

Data as follow.

100XX002 1
100XX015 2
205XX048 1
207XX048 A
495XX079 A
495XX079 B

This is what I need. If column "B" is a number then my Item is a Primary of
if column "B" is a letter then is a Mix, but if there is the same Item number
with both conditions (number and letter) then that items is a mix.
i.e.

100XX002 1 = Primary
100XX015 2 = Primary
205XX048 1 = Mix
207XX048 A = Mix
495XX079 A = Mix
495XX079 B = Mix

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
comparing two columns of data and return unique data in another co ExcelUSER Excel Discussion (Misc queries) 6 June 18th 09 02:10 PM
Comparing Data zephyr Excel Discussion (Misc queries) 1 February 22nd 06 09:03 AM
help comparing two sets od data to find the odd data matsgullis Excel Worksheet Functions 2 January 12th 06 01:52 AM
comparing lists of data to remove duplicate data Tom Excel Discussion (Misc queries) 2 October 13th 05 06:16 PM
Comparing data in two columns and highlighting the data David Kinsley Excel Worksheet Functions 6 January 4th 05 06:01 PM


All times are GMT +1. The time now is 01:22 AM.

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"