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: 683
Default How to compare to fields and move data?

I have 2 spread sheets in a workbook, one of which is updated as a weekly
imported report. The updated report is a copy of my master. The data on the
update can be changed/corrected and is resubmitted each week with all
previous changes included. I need to add the newest data to my master page
w/o having to review each line (1000+) I have a date field but that doesn't
relate to when change was made.
My Psuedo code looks like this:
Compare sheet1 row1 col.T to sheet 2 row 1 col.S
If not equal then copy sheet 2 row1 col.g thru n to sheet1 row 1 col h thru
o and put "new" in sheet1 row1 col.a
if T equals S then next row
do till end of file.

I have the compare working in a function but I read in another thread that
you can't move data in a function so here I am. Any help would be greatly
appreciated.

thx
 
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
Set up form fields to that Tab can be used to move from one to ano Mica Excel Discussion (Misc queries) 0 February 10th 10 10:11 PM
Compare data in three fields tssgraham Excel Discussion (Misc queries) 5 June 8th 07 09:57 PM
Pivot Table - Compare 2 fields? Erin Excel Discussion (Misc queries) 0 June 1st 06 08:28 PM
How do i compare data fields and assign values? BmxMom101 Excel Worksheet Functions 0 November 10th 05 03:43 PM
Arrays: compare fields? NorTor[_4_] Excel Programming 1 February 17th 05 10:29 AM


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