LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Comparing columns - "special" case

Hello guys,

I have the following problem:
- 2 columns with amounts;
- the specific amounts can appear more than once;
- I have to compare both columns and mark (f. ex. with "yellow" filling) the
amounts that appear in both of them... (seems easy until now)
- ... but you have to consider every number on its own, i.e. if:

column A: 5, 2, 2, 1, 8
column B: 5, 5, 2, 1, 1, 1

then in column A we will color 5, 2, 1, (it means that we will leave
unfilled: 2, 8) - it doesn't matter which "2" is colored and which not
in column B we will color 5, 2, 1 (and leave unfilled: 5, 1, 1) - it doesn't
matter which "1" (or "5") is colored and which is not...

Any ideas how to achieve this?
Let me know if it's not sufficiently clear...

P.S. If it's easier, we could also make a VBA that will delete both
instances (one from column A and one from column B) once it found the match,
but the final result should be the same, i. e. (in our exemple) it should
leave "2" and "8" in column A and "5", "1" and "1" in column B.

Many thanks for your help,


 
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
lower case letter "i" always converts to upper case Carolyn Excel Discussion (Misc queries) 1 August 28th 08 01:56 AM
Converting "uppercase" string data to "lower case" in CSV file [email protected] Excel Discussion (Misc queries) 2 August 12th 08 08:36 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
how do I count only lower case "x" and exclude upper case "X" jbeletz Excel Worksheet Functions 3 October 14th 06 10:50 PM
excel should "paste special" a "conditional formatting" lozturk21 Excel Programming 0 October 23rd 05 02:15 PM


All times are GMT +1. The time now is 05:47 PM.

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

About Us

"It's about Microsoft Excel"