If statement with more than one condition

lborough

New Member
Joined
Dec 9, 2011
Messages
13
I have a table in columns L, M, N. I am trying to put a formula in column I that says what ever column H is find in column L and display column M in Column I. So in column I the first one would be 0.090, the second would be 0.110, the third would be 0.110 and last would be 0.090.

Col"H"
Col"I"Col"J"Col "L"Col "M"Col "N"
PPPP0.0900.225
QQPQ0.0900.275
QTQQ0.1100.275
PQQT0.1100.325

<COLGROUP><COL style="WIDTH: 53pt; mso-width-source: userset; mso-width-alt: 2596" width=71><COL style="WIDTH: 50pt; mso-width-source: userset; mso-width-alt: 2450" width=67><COL style="WIDTH: 62pt; mso-width-source: userset; mso-width-alt: 2998" width=82><COL style="WIDTH: 48pt" span=3 width=64><COL style="WIDTH: 62pt; mso-width-source: userset; mso-width-alt: 2998" width=82><TBODY>
</TBODY>
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi,

Perhaps try VLOOKUP, something like this:
Excel Workbook
HIJKLMN
1PP0.090PP0.0900.225
2QQ0.110PQ0.0900.275
3QT0.110QQ0.1100.275
4PQ0.090QT0.1100.325
Sheet1
Excel 2010
Cell Formulas
RangeFormula
I1=VLOOKUP(H1,L$1:N$4,2,0)
Note, you can change column index (2) to a 3 for example to get the corresponding data from column N instead.
 
Upvote 0

Forum statistics

Threads
1,215,770
Messages
6,126,794
Members
449,337
Latest member
BBV123

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