Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 106
Default match formula question

I am trying to match data from two seperate spreadsheets to return a value
but the formatting of the data i need to match is not the same:

the id field in one sheet is:

0000100011634180000000265

and the data in the other set is:

01-1163418-265

these are actually the same and i would want to return the value in column N.

I was trying to use this:
=IF(ISNA(MATCH(H6,'Drop last comp report here'!$H:$H,0)),"",INDEX('Drop last
comp report here'!N:N,MATCH(H6,'Drop last comp report here'!H:$H,0),1))

but how do i acct for formatting difference?

Thanks




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default match formula question

I think I got all the ranges correct; give this formula a try...

=IF(ISNA(MATCH(TEXT(--LEFT(H6,5),"00")&"-"&--MID(H6,6,10)&"-"&--RIGHT(H6,10),'Drop
last comp report
here'!$H:$H,0)),"",INDEX(N:N,MATCH(TEXT(--LEFT(H6,5),"00")&"-"&--MID(H6,6,10)&"-"&--RIGHT(H6,10),'Drop
last comp report here'!$H:$H,0)))

Rick


"Belinda7237" wrote in message
...
I am trying to match data from two seperate spreadsheets to return a value
but the formatting of the data i need to match is not the same:

the id field in one sheet is:

0000100011634180000000265

and the data in the other set is:

01-1163418-265

these are actually the same and i would want to return the value in column
N.

I was trying to use this:
=IF(ISNA(MATCH(H6,'Drop last comp report here'!$H:$H,0)),"",INDEX('Drop
last
comp report here'!N:N,MATCH(H6,'Drop last comp report here'!H:$H,0),1))

but how do i acct for formatting difference?

Thanks





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default match formula question

Here is the same formula, but deliberately broken apart so that your
newsreader won't split the text at the blank spaces...

=IF(ISNA(MATCH(TEXT(--LEFT(H6,5),"00")&"-"&--MID(H6,6,10)&
"-"&--RIGHT(H6,10),$B:$B,0)),"",INDEX(N:N,MATCH(TEXT(--LEFT(
H6,5),"00")&"-"&--MID(H6,6,10)&"-"&--RIGHT(H6,10),$B:$B,0)))

Rick


"Rick Rothstein (MVP - VB)" wrote in
message ...
I think I got all the ranges correct; give this formula a try...

=IF(ISNA(MATCH(TEXT(--LEFT(H6,5),"00")&"-"&--MID(H6,6,10)&"-"&--RIGHT(H6,10),'Drop
last comp report
here'!$H:$H,0)),"",INDEX(N:N,MATCH(TEXT(--LEFT(H6,5),"00")&"-"&--MID(H6,6,10)&"-"&--RIGHT(H6,10),'Drop
last comp report here'!$H:$H,0)))

Rick


"Belinda7237" wrote in message
...
I am trying to match data from two seperate spreadsheets to return a value
but the formatting of the data i need to match is not the same:

the id field in one sheet is:

0000100011634180000000265

and the data in the other set is:

01-1163418-265

these are actually the same and i would want to return the value in
column N.

I was trying to use this:
=IF(ISNA(MATCH(H6,'Drop last comp report here'!$H:$H,0)),"",INDEX('Drop
last
comp report here'!N:N,MATCH(H6,'Drop last comp report here'!H:$H,0),1))

but how do i acct for formatting difference?

Thanks






  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 106
Default match formula question

thanks, it didnt work at first but i understood the concept yo uwere using
and figured out that i just needed to add the location of the N:N column tab
name - then it worked - thanks - what a powerful formula!

"Rick Rothstein (MVP - VB)" wrote:

Here is the same formula, but deliberately broken apart so that your
newsreader won't split the text at the blank spaces...

=IF(ISNA(MATCH(TEXT(--LEFT(H6,5),"00")&"-"&--MID(H6,6,10)&
"-"&--RIGHT(H6,10),$B:$B,0)),"",INDEX(N:N,MATCH(TEXT(--LEFT(
H6,5),"00")&"-"&--MID(H6,6,10)&"-"&--RIGHT(H6,10),$B:$B,0)))

Rick


"Rick Rothstein (MVP - VB)" wrote in
message ...
I think I got all the ranges correct; give this formula a try...

=IF(ISNA(MATCH(TEXT(--LEFT(H6,5),"00")&"-"&--MID(H6,6,10)&"-"&--RIGHT(H6,10),'Drop
last comp report
here'!$H:$H,0)),"",INDEX(N:N,MATCH(TEXT(--LEFT(H6,5),"00")&"-"&--MID(H6,6,10)&"-"&--RIGHT(H6,10),'Drop
last comp report here'!$H:$H,0)))

Rick


"Belinda7237" wrote in message
...
I am trying to match data from two seperate spreadsheets to return a value
but the formatting of the data i need to match is not the same:

the id field in one sheet is:

0000100011634180000000265

and the data in the other set is:

01-1163418-265

these are actually the same and i would want to return the value in
column N.

I was trying to use this:
=IF(ISNA(MATCH(H6,'Drop last comp report here'!$H:$H,0)),"",INDEX('Drop
last
comp report here'!N:N,MATCH(H6,'Drop last comp report here'!H:$H,0),1))

but how do i acct for formatting difference?

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
Match formula question Belinda7237 Excel Worksheet Functions 6 May 17th 08 03:19 AM
Match Question Jules Excel Worksheet Functions 4 February 22nd 07 12:08 PM
INDEX/MATCH formula question A.S. Excel Discussion (Misc queries) 1 January 15th 07 05:23 PM
Question about the "Match" formula Ltat42a Excel Discussion (Misc queries) 3 February 21st 06 11:56 PM
How do I display more than one match in a Index/Match formula? Trish Excel Worksheet Functions 0 September 26th 05 10:21 PM


All times are GMT +1. The time now is 06:06 AM.

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"