Excel - Change Row based values to column based by formula

Bilingual

Board Regular
Joined
Oct 1, 2010
Messages
186
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi, i have data in a row formula:

MonthProduct 1Product 2Product 3
January1223444555
Februar556555655

I need to make a new table where the row is changed to column, i have tried with INDEX MATCH to no avail, i need to make it Lookup both in Rows and Columns in order to make it work - can you please help? :)


MonthProductValue
JanuaryProduct 1122
JanuaryProduct 2344
JanuaryProduct 3655
FebruaryProduct 1556
FebruaryProduct 2555
FebruaryProduct 3655
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Use Power query fast and simple
1660304582024.png
 
Upvote 0
For 365 how about
Fluff.xlsm
ABCDEFGHI
1MonthProduct 1Product 2Product 3JanuaryProduct 1122
2January1223444555JanuaryProduct 2344
3Februar556555655JanuaryProduct 34555
4FebruarProduct 1556
5FebruarProduct 2555
6FebruarProduct 3655
7
Report
Cell Formulas
RangeFormula
G1:I6G1=LET(Mnth,A2:A3,Prd,B1:D1,Data,B2:D3,c,COLUMNS(Data),s,SEQUENCE(c*ROWS(Data),,0),CHOOSE({1,2,3},INDEX(Mnth,INT(s/c)+1),INDEX(Prd,MOD(s,c)+1),INDEX(Data,INT(s/c)+1,MOD(s,c)+1)))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,933
Messages
6,175,471
Members
452,646
Latest member
tudou

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