Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default INDEX MATCH CONCATENATE

OS=MSWin2000
App=MS Excel 2003

Within a single workbook, this is what I want to accomplish:

1) Examine the value in a specific cell of my main worksheet (e.g., AB2
{text values})
2) Look up the matching value in "refsheet" (Column H {title="costcenter"})
3) Concatenate other values in "refsheet" (Columns B & C {values are
text=FirstName, LastName})
4) Place value from #3 into a specific cell of my main worksheet (e.g., B2
{Result=FirstName, LastName})

This is the formula that I created to return only the cost center number and
the department name and it works fine:
=INDEX(refsheet!$A$1:$T$26785,MATCH(AB2,refsheet!$ A$1:$A$26785,),MATCH("costcenter",refsheet!$A$1:$T $1,))

I played with this quite a bit and this is what I came up with for a
solution, but I only get a "#VALUE!":
=INDEX(refsheet!$A$1:$T$26785,MATCH(AB2,refsheet!$ A$1:$A$26785,),CONCATENATE(refsheet!B2,refsheet!C2 ))

I would appreciate any help.

Thanks,
Bay Area DebG
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default INDEX MATCH CONCATENATE

Hi Deb

You need to do seperate matches for each cell and then a join using the &.

I also added a comma adjust as required.

=INDEX(refsheet!$B$1:$B$26785,MATCH($AB$2,refsheet !$H$1:$H$26785,0))&","&INDEX(refsheet!$C$1:$C$2678 5,MATCH($AB$2,refsheet!$H$1:$H$26785,0))

--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Bay Area DebG" wrote:

OS=MSWin2000
App=MS Excel 2003

Within a single workbook, this is what I want to accomplish:

1) Examine the value in a specific cell of my main worksheet (e.g., AB2
{text values})
2) Look up the matching value in "refsheet" (Column H {title="costcenter"})
3) Concatenate other values in "refsheet" (Columns B & C {values are
text=FirstName, LastName})
4) Place value from #3 into a specific cell of my main worksheet (e.g., B2
{Result=FirstName, LastName})

This is the formula that I created to return only the cost center number and
the department name and it works fine:
=INDEX(refsheet!$A$1:$T$26785,MATCH(AB2,refsheet!$ A$1:$A$26785,),MATCH("costcenter",refsheet!$A$1:$T $1,))

I played with this quite a bit and this is what I came up with for a
solution, but I only get a "#VALUE!":
=INDEX(refsheet!$A$1:$T$26785,MATCH(AB2,refsheet!$ A$1:$A$26785,),CONCATENATE(refsheet!B2,refsheet!C2 ))

I would appreciate any help.

Thanks,
Bay Area DebG

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
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Index Match Concatenate and Screen Size PeterAtherton Excel Worksheet Functions 2 September 2nd 06 09:39 AM
Index Match Concatenate Sumit Excel Worksheet Functions 8 August 31st 06 11:22 AM
How do I display more than one match in a Index/Match formula? Trish Excel Worksheet Functions 0 September 26th 05 10:21 PM
index,match,match on un-sorted data Brisbane Rob Excel Worksheet Functions 3 September 24th 05 10:04 PM


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