+ Reply to Thread
Results 1 to 5 of 5

assistance with Artist Databasing.

  1. #1
    Registered User
    Join Date
    07-15-2008
    Location
    Los Angeles
    Posts
    2

    assistance with Artist Databasing.

    Hello everyone, I'm new to this forum!

    Currently I'm interning at a big record label and my project at the moment is to sift through their 7000+ names of artists and count how many times they appear in a sales record. The problem is some artists repeat with different names, for instance: Bob Marley shows up on the speadsheet as "BOB MARLEY" in one place and "MARLEY, BOB" in another place and even "BOB MARLEY & THE WAI" in another. Each one of these names of the same artist has a number that corrolates with it like 3 or 4 which stands for how many times that name is seen in the sales record. Basically my job is to find the total amount of occurences an artist has for ALL names in the sales record as well as display all of the various names that the artist is stored under. So far for my total appearances I have something like this: ----=COUNTIF(Data!A10:A44389, "*BOB MARLEY*")---- But the problem is that some of Bob Marley's storage names are stored under "MARLEY, BOB" so those aren't being counted with that function. How do I make it so that any name that has BOB and MARLEY in it is counted? Thanks in advance and once that question is answered I have another.

    P.S: I am not using Excel2007

    Thank you again.

  2. #2
    Forum Contributor
    Join Date
    07-09-2008
    Location
    Dallas
    MS-Off Ver
    2007
    Posts
    121
    Still thinking through how to 'countif' that, but in the interim, you could do something like this in a separate column (cell B1 for example, assuming your artist name is in column A):

    =IF(ISERROR(AND(FIND("bob",A1),FIND("marley",A1))),0,1)
    This will return a '1' if it finds 'bob and 'marley' regardless of where they are in the artist name, and '0' if it doesn't find both. You can then sum the 1's to get your count.

    like so:

    bob marley 1
    marley, bob 1
    bob marley & the wai 1
    ziggy marley -

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Need assistance with Artist Databasing

    Maybe something like this would work:

    On Sheet1:
    Col_A contains ARTIST (including variations of names)
    Cell A1: Artist

    Now....on Sheet2

    A1: ListName
    B1: ReportName

    • Under cell A1, only enter artists with name variations
    (If an artist is only listed as one name....do not list it here)
    • Under cell B1, enter the consolidated name.

    Example:
    A2: BOB MARLEY
    B2: Marley, Bob
    A3: BOB MARLEY & THE WAI
    B3: Marley, Bob
    A4: MARLEY, BOB
    A5: Marley, Bob
    etc

    Ok...back to Sheet1:
    B1: ReportName

    Please Login or Register  to view this content.
    Copy B2 down as far as you need (7,000 rows, right?)

    Last, set up a pivot table to tally the counts for you...
    Here's how:

    From the Excel Main Menu: <Data><Pivot Table>
    Use: Excel……Click [Next]
    Select your data (A1 thru B7000)……Click [Next]
    Click the [Layout] button

    ROW:
    Drag the ReportName field here
    Drag the Artist field under the ReportName field
    COLUMN: (leave this area blank)
    DATA: Drag the Artist field here
    If it doesn't list as Count of Artist...dbl-click it and set it to Count
    Click [OK]
    Select where you want the Pivot Table…Click [Finish].

    That will list each ReportName and any associated Artist names and the
    counts for each. Adjust the pivot table subtotals according to your
    preference.

    To refresh the Pivot Table, just right click it and select Refresh Data

    Does that help?
    Post back if you have more questions.

    Pivot Table Links:
    http://www.nickhodge.co.uk/gui/datam...ablereport.htm
    http://www.contextures.com/tiptech.html
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Registered User
    Join Date
    07-15-2008
    Location
    Los Angeles
    Posts
    2
    JWhit, this is the formula I wrote for the databasing:

    =IF(ISERROR(AND(FIND("BOB",Data!A10:A44389),FIND("MARLEY",Data!A10:A44389))),1,0)

    It returned to me a "1" but I know that there are more than one instance where "BOB" and "MARLEY" are logged. I think I poorly explained what I need to do. In cell C93 I put the formula down.

    As for Ron, I tried that out and it worked fine but I would have to look for every instance of the variation of the name and I'm trying not to do that. It's my fault, I don't think I explained it well. I will attach the actual document do you guys can see what I mean.


    Edit: I just found out that I can only upload 1MB of an .xls file. Can I have your e-mail addresses so I can send you the file I'm working on? It's just under 7MB.

    Thank you.
    Last edited by CaliforniaKid; 07-16-2008 at 02:04 PM.

  5. #5
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Need assistance with Artist Databasing.

    I understand the problem you're facing. However, there's no elegant workaround (that I know of) to building a Cross-Reference table. Any other formulaic approach would be too bloated to work with (if it even fit in a cell) AND would still not return accurate results.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1