3 columns to one Column

menor59

Well-known Member
Joined
Oct 3, 2008
Messages
574
Office Version
  1. 2021
Platform
  1. Windows
Hello all,
I have a head scratching question

in Q6:Q35 I have Data with Blanks (Theres is a formula here but has text) - These Are names
in R6:R36 I have Data with Blanks (Theres is a formula here but has text) - These Are names
in S6:S36 I have Data With blanks (Theres is a formula here but has text) - These Are names

in T6, I want All the data from Q6:S36 Without Blanks, and eliminate Duplicates if possible.

In Q6:S36 these are basically names...Say my Name appears 7 times in Q6:S36. T6 Should only show me once.

This is a macro free workbook, so if possible a formula.

Please Help
 
Last edited:

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.
Hi,

Can you show a few samples with expected results?
 
Upvote 0
1.JPG
https://www.dropbox.com/s/ivh0yaqgkje1xiv/1.JPG?dl=0

See attached
 
Upvote 0
basically all the names in Q6:S36 Keep 1 unique and remove blanks in T
 
Upvote 0
VBA is easy, I have no suggestion for a formula.
 
Upvote 0
Hi,

I can do this with 3 Helper Columns, then filter blanks, is that something you can work with?


Book1
QRSTUVW
6SteveSteveSteve
7
8
9SteveJohnJohnJohn
10
11
12
13
14AdamAdamAdam
15
16Adam
17
18
19LarryLarryLarry
20
21JoeJoeJoe
22
23
24Joe
25
26
27
28EmilyEmilyEmily
29
30John
31
32Adam
33Steve
34
35
36
Sheet1
Cell Formulas
RangeFormula
T6=IF(COUNTIF($Q$6:$S6,Q6)=1,Q6,"")
W6=T6&U6&V6


T6 formula copied down and across to V36.
W6 formula copied down to W36.
Filter Column W for Blanks.
Hide Columns T, U, V and/or Q, R, S if you wish.
 
Upvote 0
i think i got it,,

Code:
=INDIRECT(TEXT(MIN(IF(($Q$6:$S$35<>"")*(COUNTIF($T$5:T5,$Q$6:$S$35)=0),ROW($6:$35)*100+COLUMN($Q:$S),7^8)),"R0C00"),)&""
 
Upvote 0

Forum statistics

Threads
1,223,952
Messages
6,175,596
Members
452,658
Latest member
GStorm

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