Look up for value of a text field

XcelLearner

Board Regular
Joined
Feb 6, 2016
Messages
52
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi,

I have a balance sheet simplified like below.

ABCDEFGH
YearYear 1Year 2Year 3Year 4Year 5Year 6Year 7
Cash44419222572386362
Cash equivalents510132240830
Short-term investments

<tbody>
</tbody>

I would like to look for value of "Cash" in year 1, and expect to have the value as "44".
I tried the formula VLOOKUP("Cash",A1:H5,2,0) without any success. Could you please give me a solution for this problem? Thank you very much.

Nam
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
yours should work, in J1 > =VLOOKUP(I1,A1:H5,2,0) cash is placed in I1 so that you don't have to keep changing the formula
 
Upvote 0
Thank you very much for your replying, Mole and Aladin. Mine actually works, after hours of scratching my head, I recognized the data provider added several spaces before Cash (in effect to make it " Cash", not "Cash"), that caused me headaches.

Thanks a lot again.
 
Upvote 0
Thank you very much for your replying, Mole and Aladin. Mine actually works, after hours of scratching my head, I recognized the data provider added several spaces before Cash (in effect to make it " Cash", not "Cash"), that caused me headaches.

Thanks a lot again.

Yours work only for year 1.

If you use cells for the look up values, say, X1 = cash and Y1 = year 1, you can have in Z1 just...

=VLOOKUP(X1,A:H,MATCH(Y1,INDEX(A:H,1,0),0),0)
 
Upvote 0

Forum statistics

Threads
1,215,101
Messages
6,123,095
Members
449,095
Latest member
gwguy

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