ThrottleWorks
Excel Ninja
Hi,
I have two columns. Column 1 represents currency and 2nd column represent amount for that currency.
No of columns in the worksheet are not fixed. They can be between 10 to 60.
Serial of column is also not fixed.
I have currency header as ‘ABC CASH USD (CASH - USD)/XYZ1’ at column B
I have amount header as ‘ABC CASH USD (CASH - USD)/PPP1/OOO’ at column D
Amount is always 2 columns next to the currency it represents. Format of both the string remains same. Apart from currency, rest of the words are static in both the combinations.
The first value represents currency and second value represents amount.
In the input file, there can be multiple pairs for currencies and their amounts such as USD, SEK, PLN, AUD ETC.
It is quite possible, file will not have any pair for currency, or only one pair or multiple pairs.
I am required to populate a grid based on the pairs present in input file.
For example, if I have 5 pairs in input file, my grid will show 5 pairs.
My doubt is how will I identify number of pairs in the file and once I know number.
How do I pick all the pairs correctly for populating in grid.
I guess, partial countif will not work in this. Can anyone please help me this.
I have two columns. Column 1 represents currency and 2nd column represent amount for that currency.
No of columns in the worksheet are not fixed. They can be between 10 to 60.
Serial of column is also not fixed.
I have currency header as ‘ABC CASH USD (CASH - USD)/XYZ1’ at column B
I have amount header as ‘ABC CASH USD (CASH - USD)/PPP1/OOO’ at column D
Amount is always 2 columns next to the currency it represents. Format of both the string remains same. Apart from currency, rest of the words are static in both the combinations.
The first value represents currency and second value represents amount.
In the input file, there can be multiple pairs for currencies and their amounts such as USD, SEK, PLN, AUD ETC.
It is quite possible, file will not have any pair for currency, or only one pair or multiple pairs.
I am required to populate a grid based on the pairs present in input file.
For example, if I have 5 pairs in input file, my grid will show 5 pairs.
My doubt is how will I identify number of pairs in the file and once I know number.
How do I pick all the pairs correctly for populating in grid.
I guess, partial countif will not work in this. Can anyone please help me this.