LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default IF AND MATCH data type issue

This formula is working fine, except that my data is imported from MS Access
and Excel seems not to recognize the correct data type.
I have two data sets imported from two different Access queries on the same
worksheet. I'm using my first data set/range as the base, then I have added 4
new columns that I need to populate with "Y"/"N" by looking up 2 to 3 vlaues
on my base to match them with values on the 2nd data range. So far my formula
give the correct results for some rows while giving incorrect results for
others. I have foreced the data type to match on both ranges. I also cleared
both ranges, applied my desired data type before importing the data, but
still that didn't help. I also tried to use the "--" (I use it sometimes in
SUMPRODUCT), it will change the incorrect results to the correct ones, but it
will do the same to the correct ones (change them to show incorrect results).
If I type the values over in one row I will get the correct results, but
obviously that not an option for thousands of records, and having to do that
every time we refresh the data. Is there a better way to force the formula to
ignore any data mismatch? All of my data in both ranges are either 'general'
or 'text'.

Thanks.

=IF(AND(ISNUMBER(MATCH(Z13,AC2:AC4500,0)),ISNUMBER (MATCH(AA13,AF2:AF4500,0)),ISNUMBER(MATCH(AB13,AG2 :AG4500,0))),"Y","N")

--

 
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 & INDEX ISSUE? [email protected] Excel Discussion (Misc queries) 1 March 15th 08 03:13 AM
index match issue StephenAccountant Excel Worksheet Functions 2 December 14th 07 03:49 AM
Match type? M.A.Tyler Excel Discussion (Misc queries) 1 July 20th 07 03:40 AM
VLOOKUP/Index&Match data format issue [email protected] Excel Worksheet Functions 3 April 4th 07 07:31 PM
Only text values matching using index/match lookup - data type pro Stanton Excel Worksheet Functions 1 August 2nd 05 01:05 AM


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