Forum Discussion
mergefield Word must choose between three options in Excel
I need a formula for a mergefield in word that chooses between 3 options in the database. In that database I have 3 columns: 1 for clients in Europe, one for clients in US and one for UK. So when I merge the excel database with the word invoice, I would like the mergefield to choose the excel field from the right column, in which I filled in the amount.
p.e.: client x is from Europe, so I filled in an amount in column €
client y is from US, so I filled in an amount in column $
client z is from UK, so I filled in an amount in column £
I want to merge these 3 items in 1 standard invoice, so the mergefield must know which cell in excel it has to use. Can anyone help me with that?
6 Replies
- ChrisMendozaIron Contributor
- SergeiBaklanDiamond Contributor
That could be like
Insert fields will be used one by one, after that from Rules any IF statement, Alt+F9, copy/paste into final IF .. ELSE field your fields, Alt+F9 back. Remove temporary fields.
- Hello,
Can you upload a sample file for better understanding- Riny_van_EekelenPlatinum Contributor
If I were you, I'd change your Excel sheet and use one column for a currency code and one for the amount. You can then combine the currency code and the amount to indicate that you are billing e.g. EUR 33.57 or GBP 90.70