Friday 12 December 2014

Excel III: Customizable laptop app

Hello for the last time in this term. The last excel practice we've made consists on an application to make a laptop with the components you choose, which gives you a budget and the possibility to adjust a price limit.
The first sheet is a front page with linking buttons to the rest of the sheets, as always.

The components' sheet is a simple one but it takes some time and it's such a tedious work because you have to look for information of laptops' components and their prices. The only remarkable thing here is the format of the price cells, in euros, and the linking buttons to the other sheets.

The invoice sheet is very complex. For the price of each component I set a "VLOOKUP" function, which I explained in the post about the automatic invoice, with this code: =BUSCARV(C4;Componentes!B2:C13;2;FALSO). To make a dropdown list for each component I used a data format called data validation, as a list, taking the data from the respective chart from the components' sheet. For the final price I added all the components' prices and then I added the 21% of taxes as you can see in the image. And as alert I added an 'IF' function which warns you if the final price exceeds your personal price limit, and which is =SI(C14=0;"";SI(D17>C14;"CUIDADO, ¡SUPERADO!";"NO SUPERADO AÚN"))
To make it become red I added a conditional format only applied to cells with the specific text that is shown when the personal limit price is exceeded. But to alert you in a greater way I also added an error message through another data validation in the price limit cell. Here you have to make possible only a lower final price amount than the price limit amount, as the image below shows, and set your own error message.



I hope it was useful, you can always ask me anything in case of doubt. Have a great Christmas time and enjoy yourselves on this holydays!

No comments:

Post a Comment

Comment something!