Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 73
Default Compare 2 Lists and Take an Action Q

I have 2 Lists of Data on the same sheet

List A is detailed in Columns A-D

List B is detailed in Column G-K

What I want to do is compare certain Columns/Rows in both Lists and for each one that matches, place an X in Column E (covering List A) and a corresponding X in Column L (covering List B). Note the matched values will not be on the same Row in both

So what will be compared? if Col B & D rows matches somewhere with Col H & K an X is placed on the appropriate Row in Cols E & L

Essentially I want to do a Supplier A/c Reconciliation. Above would give me a good start point
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default Compare 2 Lists and Take an Action Q

Hi Garry,

Am Fri, 18 Nov 2016 14:46:43 -0500 schrieb GS:

.Cells(i, "E") = "x"
.Cells(i, "L") = "x"

??s/b?? .Cells(j, "L") = "x"


yes, you are right. It should be .cells(j,"L")


Regards
Claus B.
--
Windows10
Office 2016
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 73
Default Compare 2 Lists and Take an Action Q

Thanks Guys

What is it with copying the code from these forums, I always get syntax errors and end up removing all spaces from leading and end of each line?

One Q, I've no data (yet), but when I ran code it placed an X in Row 1 E&L, it should be nothing, just a quirky one at this stage



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,182
Default Compare 2 Lists and Take an Action Q

What is it with copying the code from these forums, I always get
syntax errors and end up removing all spaces from leading and end of
each line?


Wordwraps and/or linewraps in the news reader...

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
  #8   Report Post  
Banned
 
Posts: 7
Default

Cho mình một vé
_________________
kinky videos

https://t.co/2K1zjCFslH
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
Compare two lists RichUE Excel Worksheet Functions 2 December 15th 08 02:29 PM
compare two lists lark Excel Worksheet Functions 3 May 6th 08 02:12 AM
Compare Two Lists Paul Black Excel Programming 8 October 27th 06 02:01 PM
Compare 3 lists [email protected] Excel Programming 2 July 6th 06 08:28 PM
Compare two sheets and perform action routine wayliff[_9_] Excel Programming 2 January 16th 06 08:28 PM


All times are GMT +1. The time now is 04:52 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"