6 Figures 6 Certs Random Thoughts Thread

Obreh Winfrey

Truly Brehthtaking
Supporter
Joined
Nov 18, 2016
Messages
20,852
Reputation
25,482
Daps
131,963
Seem like every project my team is made to assist on is progressively worse in terms of organizational function :skip:
 

Sauce Mane

Superstar
Joined
Mar 11, 2022
Messages
3,513
Reputation
1,542
Daps
26,122
Reppin
Brooklyn
Anyone is good with Excel? I'm pretty decent but I'm stuck with this problem where I need to combine different data together. One sheet has a primary key that's missing some info that the other has. Basically, the main sheet primary key has unnecessary info together with numbers that match another sheet. Not sure how do I combine that together
 

greenvale

Superstar
Supporter
Joined
Aug 1, 2017
Messages
6,195
Reputation
1,940
Daps
24,114
Reppin
Delaware
Anyone is good with Excel? I'm pretty decent but I'm stuck with this problem where I need to combine different data together. One sheet has a primary key that's missing some info that the other has. Basically, the main sheet primary key has unnecessary info together with numbers that match another sheet. Not sure how do I combine that together
vlookup is the fastest way I can think of while not having excel handy at the moment.

In your sheet with the primary keep delete the columns that you don't need but obviously keep the primary key that joins the data. In your sheet with the data you need make sure the primary key is the first column.
=vlookup(the primary key in your main tab , this selection will be the table with the data you want including the primary key , this will depend on the column you want. aka if it's the column AFTER the primary key it will be 2, FALSE as this makes it an exact match)

I tried to breakdown the formula in text for you but it usally looks like =vlookup(PrimarySheet!A1,Sheet2!A:D,2,FALSE)
 

Sauce Mane

Superstar
Joined
Mar 11, 2022
Messages
3,513
Reputation
1,542
Daps
26,122
Reppin
Brooklyn
vlookup is the fastest way I can think of while not having excel handy at the moment.

In your sheet with the primary keep delete the columns that you don't need but obviously keep the primary key that joins the data. In your sheet with the data you need make sure the primary key is the first column.
=vlookup(the primary key in your main tab , this selection will be the table with the data you want including the primary key , this will depend on the column you want. aka if it's the column AFTER the primary key it will be 2, FALSE as this makes it an exact match)

I tried to breakdown the formula in text for you but it usally looks like =vlookup(PrimarySheet!A1,Sheet2!A:D,2,FALSE)

So here is a preview of a column from one data set (1)
dataset.jpg


and here's another preview column from another data set (2)
dataset2.jpg

Do you notice how the numbers in the data set (2) match with the ending numbers in the data set (1)? The only difference is data set (1) has extra text, other than that they both share the primary key which is those numbers. So how do I go about joining them? I tried VLOOKUP but it didn't work.
 

greenvale

Superstar
Supporter
Joined
Aug 1, 2017
Messages
6,195
Reputation
1,940
Daps
24,114
Reppin
Delaware
So here is a preview of a column from one data set (1)
dataset.jpg


and here's another preview column from another data set (2)
dataset2.jpg

Do you notice how the numbers in the data set (2) match with the ending numbers in the data set (1)? The only difference is data set (1) has extra text, other than that they both share the primary key which is those numbers. So how do I go about joining them? I tried VLOOKUP but it didn't work.
find an option in the ribbon called text to column. you want to put your delimiter as :!

That will split it from one big string into individual columns
 

greenvale

Superstar
Supporter
Joined
Aug 1, 2017
Messages
6,195
Reputation
1,940
Daps
24,114
Reppin
Delaware
Not in the least bit surprised that our engineering team launched a significant update to our billing system on a weekday against our wishes and it has now locked up our data warehouse for the day :mjlol:
 

null

...
Joined
Nov 12, 2014
Messages
29,576
Reputation
5,099
Daps
46,808
Reppin
UK, DE, GY, DMV
So here is a preview of a column from one data set (1)
dataset.jpg


and here's another preview column from another data set (2)
dataset2.jpg

Do you notice how the numbers in the data set (2) match with the ending numbers in the data set (1)? The only difference is data set (1) has extra text, other than that they both share the primary key which is those numbers. So how do I go about joining them? I tried VLOOKUP but it didn't work.

didn't look at it too much but if the PK is unique in dataset 2 then slice the extra part out of dataset 1's PK and then join on the result
 
Top