ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   text match formula not working (https://www.excelbanter.com/excel-worksheet-functions/217552-text-match-formula-not-working.html)

Belinda7237

text match formula not working
 
I am trying to match two worksheets that have a common element and return the
value in another cell. I have used this same formula many times and it
always works, however with this set of data it is saying my data doesnt match.

=IF(ISNA(MATCH(D3,'Drop Monday PWM Sheet here'!F:F,0)),"",INDEX('Drop Monday
PWM Sheet here'!B:B,MATCH(D3,'Drop Monday PWM Sheet here'!F:F,0),1))

I am thinking it has something to do with the formatting of the F column in
each sheet as I pulled this data down from a delimited file. Here is an
example:

00075000102809100000000273

I have formatting this column as text, as general etc but nothing works?

Any ideas?


OssieMac

text match formula not working
 
Hi,

You could have additional leading or trailing characters. Insert a blank
column adjacent to the data and try Len function and check the number of
characters it returns against the actual count of the characters. If len
returns more characters then try Trim and Clean and see if that works.
--
Regards,

OssieMac


"Belinda7237" wrote:

I am trying to match two worksheets that have a common element and return the
value in another cell. I have used this same formula many times and it
always works, however with this set of data it is saying my data doesnt match.

=IF(ISNA(MATCH(D3,'Drop Monday PWM Sheet here'!F:F,0)),"",INDEX('Drop Monday
PWM Sheet here'!B:B,MATCH(D3,'Drop Monday PWM Sheet here'!F:F,0),1))

I am thinking it has something to do with the formatting of the F column in
each sheet as I pulled this data down from a delimited file. Here is an
example:

00075000102809100000000273

I have formatting this column as text, as general etc but nothing works?

Any ideas?


Belinda7237

text match formula not working
 
Perfect, thanks - the len formula allowed me to see there was one extra
character!

"Belinda7237" wrote:

I am trying to match two worksheets that have a common element and return the
value in another cell. I have used this same formula many times and it
always works, however with this set of data it is saying my data doesnt match.

=IF(ISNA(MATCH(D3,'Drop Monday PWM Sheet here'!F:F,0)),"",INDEX('Drop Monday
PWM Sheet here'!B:B,MATCH(D3,'Drop Monday PWM Sheet here'!F:F,0),1))

I am thinking it has something to do with the formatting of the F column in
each sheet as I pulled this data down from a delimited file. Here is an
example:

00075000102809100000000273

I have formatting this column as text, as general etc but nothing works?

Any ideas?



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com