Forum Discussion
Item formula
In the cell where you want the amount to appear, you enter a formula like
=IF(A1="desired entry",45.67,0)
there are other ways, more sophisticated ways, if you actually have, say, 20 different possible entries for cells in column A, each with its associated dollar amount. Then you could use VLOOKUP and a table with the text entries and the associated dollar amounts.
But you might want to give a more complete description here of what the bigger picture is, so a more robust and reliable answer could be created. What I've given you will work, but depending on the situation, on the importance of it, you want to make sure that there are no "holes" in the logic or design.
That's very helpful, much appreciated.
I often make tables to track my Building jobs. There are some Items that have fixed prices/costs and although the Item is quick to enter it's time consuming also having to input the amount each time.
- mathetesMay 08, 2022Gold Contributor
Here: I've created a simple example. The image is here; the file is attached below. You fill in the yellow backed cells, the rest is done for you.
- dinothekiwiMay 08, 2022Copper ContributorThat's really cool. It's testing my Excel limits though.
I will need to study it more if I want to replicate.
Thanks again.
- mathetesMay 08, 2022Gold Contributor
In that case, there are two things you should dig into.
- Data Validation (which would give you a drop-down list for the items) https://exceljet.net/excel-data-validation-guide
- VLOOKUP to enable you to access a table with the various entries and their prices https://exceljet.net/excel-functions/excel-vlookup-function