Formula to return data from another cell if two cells matches

macroos

New Member
Joined
May 30, 2018
Messages
45
Hi,

I want a formula on column E.
If the number on column F matches that on column B, I want the word that is on that line on column A to be on column E.

For example, on E1, since F1 is 107, it matches B6, so word should be Green.
On E2, it will be Sad, E3 will be Sad, etc.

What formula can I use? (Column A is text and Columns B and F are numbers)

ABCDEF
1Happy102Formula here107
2Sad103103
3Green104106
4Red105102
5Sad106102
6Green107107
7
8
9

<tbody>
</tbody>
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
read post wrong
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,795
Messages
6,121,624
Members
449,041
Latest member
Postman24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top