Excel Question

Oz007

New Member
Joined
Apr 14, 2015
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have a list of of information like the below and I wish to veiw the information for ABC company in one row, same for CDF and so rather than in alist. How could I do this as I need to run this report on a weekly basis and would like to downlaod the information and present it like this in the easiest way possible. Or is there anthoer to display this information in a smarter way.

Thanks in advance for your help. Oz

SerABC Company202115Event 1
SerABC Company202224Event 2
SerABC Company202316Event 3
SerCDF Company202118Event 1
SerCDF Company202214Event 2
SerCDF Company202313Event 3
SerCDF Company202411Event 4
SerEFG Compnay202016Event 1
SerHIJ Company202119Event 1
SerHIJ Company202227Event 2
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
how do you want it to look exactly
a Unique() filter() and textjoin may work - IF you have the later version of excel - perhaps update your profile with that info

in G2
=UNIQUE(B2:B11)
in H2
=TEXTJOIN(" / ",,FILTER(C2:E11,B2:B11=G2))

Book8
ABCDEFGHIJ
1Companytextjoin
2SerABC Company202115Event 1ABC Company2021 / 15 / Event 1 / 2022 / 24 / Event 2 / 2023 / 16 / Event 3
3SerABC Company202224Event 2CDF Company2021 / 18 / Event 1 / 2022 / 14 / Event 2 / 2023 / 13 / Event 3 / 2024 / 11 / Event 4
4SerABC Company202316Event 3EFG Compnay2020 / 16 / Event 1
5SerCDF Company202118Event 1HIJ Company2021 / 19 / Event 1 / 2022 / 27 / Event 2
6SerCDF Company202214Event 2
7SerCDF Company202313Event 3
8SerCDF Company202411Event 4
9SerEFG Compnay202016Event 1
10SerHIJ Company202119Event 1
11SerHIJ Company202227Event 2
Sheet1
Cell Formulas
RangeFormula
G2:G5G2=UNIQUE(B2:B11)
H2:H5H2=TEXTJOIN(" / ",,FILTER(C2:E11,B2:B11=G2))
Dynamic array formulas.
 
Upvote 0
how do you want it to look exactly
a Unique() filter() and textjoin may work - IF you have the later version of excel - perhaps update your profile with that info

in G2
=UNIQUE(B2:B11)
in H2
=TEXTJOIN(" / ",,FILTER(C2:E11,B2:B11=G2))

Book8
ABCDEFGHIJ
1Companytextjoin
2SerABC Company202115Event 1ABC Company2021 / 15 / Event 1 / 2022 / 24 / Event 2 / 2023 / 16 / Event 3
3SerABC Company202224Event 2CDF Company2021 / 18 / Event 1 / 2022 / 14 / Event 2 / 2023 / 13 / Event 3 / 2024 / 11 / Event 4
4SerABC Company202316Event 3EFG Compnay2020 / 16 / Event 1
5SerCDF Company202118Event 1HIJ Company2021 / 19 / Event 1 / 2022 / 27 / Event 2
6SerCDF Company202214Event 2
7SerCDF Company202313Event 3
8SerCDF Company202411Event 4
9SerEFG Compnay202016Event 1
10SerHIJ Company202119Event 1
11SerHIJ Company202227Event 2
Sheet1
Cell Formulas
RangeFormula
G2:G5G2=UNIQUE(B2:B11)
H2:H5H2=TEXTJOIN(" / ",,FILTER(C2:E11,B2:B11=G2))
Dynamic array formulas.

Thank you for you assitance with this much appreciated.

I have 989 lines and when I insert your formula it states #SPILL! from row 2 to 8 and then presents the information.

SERABC123
2021​
24Events - Forums / Conferences
#SPILL!​
SUPHYJ123
2021​
56Events - Forums / Conferences
#SPILL!​
SUPHYJ124
2022​
5YM
#SPILL!​
SUPHYJ124
2022​
8Training
#SPILL!​
SUPHYJ124
2022​
64Events - Forums / Conferences
#SPILL!​
SUPHYJ124
2022​
3Members
#SPILL!​
SUPHYJ128
2023​
8Events - Forums / Conferences
#SPILL!​
SUPHYJ128
2023​
3MembersABC123
SUPHYJ128
2023​
5PledgeHYJ123
SUPHYJ129
2023​
5YMHYJ124
SUPHYJ128
2022​
16Events - Forums / ConferencesHYJ128
SUPHYJ128
2021​
72Events - Forums / ConferencesHYJ129
SUPHYJ128
2022​
24Events - Forums / ConferencesAdvent Tools Ltd


if wanted the information currently presented in Colunm H split into seperate cells rather than use text join what would suggest the formual should be?
 
Upvote 0
yes all rows below - should be clear - hence why you get spill

in a free empty column
put
=UNIQUE(B2:B11) - change to the number of rows needed

=UNIQUE(B2:B1000)

and then next to it

=TEXTJOIN(" / ",,FILTER(C2:E11,B2:B11=G2)) change to the number of rows needed

=TEXTJOIN(" / ",,FILTER(C2:E1000,B2:B1000=G2))

may need to add <>"" - BUT

Not the G2 - needs to be changed to match the column you have Unique in
OR
just put the formula in free columns G and H as i posted


This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
I am using excel 365 and have updated my account deatils thank you.
 
Upvote 0
as you have 365 -
i have asked
how do you want it to look exactly
thanks for the reply , now we know 365
IF you have the later version of excel - perhaps update your profile with that info

then my functions should work
did you try ? again as suggested
However what do you want the out put to look like
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,300
Members
452,633
Latest member
DougMo

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