Formula for price breaks in Excel

Try using MATCH and CHOOSE:

=CHOOSE(MATCH(H2,{0,25,100,500,1000}),C2,D2,E2,F2,G2)*H2

The MATCH will compare the qty (in H2) to the values in the array ({0,25,100,500,1000}) and return a number (1 to 5).

The CHOOSE will then take this number and choose the nth value from the list of cells (C2,D2,E2,F2,G2)

We then multiply the value in the chosen cell by the quantity in H2