Forum Discussion
round up
hannesvdhitcoza Hi. Depending on Excel version, and needs, there are different possibilities.
If XLOOKUP is not available;
B4 =VLOOKUP(B2;A10:M341;3;1)
vertically, lookup b2 in range a10:m341 and return that ranges column no 3.
Last parameter 1 means approximately match instead of exact; in the ranges actual order, lookup the first higher value, step back one 'and use that row.
Looking up in the helper column results in the next/higher value.
If XLOOKUP is available, use it!! The formula becomes easier;
B5 =XLOOKUP(B2;B10:B341;C10:C341;;1)
If the version also supports dynamic arrays (like Excel 365) it is possible to get the whole data row in return;
B6 =XLOOKUP(B2;B10:B341;B10:M341;;1)
hannesvdhitcoza NB - some values are changed to visualize matching the correct row. Make sure to use your correct data.