Formula finding matching value

montecristo

New Member
Joined
Jan 3, 2022
Messages
5
Office Version
  1. 2011
Platform
  1. MacOS
Hi all,
Season greetings. :)

I'm trying to workout a formula that will compare columns A and columns B and depending on the outcome find the corresponding value in column E and enter that value in column D.

For example, if column A = column B then the result should be that column E's corresponding value in that row is correct and should be entered in column D - as per my image.

However, if column A does not equal column B, then I need the formula to take column B's value and match it to column A and then enter that matching column E's cell value into column D.

For example, A2 does not equal B2. B2 is equal to A5 and therefore cell value in column E of 4% should be entered in D2.

Hopefully this makes sense and not too complicated. ?

Screen Shot 2022-01-04 at 6.53.58 am.png
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Hi & welcome to MrExcel.
How about
Excel Formula:
=INDEX($E$2:$E$12,MATCH(B2,$A$2:$A$12,0))
 
Upvote 0
Solution
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,018
Messages
6,122,703
Members
449,093
Latest member
Mnur

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