Hi,
First off, I appreciate your help and time.
I need some direction on how to create an app that users can upload a file and convert the invoice amount to USD. The input file will need to satisfy at least three criteria, Invoice Date, Currency and Invoice Amount. The interface will need to allow users to select Date field, Currency and Invoice Amount for conversion. I have a separate macro that provides average exchange rate based on first of the month.
I've already created an app that works well but it can only work with one file schema. I don't know how to make this app dynamic so others can use it for other files that at least provide the above three criteria. It would be a plus if users could select multiple value columns from the interface, for example Invoice Amount, Reimbursed Amount etc.
Dummy Data
| Invoice Number | Invoice Date | Currency | USD Amount | Refund Amount |
| 000000002 | 12/9/2022 | BRL | 120.0733018 | 630 |
| 0000000032 | 1/1/2023 | EUR | 1375.656258 | 1280 |
| 000000004 | 1/5/2023 | USD | 3520 | 3520 |
| 000000009 | 1/5/2021 | BRL | 0.016931 | 0.09 |
Thanks again.