Hlookup to a formula

Zyriel

New Member
Joined
Dec 22, 2004
Messages
9
Hello people,

I've been searching in this forum but I cannot seem to find any answer,

I know I can use the if() function. but that will mean a long formula string. I'm looking for a way to use hlookup to find a given number within a range. Then do the corresponding formula based on that range the given number is within..

Any Ideas??
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

just_jon

Legend
Joined
Sep 3, 2002
Messages
10,473
Care to give a more complete scenario, including a description of your layout?

I suspect you are looking for:

=VLOOKUP(Target, Range, MATCH(ColHeader, ColRange,0), 0)

but can't be sure ...
 

Forum statistics

Threads
1,136,346
Messages
5,675,229
Members
419,555
Latest member
Paddington

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
Top