Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Comparison or two sheets

I need to compare a column in one spreadsheet to another column in a second
spreadsheet. They will be numbers. I need the difference to be placed in a
third spreadsheet in the corresponding rows. Would it be better to use
macros in the cells or to create a VBA program? Since this will be done
many times with different sheets, I guess creating template (for the third
sheet) would be best. Any good approaches?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Comparison or two sheets

Hi Chuck,
=IF(Sheet2!A1=Sheet1!A1,"",+Sheet1!A1-Sheet2!A1)
Above compares A1 to A1 sheets Sheet1 and Sheet2, puts a ""(Blank) if they
are equal and if not it subtracts one value from the other.
Thanks,


"Chuck" wrote:

I need to compare a column in one spreadsheet to another column in a second
spreadsheet. They will be numbers. I need the difference to be placed in a
third spreadsheet in the corresponding rows. Would it be better to use
macros in the cells or to create a VBA program? Since this will be done
many times with different sheets, I guess creating template (for the third
sheet) would be best. Any good approaches?



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
Automatic comparison and uploading of data among 2 spread sheets excel spread sheet New Users to Excel 0 December 6th 06 01:23 PM
comparison b166er Excel Worksheet Functions 1 June 16th 06 07:43 PM
XLS comparison Pick Excel Discussion (Misc queries) 1 May 26th 06 06:10 PM
Comparison / Check Off between 2 excel sheets. HELP NEEDED! sax30 Excel Worksheet Functions 8 April 28th 05 09:13 AM
Comparison mike Excel Programming 2 February 2nd 04 09:10 PM


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