# Compare text in a cell to text in a column on another sheet & return text from 3rd cell

1. ## Compare text in a cell to text in a column on another sheet & return text from 3rd cell

I have data in two sheets within a workbook. I need to compare data in a cell from one sheet to data in a column on second sheet and return the value of a third cell in the row associated with the match on the second sheet.

I am uploading a sample as an illustration. In this example I need a formula in c3 on sheet 2 that will compare the text in b3 on sheet 2 with the text in column c on sheet 1. The values in these columns are all unique. When a match is found in the text in column c on sheet 1, I need the formula to return the text in the associated cell from column a on sheet 1.

In my example, b3 = **None** on sheet 2. I need the formula in c3 to scan column c on sheet 1 and find the cell that = **None** and return the value from column on the same row, in this case Non Income Other.

Sample.xlsx

2. ## Re: Compare text in a cell to text in a column on another sheet & return text from 3rd cel

``Please Login or Register  to view this content.``

3. ## Re: Compare text in a cell to text in a column on another sheet & return text from 3rd cel

``Please Login or Register  to view this content.``
the proper function needs to be called in order to match the names in sheet 1.

4. ## Re: Compare text in a cell to text in a column on another sheet & return text from 3rd cel

welcome to the forum. maybe:
=INDEX('Sheet 1'!A:A,MATCH(B3,'Sheet 1'!C:C,0))

5. ## Re: Compare text in a cell to text in a column on another sheet & return text from 3rd cel

Thanks everyone. I ended up using benishiryo's solution. Worked like a charm!

6. ## Re: Compare text in a cell to text in a column on another sheet & return text from 3rd cel

Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

In future, to mark your thread as Solved, you can do the following -

Incase your issue is not solved, you can undo it as follows -

Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1