Get cell value from another cell adjacent to particular matching cell

rahulbuddy

New Member
Joined
Nov 14, 2022
Messages
4
Office Version
  1. 2019
Platform
  1. Windows
Hello Guys,

I am making an excel file where, I want to retrieve a cell value from another cell next to that particular date.

So I have a exchange rate table with 2 columns, where in Column1 I have dates and in Column2 I have currency exchange rate for that particular rate. Lets say I have this data for 6 months.

In another column, I want to fetch that exchange rate value only for a particular date. Kindly look at image attached. Any help is much appreciated.

Thanks and Regards,
Rahul.

.
1Excel-Question.png
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Welcome to Mr Excel:)

You can do that with a basic LOOKUP formula, assuming that A1 is the top left corner of your picture, you could try

=LOOKUP(E5,$B$4:$B$18,$C$4:$C$18)

I've also assumed that you have proper dates in both tables. The left alignment in the first table suggests that they could be invalid text strings, in which case the formula will not recognise them correctly.
 
Upvote 0
Welcome to Mr Excel:)

You can do that with a basic LOOKUP formula, assuming that A1 is the top left corner of your picture, you could try

=LOOKUP(E5,$B$4:$B$18,$C$4:$C$18)

I've also assumed that you have proper dates in both tables. The left alignment in the first table suggests that they could be invalid text strings, in which case the formula will not recognise them correctly.
It works..

Many many many thanks. God bless you dear.
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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