To check if a value exists in an array, we can loop through its elements. However there is another solution! You can use the INDEX () function, native to Excel and in ...
Excel multiplies the items in the first array (cost price) by the corresponding items in the second array (units sold) and then sums the results to give you the total. It is immediately clear what the ...