ExcelLearnerP

New Member
Joined
Jan 27, 2019
Messages
4
I have Horizontal tables of data.

AUDEURUSDEURINREUR
AUDA150100USDA6790INRA3080
AUDB200150USDB117140INRB80130
AUDC250200USDC167190INRC130180

<tbody>
</tbody>


Explanation of above table:
1) AUDA, AUDB, AUDC, USDA, USDB, USDC, INRA, INRB & INRC are bank accounts.
2) The numerical figures are bank balances. For eg:- 150 is the balance AUDA account in AUD (Australian dollar) terms, whereas 100 is the balance of the same account in EUR (Euro) terms and so on..

What I need:

I need the data mentioned above in vertical format mentioned below:

AccountForexForex BalanceGBP Balance
AUDAAUD150100
AUDBAUD200150
AUDCAUD250200
USDAUSD6790
USDBUSD117140
USDCUSD167190
INRAINR3080
INRBINR80130
INRCINR130180

<tbody>
</tbody>

I am a beginner in Excel, and I tried using the Index match function, offset match function quite unsuccessfully:p. I know that Vlookup can be used, but I will have to use it a number of times, since I have pasted only a sample data above. There are more than 30 different currencies with more than 100 accounts.

I would be really grateful if I can get a solution to my above problem.

Thanks,
P
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
with PowerQuery brute force way

create tables (from source) for each currency (here are 3 + EUR common for each)
append all these tables and

Code:
[SIZE=1]let
    Source = Table.Combine({#"Table1 (2)", #"Table1 (3)", #"Table1 (4)"}),
    #"Unpivoted Only Selected Columns" = Table.Unpivot(Source, {"AUD", "USD", "INR"}, "Attribute", "Value"),
    #"Reordered Columns" = Table.ReorderColumns(#"Unpivoted Only Selected Columns",{"Column1", "Attribute", "Value", "EUR"}),
    #"Renamed Columns" = Table.RenameColumns(#"Reordered Columns",{{"Column1", "Account"}, {"Attribute", "Forex"}, {"Value", "Forex Balance"}, {"EUR", "GBP Balance"}})
in
    #"Renamed Columns"[/SIZE]

AccountForexForex BalanceGBP Balance
AUDAAUD
150​
100​
AUDBAUD
200​
150​
AUDCAUD
250​
200​
USDAUSD
67​
90​
USDBUSD
117​
140​
USDCUSD
167​
190​
INRAINR
30​
80​
INRBINR
80​
130​
INRCINR
130​
180​

edit:
example
 
Last edited:
Upvote 0
Thanks for your reply Sandy666!!

Is it not possible using formulas like Index, Match, Offset or the likes? Because, the excel file I am working on is a Company property and we are not allowed to make changes to the basic structure of the files. We are not allowed to add add-ins to the file.

Regards,
Pratish
 
Upvote 0
maybe it willl be possible with any formula (s), I really don't know.
you didn't show your excel version so hard to say you need add-in or not

if you want formula solution you need to wait for someone else who will give you this.

Have a nice day
 
Upvote 0

Forum statistics

Threads
1,214,657
Messages
6,120,777
Members
448,991
Latest member
Hanakoro

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top