Explanation of formula

windsurfit

Board Regular
Joined
Mar 27, 2003
Messages
228
=HLOOKUP('Input'!$C$15,C2:L49,47,FALSE)


I would like a simple explanation of the above formula and how it plays in a workbook I was recently provided with?

I know the first part is taking the number in c15 of the Input sheet but its whats happening from there that confuses me. What's happening with C2:L49? and the 47, False part there is lots of data here....

Tough to remark accurately I'm sure so just a basis of understanding would be fine.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
The C2:L49 is a grid of data on your sheet. HLOOKUP looks horizontally in the top row of that range (C2:L2) looking for a match to the value in $C$15. Once it does, it goes 47 rows down (row 48 since the range starts on row 2) gets that value and returns it. The FALSE means it needs an exact match. If you say TRUE, or leave that off, you could be looking for a "closest" value, like if you're looking up 12, and the values in the top row are 5,10,15,etc. then it would match on 10.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,217,358
Messages
6,136,094
Members
449,991
Latest member
IslandofBDA

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