Hi all!
Can someone help me with the following (simplified) problem?
I have two worksheets, A and B.
A contains three columns with currency codes (EUR, USD, CHF, etc.):
I now want to analyze these columns according to the following rules and write a result in a cell in worksheet B:
- include all filled columns
- if all currencies in the filled columns are the same, write that currency to the cell in B
- if they are not, write "XXX" in the cell in B
Is there a way to realize this with formulas? My problem is the part where I need to have Excel recognize how many of the columns are actually relevant for the analysis (i.e., defining the range dynamically).
Any ideas?
Regards
Matthias
Bookmarks