Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Max
 
Posts: n/a
Default

Another play to try ..

Assuming each data row (i.e. B2:F2, B3:F3, B4:F4, etc)
will contain, at the most, only one match* for the 4 initials

Put in say, G2, and array-enter (press CTRL+SHIFT+ENTER):

=IF(ISNA(MATCH(TRUE,ISNUMBER(MATCH({"ru";"ma";"bd" ;"la"},$B2:$F2,0)),0)),"",
INDEX({"Richard";"Martin";"Benita";"Leslie"},MATCH (TRUE,ISNUMBER(MATCH({"ru"
;"ma";"bd";"la"},$B2:$F2,0)),0)))

Copy G2 down to return correspondingly for B3:F3, B4:F4, etc

Rows w/o any matches will return blanks: ""

*If there's more than one match,
only the first match (from the left) will be returned
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"ulffersrc" wrote
in message ...

I have the following formula:

=IF(B2:F2="ru", "Richard", IF(B2:F2="ma", "Martin", IF(B2:F2="bd",
"Benita", IF(B2:F2="la", "Leslie", ""))))


The problem is the range is not recognized. The formula only works for
one column at a time because I want the result to happen below the
range, say in column F, not at the end or with an extra column (like G
or H).

Do I need to use some COUNTIF idea? or something else?

Thanks,
rcu


--
ulffersrc
------------------------------------------------------------------------
ulffersrc's Profile:

http://www.excelforum.com/member.php...o&userid=26020
View this thread: http://www.excelforum.com/showthread...hreadid=393735



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
Improvements for text finding functions yarp Excel Discussion (Misc queries) 2 August 8th 05 04:01 PM
Confused about arrays and ranges in functions Llurker Excel Worksheet Functions 0 July 7th 05 05:44 AM
Database Functions - question using formulas as criteria msnews.microsoft.com Excel Worksheet Functions 0 June 9th 05 12:10 PM
PASTE DOWN FUNCTIONS jackle Excel Worksheet Functions 0 May 25th 05 02:10 PM
# of Functions per cell SUB-ZERO Excel Worksheet Functions 3 January 23rd 05 10:35 PM


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