Manipulate Data Automatically

localbro

New Member
Joined
Nov 2, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone,

I need help regarding data manipulation in my excel.
I have 2 sheets like this:
1. School Sheet

Sheets 1


2. Course Sheet
Sheets 2


I want the Output to be like this:
Output


Is there any easy way to do this manipulation instead of manually copying the data?
Thank you.

*Note: I'm new here!
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hello. This isnt clear as to how you get to the output from the inputs.
 
Upvote 0
Hello. This isnt clear as to how you get to the output from the inputs.
I would like to have a new sheet which represents: "Every school has 3 course, which is Computer, Math, and Science."

So what I mean is, for every row of school in "School Sheet" got mapped to each row in "Course Sheet".
But I don't know how to do it, instead of manually copy-paste it as I did on the output illustration.
 
Upvote 0
Ok now i understand but if you look at your illustration it doesnt do that.
 
Upvote 0
Ok now i understand but if you look at your illustration it doesnt do that.
Oops, my bad. I just realized it too!
My apologies..

Here's the output illustration it is supposed to be:
1667383338035.png

Thank you Steve for the correction! :)
 
Upvote 0
Hi & welcome to MrExcel.
How about
Fluff.xlsm
ABCDEFGH
1
2School 1Address 1School 1Address 1ComputerDescription 1
3School 2Address 2School 1Address 1MathDescription 2
4School 1Address 1ScienceDescription 3
5School 2Address 2ComputerDescription 1
6School 2Address 2MathDescription 2
7ComputerDescription 1School 2Address 2ScienceDescription 3
8MathDescription 2
9ScienceDescription 3
10
Details
Cell Formulas
RangeFormula
E2:H7E2=LET(a,A2:B3,b,A7:B9,r,ROWS(b),s,SEQUENCE(r*ROWS(a),,0),HSTACK(INDEX(a,INT(s/r)+1,{1,2}),INDEX(b,MOD(s,r)+1,{1,2})))
Dynamic array formulas.
 
Upvote 0
Solution
Hi & welcome to MrExcel.
How about
Fluff.xlsm
ABCDEFGH
1
2School 1Address 1School 1Address 1ComputerDescription 1
3School 2Address 2School 1Address 1MathDescription 2
4School 1Address 1ScienceDescription 3
5School 2Address 2ComputerDescription 1
6School 2Address 2MathDescription 2
7ComputerDescription 1School 2Address 2ScienceDescription 3
8MathDescription 2
9ScienceDescription 3
10
Details
Cell Formulas
RangeFormula
E2:H7E2=LET(a,A2:B3,b,A7:B9,r,ROWS(b),s,SEQUENCE(r*ROWS(a),,0),HSTACK(INDEX(a,INT(s/r)+1,{1,2}),INDEX(b,MOD(s,r)+1,{1,2})))
Dynamic array formulas.
Hi Fluff,

Sorry I haven't been able to catch you up for a while!
Thank you for your solution! It does work like a charm perfectly for my case!
I'm so happy cause it really saved my time (y)


Once again, thank you Fluff for the solution!
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,035
Messages
6,122,791
Members
449,095
Latest member
m_smith_solihull

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