Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-22-2018, 05:10 PM
yeasayer yeasayer is offline Joining Tables with Index and Match for cell content with >256 characters Windows 10 Joining Tables with Index and Match for cell content with >256 characters Office 2016
Novice
Joining Tables with Index and Match for cell content with >256 characters
 
Join Date: Jul 2018
Posts: 1
yeasayer is on a distinguished road
Default Joining Tables with Index and Match for cell content with >256 characters

Hi there,



I apologise in advance if this is a simple question (I just spent an hour searching the internet and didn't find a solution that i) I understood or b) worked.) I'm very new to Excel, this is my problem.

I'm looking to match demographic attributes to survey responses based on two tables (Sheet 1 where I am trying to build one big table; Sheet 2 "Female Answers" which contains only survey responses by female dem; the common ID for both tables are survey-responses themselves (in written text, often with more than 256 characters). This is what I used so far:

=INDEX('Female Answers'!$A$2:$B$2203,MATCH($C2,'Female Answers'!$B$2:$B$2203,0),2)

( "2"= column with the relevant attribute, i.e. "F".)

This function seems to work for responses that are < 256 characters, but I get a "#VALUE!" error for longer ones.

Question: Is there a workaround for this issue or a modification I could use for the formula above? (I've read that one can try to match content based on only looking at the first 256 characters in a cell via LEFT(), but I haven't gotten that to work yet.)

Thanks for bearing with me here.

Best wishes,
Yeasayer
Reply With Quote
  #2  
Old 07-23-2018, 12:54 PM
NBVC's Avatar
NBVC NBVC is offline Joining Tables with Index and Match for cell content with &gt;256 characters Windows 10 Joining Tables with Index and Match for cell content with &gt;256 characters Office 2013
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

Try changing fomrula to:


=INDEX('Female Answers'!$A$2:$B$2203,MATCH(TRUE,INDEX('Female Answers'!$B$2:$B$2203=$C2,0),0),2)
Reply With Quote
Reply

Tags
index and match, joining tables, problem



Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Index and Match Function ,First Second and Third Match paulzy95 Excel 10 09-29-2016 10:46 PM
Translate INDEX(MATCH) into VBA grexcelman Excel Programming 1 03-08-2015 05:06 PM
Index match vba grexcelman Excel 0 03-05-2015 10:55 PM
Index Match syntax grexcelman Excel Programming 0 03-05-2015 07:17 AM
UDF multiple IFs INDEX-MATCH grexcelman Excel Programming 0 02-22-2015 04:20 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:27 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft