How to combine columns without affecting rows?

ikey99

New Member
Joined
Oct 18, 2021
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi all,

So i created an export of a database but for some reason, the customer ID has been split across multiple colummns. How do i combine these columns into one without affecting where they are in order of rows?

I've attached what this looks like

Contacts Export (1).csv
ABCDEF
1First nameLast nameAddressCustomer IDCustomer IDCustomer ID
2JohnDoeAddress1
3JohnSmithAddress2
4IzaakHallowsAddress3
5AmandaSmithAddress4
6FakeCustomerAddress5
Sheet1
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
I would insert a column. Highlight Column D and Insert; then I would create a formula in Column D and copy it downwards.
(not being able to see all your data makes it hard to 'know' what's going on)...but I would use a SUM formula in Column D [ perhaps = Sum(E2:f2), then copy it down. REVIEW if it looks good before the next step: where you could Range Value the cells from New Column D (with the formula) and PASTE as VALUES into Existing COlumn E....or just keep the new column.
Alternatively, the formula could be a Nested IF statement. =if(e2<>"",E2,If(f2<>"",F2,if(g2<>"",G2,"MissingCustId"))).
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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