#1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3
Default v lookup

I am inexperienced with excel so any suggestions are welcomed. I have two
different spreadsheets with columns of name, hours worked, total wages. Each
name has a different row for each type of wage. A person can have several
rows. There are no subtotals. I want to know how to compare each spreadsheet
and find the differences. Essentially I want to know if the total wages on
the first spreadsheet match the second spreadsheet. If wages have been
partially or completely dropped, or duplicated etc... a report would
generate. Similar to balancing a checkbook. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,696
Default v lookup

This can be done different ways depending on a couple things:

If you know all the names that will be on the 2 sheets, and you just want to
see when there's a mismatch, you can do:

Column A Column B
Rep Name Disposition
John
=sumif(Sheet1!A:A,A2,Sheet1!C:C)-sumif(Sheet2!A:A,A2,Sheet2!C:C)

This will show the $ difference between sheet1 and sheet2 for each rep name.
If it's positive, this means sheet 1's wages are higher, and vice versa.

That's a simple method, but does depend on you knowing all the names from
both spreadsheets in advance.

HTH

"payroll" wrote:

I am inexperienced with excel so any suggestions are welcomed. I have two
different spreadsheets with columns of name, hours worked, total wages. Each
name has a different row for each type of wage. A person can have several
rows. There are no subtotals. I want to know how to compare each spreadsheet
and find the differences. Essentially I want to know if the total wages on
the first spreadsheet match the second spreadsheet. If wages have been
partially or completely dropped, or duplicated etc... a report would
generate. Similar to balancing a checkbook. Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,365
Default v lookup

What Sean Timmons has offered may be all that you need. If you need more,
you're probably not going to be able to use simple SumIf() and if you need to
compare 2 or 3 fields, as name and pay type along with amount paid, then
VLookup() will not work either as it will stop looking at the first match.

Instead your best bet is a SUMPRODUCT() formula, or a few of them to do the
work. Rather than try to explain it all, I've uploaded a sample workbook
with setups of the formulas needed for those samples. On 2 pages simulating
your 2 pages, I've set formulas to compare row by row with the other sheet,
while on a 3rd sheet I've set up the sheet1 vs sheet2 and sheet2 vs sheet1
comparisons in 2 columns.

To do an audit, or reconciliation, have to look at what's going on in both
sheets. If you don't have something on one sheet that exists on the other,
you cannot do a comparison of the two - you can't even tell that it is
missing easily. So you have to look at all items on both sheets asking "is
this on the other sheet also?".

To examine the sample workbook, just click on this link and save to your
hard drive then open it up.
http://www.jlathamsite.com/uploads/for_payroll.xls

"payroll" wrote:

I am inexperienced with excel so any suggestions are welcomed. I have two
different spreadsheets with columns of name, hours worked, total wages. Each
name has a different row for each type of wage. A person can have several
rows. There are no subtotals. I want to know how to compare each spreadsheet
and find the differences. Essentially I want to know if the total wages on
the first spreadsheet match the second spreadsheet. If wages have been
partially or completely dropped, or duplicated etc... a report would
generate. Similar to balancing a checkbook. Thanks.

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
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM
Advanced Lookup (lookup for 2 values) 0-0 Wai Wai ^-^ Excel Worksheet Functions 2 March 30th 06 07:09 PM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM
How do I lookup and return different values when the lookup value. kg Excel Discussion (Misc queries) 1 January 20th 05 12:53 AM


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