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 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?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default 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?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 106
Default 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?

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
IF THEN with Match & Index formula not working yogart Excel Worksheet Functions 16 December 10th 08 06:31 PM
Getting Count Formula Working if Column has both number and text Nikhil Joshi Excel Worksheet Functions 1 May 7th 08 03:15 PM
My good 'ol formula for inserting text isn't working!! David in VB[_2_] Excel Discussion (Misc queries) 4 February 29th 08 05:08 PM
Can I concatenate text in cells to make a working formula? Matt S. R. Excel Discussion (Misc queries) 11 November 11th 05 03:44 PM
match cell text with text in formula Todd L. Excel Worksheet Functions 3 December 9th 04 08:11 PM


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