[{"data":1,"prerenderedAt":50},["ShallowReactive",2],{"lesson-shell:dynamic-arrays\u002Fxlookup-multi:en":3},{"id":4,"who":5,"role":6,"image":7,"text":8},"xlookup-multi","Nadia Rahman","runs Inkwell Books and loves data","\u002Fpersona\u002Fnadia.webp",{"none":9,"win":36,"mac":43},{"title":10,"story":11,"steps":12},"Price and stock in one formula","During book week, the phone rings all day. Customers ask for a price, and then: do you have it? Nadia wants price and stock with one formula. Then she can fill whole orders fast.",[13,24],{"id":14,"title":15,"intro":16,"how":17,"example":22,"task":23},"two-columns","Return two columns","XLOOKUP can return more than one column. Use a return range with two columns, for example D5:E16. The result spills to the right.",[18,19,20,21],"Click cell H5.","Type =XLOOKUP( with the value to find, the range to search and a comma.","Type a return range with two columns and a closing bracket.","Press Enter.","=XLOOKUP(G5,B5:B16,D5:E16)","The next customer wants Moss and Iron. Put its price and stock in H6 and I6 with one formula in H6.",{"id":25,"title":26,"intro":27,"how":28,"example":34,"task":35},"fill","Fill the formula down","To use the formula for more rows, fill it down. Lock the ranges with $, for example $B$5:$B$16. Then they do not move.",[29,30,21,31,32,33],"Click cell H10.","Type the formula. Put $ in front of the column and the row of each range.","Select the cell with the formula.","Drag the fill handle down over the other rows.","Press F4 (Mac: fn+F4) while you type a range to add the $ signs.","=XLOOKUP(G10,$B$5:$B$16,$D$5:$E$16)","Fill in the library order. Type one formula in H16 and fill it down to H18.",{"title":10,"story":11,"steps":37},[38,40],{"id":14,"title":15,"intro":16,"how":39,"example":22,"task":23},[18,19,20,21],{"id":25,"title":26,"intro":27,"how":41,"example":34,"task":35},[29,30,21,31,32,42],"Press F4 while you type a range to add the $ signs.",{"title":10,"story":11,"steps":44},[45,47],{"id":14,"title":15,"intro":16,"how":46,"example":22,"task":23},[18,19,20,21],{"id":25,"title":26,"intro":27,"how":48,"example":34,"task":35},[29,30,21,31,32,49],"Press fn+F4 while you type a range to add the $ signs.",1795376395776]