Combining two columns in one(not concut)

datastudent

Board Regular
Joined
Sep 7, 2021
Messages
67
Office Version
  1. 365
Platform
  1. Windows
Hi,

Please help me combine two set of data in one column without using pivot.

The first table is the data that I have and the second table is how I want it to be. I would like a formula that would give me the result for both tables please like if I have table2 how do I get table1 and vice versa. Thank you!

Template_v1.xlsm
ABCDEFG
1NameFixedMobileNameServiceCost
2AAA123122AAAFixed123
3BBB234345AAAMobile122
4BBBFixed234
5BBBMobile345
Sheet7
 
Ok, how about
Fluff.xlsm
ABCDEFGHI
1CountryService PlanOrigin typeOUT FIX/OUT MOB
2AUSTRALIAFixedNational0.0116 FixedMobile
3AUSTRALIAFixedNational0.0116AUSTRALIANational0.01160.0306
4AUSTRALIAFixedNational0.0116AUSTRIANational0.00820.0092
5AUSTRALIAFixedNational0.0116
6AUSTRALIAMobileNational0.0306
7AUSTRALIAMobileNational0.0306
8AUSTRIAFixedNational0.0082
9AUSTRIAFixedNational0.0082
10AUSTRIAMobileNational0.0092
11
Data
Cell Formulas
RangeFormula
F2:I4F2=PIVOTBY(CHOOSECOLS(A2:C100,1,3),B2:B100,D2:D100,MAX,0,0,,0,,A2:A100<>"")
Dynamic array formulas.
This works. But what if we remove the origin type column? If we want to have Country, Fixed and Mobile column only.
 
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Like
Excel Formula:
=PIVOTBY(A2:A100,B2:B100,D2:D100,MAX,0,0,,0,,A2:A100<>"")
 
Upvote 0

Forum statistics

Threads
1,226,114
Messages
6,189,052
Members
453,522
Latest member
Seeker2025

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