Transpose vertical CSV data set into a linked horizontal table with index match and/or lookup and multiple criteria

ckazok

New Member
Joined
Jan 17, 2025
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi all,

First of all, thanks in advance for any help. I will post a problem I am facing regularly. I can get around it with Pivot tables etc. but I want to do it with a proper formula.

Every month, I get a CSV file with the structure as shown on the first table. There are multiple columns, showing date, country, product and value.

Because our data systems are in horizontal date format, I have to transpose this table into the format as shown on the attached picture. Countries making the vertical column, date the horizontal and a separate table for each products.

It should be linked via a formula like index match so that once the original raw table updates every month, the tables automatically update, too.

My problem is, when I use index + multiple match for this, it usually delivers only the first value and then nothing.

Hope someone can help me.

Thank you in advance!
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    64.3 KB · Views: 6

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi & welcome to MrExcel.

Can you post some sample data rather than an image.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0

Forum statistics

Threads
1,225,738
Messages
6,186,728
Members
453,368
Latest member
positivemind

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