'Excel Spreadsheet formula help| selected currency AND role shows a specific day rate
I'm desperately trying to work out the formula for a project pricing tool i'm working on with my team.
We cost jobs in multiple currencies, and each role has a different rate based on the currency.
In my costing tool i have a dropdown for currency, let's use Pounds and EURO for now.
Then in my costing table (same sheet) i have dropdowns on each line item (row) that allows me to enter the role that will handle that tasks.
So in cell i1 is a drop down with currency (€,£) In column H is a drop down for role.
Based on the selection in column H i want to return either the € or £ rate is columns d or e respectively.
Any help would be greatly appreciated! Thank you.
Solution 1:[1]
Lou,
Ok, here's a mockup.
You'll notice that I used Range names for the tables (see bottom of sheet).
The formula shown in the formula bar is in I4 and is dragable down the column.
The formula uses two VLookups the inner one to retrieve the currency column offset for use in the outer one that looks up the role.
Note: the items under Role must exactly match those in Col A so I suggest doing copy/paste operations.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | RetiredGeek |

