Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Mutiple match criteria

Here is my problem;

Trying to match a six digit badge number (may or may not be on the
list it is matching to) to a table that contains a list of specific
badge numbers.

If that particular badge number matches on the list data I want it to
return a match. However, if it matches I need to add another criteria
to the formula. In the list that contains the specific badge numbers
is a date column. I want it to return "Yes" if that badge matches and
is <= to a certain time frame. If it doesn't fall within that date
range I want it to return "No".

Not sure which route to take, Vlookup, indexmatch, &if.........

Any help is much appreciated!!

Regards,

Peter

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Mutiple match criteria

=_IF(ISNUMBER(MATCH(1,(rngBadges=badge_num)*(rngDa tes=start_date)*(rngDates<+end_date),0)),"","No")

this is an array function, so commit with Ctrl-Shift-Enter, not just Enter.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Peter" wrote in message
ups.com...
Here is my problem;

Trying to match a six digit badge number (may or may not be on the
list it is matching to) to a table that contains a list of specific
badge numbers.

If that particular badge number matches on the list data I want it to
return a match. However, if it matches I need to add another criteria
to the formula. In the list that contains the specific badge numbers
is a date column. I want it to return "Yes" if that badge matches and
is <= to a certain time frame. If it doesn't fall within that date
range I want it to return "No".

Not sure which route to take, Vlookup, indexmatch, &if.........

Any help is much appreciated!!

Regards,

Peter



  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Mutiple match criteria

Not sure in the lack of specifics, just some thoughts ..

Assuming real dates in col B, badge numbers in col A, then with lookup badge
numbers listed in D2 down perhaps something like this in say, E2:

=IF(ISNA(MATCH(D2,A:A,0)),"",IF(INDEX(B:B,MATCH(D2 ,A:A,0))<=TODAY()-30,"Yes","No"))

Above would return "Yes" or "No" depending on whether the date returned by
the INDEX/MATCH is more than 30 days ago.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Peter" wrote:
Here is my problem;

Trying to match a six digit badge number (may or may not be on the
list it is matching to) to a table that contains a list of specific
badge numbers.

If that particular badge number matches on the list data I want it to
return a match. However, if it matches I need to add another criteria
to the formula. In the list that contains the specific badge numbers
is a date column. I want it to return "Yes" if that badge matches and
is <= to a certain time frame. If it doesn't fall within that date
range I want it to return "No".

Not sure which route to take, Vlookup, indexmatch, &if.........

Any help is much appreciated!!

Regards,

Peter


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
Vlookup based on valid match of mutiple columns stickandrock Excel Worksheet Functions 8 March 16th 07 03:48 PM
Count Cells Mutiple Criteria kjguillermo Excel Discussion (Misc queries) 1 December 8th 06 03:41 PM
Match 2 criteria with 2 criteria LJoe Excel Worksheet Functions 6 June 23rd 06 03:26 AM
SUMIF with Mutiple Ranges & Criteria PokerZan Excel Discussion (Misc queries) 5 August 4th 05 10:31 PM
Match 2 Criteria GregR Excel Discussion (Misc queries) 3 June 5th 05 05:19 AM


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