Create search for cd database

scopio

New Member
Joined
Nov 13, 2021
Messages
3
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
I am new to Excel and would like some help in creating a database where I can list the artist in one column and their music title on another column. But then I would like to create a search for the artist where all his/her music would also appear in the result.

Is tis at all possible and if yes how?
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Welcome to the MrExcel board!

If you use your Microsoft 365 it is easy. Here is a small demonstration.
Just enter your artist of interest in E2 and the results will appear in column F

scopio.xlsm
ABCDEF
1ArtistTitleArtistTitles
2aT1cT3
3bT2T7
4cT3T8
5dT4
6aT5
7dT6
8cT7
9cT8
10dT9
11aT10
12eT11
13fT12
14bT13
15
Sheet1
Cell Formulas
RangeFormula
F2:F4F2=FILTER(B2:B1000,A2:A1000=E2,"")
Dynamic array formulas.
 
Upvote 0
If you want to make it easier you can set up cell E2 with a data Validation drop-down list to choose the artist.
Again, this is with MS365
Enter the formula shown in H2 to give you an alphabetical list of all artists.
Then set up cell E2 with Data Validation (it is on the Data ribbon tab) as shown below


scopio.xlsm
ABCDEFGH
1ArtistTitleArtistTitlesArtist List
2dT1dT1a
3cT2T4b
4bT3T6c
5dT4T9d
6aT5e
7dT6f
8cT7
9cT8
10dT9
11aT10
12eT11
13fT12
14bT13
15
Sheet2
Cell Formulas
RangeFormula
F2:F5F2=FILTER(B2:B1000,A2:A1000=E2,"")
H2:H7H2=SORT(UNIQUE(FILTER(A2:A1000,A2:A1000<>"")))
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
E2List=H2#



1636875424312.png


The result allows you to choose the artist like this

1636875492608.png
 
Upvote 0
Solution
Hi @Peter_SSs thank you for your quick response.
I have tried a small number of data and it works perfectly in MS 365 and in Excel Web App.

Should I have any queries I will post at a later date.

Many thanks
 

Attachments

  • 2021-11-14_18-00-44.jpg
    2021-11-14_18-00-44.jpg
    84.5 KB · Views: 7
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0
As I posted in post 4 above the method to sort the cd/music database suggested by @Peter_SSs worked perfectly in MS 365 and the Web Excel for which I am extremely grateful.
But it does not work in Excel 2007.
My friend who only has Excel 2007 would like the database to be able to work in his Excel version.
Is there any possibility of someone to give me instructions on how to be able to achieve the same results in Excel 2007 as in MS 365 version?
 
Upvote 0
If you want to make it easier you can set up cell E2 with a data Validation drop-down list to choose the artist.
Again, this is with MS365
Enter the formula shown in H2 to give you an alphabetical list of all artists.
Then set up cell E2 with Data Validation (it is on the Data ribbon tab) as shown below


scopio.xlsm
ABCDEFGH
1ArtistTitleArtistTitlesArtist List
2dT1dT1a
3cT2T4b
4bT3T6c
5dT4T9d
6aT5e
7dT6f
8cT7
9cT8
10dT9
11aT10
12eT11
13fT12
14bT13
15
Sheet2
Cell Formulas
RangeFormula
F2:F5F2=FILTER(B2:B1000,A2:A1000=E2,"")
H2:H7H2=SORT(UNIQUE(FILTER(A2:A1000,A2:A1000<>"")))
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
E2List=H2#



View attachment 51197

The result allows you to choose the artist like this

View attachment 51198
Hi Peter, if i have 10 sheets data with the same artist, tittle. How can i collect all information of an artist in every sheets into sumary sheet. Tks
 
Upvote 0
Hi Peter, if i have 10 sheets data with the same artist, tittle. How can i collect all information of an artist in every sheets into sumary sheet. Tks
As that is a completely different question (the original question did not have multiple sheets), you should post it to a new thread instead of posting to an old one.
That way it will appear in the "Unanswered threads" listing.
 
Upvote 0

Forum statistics

Threads
1,214,790
Messages
6,121,607
Members
449,037
Latest member
Arbind kumar

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