Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Formula help with a match question

Hello,

I need help with match formulas that will return discrepancies between two
reports.

I would like a third table that will return the account number when data
from one of the adjacent columns do not match. Although 1183-06 matches,
some
of them do not. I gave you a sampling of the spreadsheet, there are several
dozens rows.

For example:
Report One:
. ..577
386-05..... 1 .... 1 ..... .... .... 1 ......
455-05..... 1 .... 1 ..... .... .... 1 ......

Report Two:
. ..577
386-05..... 1 .... ..... .... .... 1 ......
455-05..... 1 .... 1 ..... .... .... 1 ......

Return
. ..577
386-05..... .... 1 ..... .... .... ......

The result will be a third table that shows me that 386-05 did not have a
count for column 325.

I hope this example helps.
and thanks so much.

Jim

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Formula help with a match question

Assuming the below

1) Report 1 in Sheet1 A1:J100
2) Report 2 in Sheet2 A1:J100
3) Sheet3 has the header fields in Row1 and Column 1

use this formula in Sheet3 B2 which will return a 1 if there is a mismatch
between
Sheet1 and Sheet2 for the corresponding headers..

=IF(INDEX(Sheet1!$A$1:$J$100,MATCH($A2,Sheet1!$A$1 :$A$100,0),MATCH(B$1,Sheet1!$A$1:$J$1,0))=INDEX(Sh eet2!$A$1:$J$100,MATCH($A2,Sheet2!$A$1:$A$100,0),M ATCH(B$1,Sheet2!$A$1:$J$1,0)),"",1)


Alternatively, if you have the headers in the same cell location in all
sheets you can try out this formula in Sheet3 B2

=IF(Sheett1!B2=Sheet2!B2,"",1)

If this post helps click Yes
---------------
Jacob Skaria


"Jim" wrote:

Hello,

I need help with match formulas that will return discrepancies between two
reports.

I would like a third table that will return the account number when data
from one of the adjacent columns do not match. Although 1183-06 matches,
some
of them do not. I gave you a sampling of the spreadsheet, there are several
dozens rows.

For example:
Report One:
. ..577
386-05..... 1 .... 1 ..... .... .... 1 ......
455-05..... 1 .... 1 ..... .... .... 1 ......

Report Two:
. ..577
386-05..... 1 .... ..... .... .... 1 ......
455-05..... 1 .... 1 ..... .... .... 1 ......

Return
. ..577
386-05..... .... 1 ..... .... .... ......

The result will be a third table that shows me that 386-05 did not have a
count for column 325.

I hope this example helps.
and thanks so much.

Jim

  #3   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Formula help with a match question

Jacob,

Thanks for the help. I especially like: =IF(Sheett1!B2=Sheet2!B2,"",1) I
would never had thought of this.

The primary formula you provided appears to be two formula's and I need help
with how to use each. The way I read your note it sounds like your saying
the formula is one:

=IF(INDEX(Sheet1!$A$1:$J$100,MATCH($A2,Sheet1!$A$1 :$A$100,0),MATCH(B$1,Sheet1!$A$1:$J$1,0))

=INDEX(Sheet2!$A$1:$J$100,MATCH($A2,Sheet2!$A$1:$A $100,0),MATCH(B$1,Sheet2!$A$1:$J$1,0)),"",1)

Thanks for the clarification





"Jacob Skaria" wrote:

Assuming the below

1) Report 1 in Sheet1 A1:J100
2) Report 2 in Sheet2 A1:J100
3) Sheet3 has the header fields in Row1 and Column 1

use this formula in Sheet3 B2 which will return a 1 if there is a mismatch
between
Sheet1 and Sheet2 for the corresponding headers..

=IF(INDEX(Sheet1!$A$1:$J$100,MATCH($A2,Sheet1!$A$1 :$A$100,0),MATCH(B$1,Sheet1!$A$1:$J$1,0))=INDEX(Sh eet2!$A$1:$J$100,MATCH($A2,Sheet2!$A$1:$A$100,0),M ATCH(B$1,Sheet2!$A$1:$J$1,0)),"",1)


Alternatively, if you have the headers in the same cell location in all
sheets you can try out this formula in Sheet3 B2

=IF(Sheett1!B2=Sheet2!B2,"",1)

If this post helps click Yes
---------------
Jacob Skaria


"Jim" wrote:

Hello,

I need help with match formulas that will return discrepancies between two
reports.

I would like a third table that will return the account number when data
from one of the adjacent columns do not match. Although 1183-06 matches,
some
of them do not. I gave you a sampling of the spreadsheet, there are several
dozens rows.

For example:
Report One:
. ..577
386-05..... 1 .... 1 ..... .... .... 1 ......
455-05..... 1 .... 1 ..... .... .... 1 ......

Report Two:
. ..577
386-05..... 1 .... ..... .... .... 1 ......
455-05..... 1 .... 1 ..... .... .... 1 ......

Return
. ..577
386-05..... .... 1 ..... .... .... ......

The result will be a third table that shows me that 386-05 did not have a
count for column 325.

I hope this example helps.
and thanks so much.

Jim

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Formula help with a match question

Dear Jim

It is a single formula. Please find the explanasion. I am not good at
explaining things. However will give it a try

=IF(INDEX(Sheet1!$A$1:$J$100,MATCH($A2,Sheet1!$A$1 :$A$100,0),MATCH(B$1,Sheet1!$A$1:$J$1,0))=INDEX(Sh eet2!$A$1:$J$100,MATCH($A2,Sheet2!$A$1:$A$100,0),M ATCH(B$1,Sheet2!$A$1:$J$1,0)),"",1)

MATCH($A2,Sheet1!$A$1:$A$100,0) will try and match the header value in Col A
with the Col A header value of Sheet1 and returns the row number

MATCH(B$1,Sheet1!$A$1:$J$1,0) will try and match the header value in Row1
with the header value in Sheet1 and returns the column number

INDEX(Sheet1!$A$1:$J$100,Row,Column) will then return the value of the
corresponding row and column

Similarly for Sheet2. These values will be compared....and result displayed
using IF condition

IF Sheet1value=Sheet2value then Blank else One

the = equal sign in between the INDEX functions is the one you are referring
to as two formulas. It is not it is just one formula. Hope the above helps....

If this post helps click Yes
---------------
Jacob Skaria


"Jim" wrote:

Jacob,

Thanks for the help. I especially like: =IF(Sheett1!B2=Sheet2!B2,"",1) I
would never had thought of this.

The primary formula you provided appears to be two formula's and I need help
with how to use each. The way I read your note it sounds like your saying
the formula is one:

=IF(INDEX(Sheet1!$A$1:$J$100,MATCH($A2,Sheet1!$A$1 :$A$100,0),MATCH(B$1,Sheet1!$A$1:$J$1,0))

=INDEX(Sheet2!$A$1:$J$100,MATCH($A2,Sheet2!$A$1:$A $100,0),MATCH(B$1,Sheet2!$A$1:$J$1,0)),"",1)

Thanks for the clarification





"Jacob Skaria" wrote:

Assuming the below

1) Report 1 in Sheet1 A1:J100
2) Report 2 in Sheet2 A1:J100
3) Sheet3 has the header fields in Row1 and Column 1

use this formula in Sheet3 B2 which will return a 1 if there is a mismatch
between
Sheet1 and Sheet2 for the corresponding headers..

=IF(INDEX(Sheet1!$A$1:$J$100,MATCH($A2,Sheet1!$A$1 :$A$100,0),MATCH(B$1,Sheet1!$A$1:$J$1,0))=INDEX(Sh eet2!$A$1:$J$100,MATCH($A2,Sheet2!$A$1:$A$100,0),M ATCH(B$1,Sheet2!$A$1:$J$1,0)),"",1)


Alternatively, if you have the headers in the same cell location in all
sheets you can try out this formula in Sheet3 B2

=IF(Sheett1!B2=Sheet2!B2,"",1)

If this post helps click Yes
---------------
Jacob Skaria


"Jim" wrote:

Hello,

I need help with match formulas that will return discrepancies between two
reports.

I would like a third table that will return the account number when data
from one of the adjacent columns do not match. Although 1183-06 matches,
some
of them do not. I gave you a sampling of the spreadsheet, there are several
dozens rows.

For example:
Report One:
. ..577
386-05..... 1 .... 1 ..... .... .... 1 ......
455-05..... 1 .... 1 ..... .... .... 1 ......

Report Two:
. ..577
386-05..... 1 .... ..... .... .... 1 ......
455-05..... 1 .... 1 ..... .... .... 1 ......

Return
. ..577
386-05..... .... 1 ..... .... .... ......

The result will be a third table that shows me that 386-05 did not have a
count for column 325.

I hope this example helps.
and thanks so much.

Jim

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
match formula question Belinda7237 Excel Worksheet Functions 1 September 3rd 08 04:48 PM
match formula question with isna Belinda7237 Excel Worksheet Functions 1 September 3rd 08 03:53 AM
match formula question Belinda7237 Excel Worksheet Functions 3 August 21st 08 01:28 PM
Match formula question Belinda7237 Excel Worksheet Functions 6 May 17th 08 03:19 AM
INDEX/MATCH formula question A.S. Excel Discussion (Misc queries) 1 January 15th 07 05:23 PM


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

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"