+ Reply to Thread
Results 1 to 8 of 8

Creating Data Sets From Master Sheet?

  1. #1
    Registered User
    Join Date
    01-27-2007
    Posts
    6

    Creating Data Sets From Master Sheet?

    First of all I'll state that I'm a total excel novice and have very limited technical knowledge of the program as well as advanced macros. Second, my problem is kind of complex so forgive my explanation if it's confusing.
    Now, I fear my desired end result may not even be possible with excel... if not, I'd like to hear it from you guys... If so, please help me in getting what I need out of the data I'm working with...

    okay, I start out with two seperate spreadsheets, one is a large database with about 10-12 columns and we'll say 400 rows. The other is database with around 6-7 columns and slightly (usually about 15%) fewer rows. We'll call these spreadsheets A and B respectively. They both contain data within some of their columns and rows that matches. A has data which needs to go with data on B and vice versa. I need the rows on A which match up with the rows on B to be paired up so I can have the unmatching data from some columns on 1 speadsheet... My company has tagged the actual data I'm working with as sensative, so I can't post it here... Instead i've included what I hope is a simplified example... This example shows the two speadsheets I'm working with (A & B) and the spreadsheet I need, which I'll call X. I don't know how to do formatted text or insert table in here... so I made some cruddy looking text ones in here.
    Please help out if possible.


    A
    FRUIT QUANTITY WEIGHT LOCATION NEED
    APPLE 3 2.1 CA 99.00%
    ORANGE 5 1.9 FL 23.00%
    BANANA 2 2.3 FL 55.00%
    APPLE 2 2.4 MN 27.00%
    GRAPE 2 0.55 CA 68.00%

    B
    FRUIT QUANTITY WEIGHT LOCATION COST
    APPLE 3 2.1 CA $2.80
    ORANGE 5 1.9 FL $1.05
    BANANA 2 2.3 FL $3.50
    GRAPE 2 0.55 CA $3.28


    X
    FRUIT QUANTITY WEIGHT LOCATION COST NEED
    APPLE 3 2.1 CA $2.80 99.00%
    ORANGE 5 1.9 FL $1.05 23.00%
    BANANA 2 2.3 FL $3.50 55.00%
    GRAPE 2 0.55 CA $3.28 68.00%
    Last edited by saintandrew; 02-11-2007 at 01:49 AM.

  2. #2
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    from the example you are just wanting the % from sheet A to be put at the end of sheet B

    =sumproduct((sheeta!$a$1:$a$400=a1)*(sheeta!$b$1:$b$400=b1)*(sheeta!$c$1:$c$400=c1)*(sheeta!$d$1:$d$400=d1)*(sheeta!$e$1:$e$400))

    may give what you want. It will sum all of the 5th column of sheetA if the values match for the first 4 columns with the value in sheetB, so in reality it will just find the % as no other values will match.

    Regards

    Dav

  3. #3
    Registered User
    Join Date
    01-27-2007
    Posts
    6
    hmmm... that should be a good start... except that my examples are probably a little misleading... not all of the data in the columns between sheets will be aligned the same. For example, the data for 1 of the columns in sheet A is divided into 2 columns in B... i can just sum those two together with cocantontate but I'd think that would mess with the sum macro suggested. I guess I just need to know how to filter for some columns and not all... thanks again, I really appreciate the help so far!

  4. #4
    Registered User
    Join Date
    01-27-2007
    Posts
    6
    Okay, I've managed to come up with a slightly better example sheet for you guys to check out... you'll see on here that sheets A and B share some data, though this data may or may not be represented slightly differently. What I ultimately want is a sheet like sheet X which has been sorted by to key sets of data. In the example I've included, the data which must be used to filter is the drivers liscense number and social security number-these are just fabricated examples btw, so don't worry about identity theft . The differences in the way the DL# and SSN are represented should be clear on the sheets: in sheet A DL#'s have additional suffixes at the end of their ten digits (they'll always be ten digits until the suffix btw...); SSN in sheet A is broken into two columns, on sheet B the digits simply have a space between them. Ideally I'd like the process to make what I need to happen explained to me so I can transition whatever you guys come up with over to the real data that I'm working with. So to restate, I need all the info from sheets A & B to be paired up with their respective match; they need to be matched (in this example) by drivers liscense number and social security#... sheet X is a sample of what I want... and please try to break down everything you guys come up with "abc style" for me ... Again, I'm really sorry for my convoluted example... you're help is very very very desperately needed at this point....
    Attached Files Attached Files
    Last edited by saintandrew; 02-11-2007 at 02:23 AM.

  5. #5
    Registered User
    Join Date
    01-27-2007
    Posts
    6
    BUMP, sorry to everyone else still waiting for answers to their questions - I just really need some help on this issue & the sooner the better as it's becoming a major issue at work. Thanks all

  6. #6
    Registered User
    Join Date
    01-27-2007
    Posts
    6
    I don't won't to seem demanding - that's not my intention... I just feel like I must have not asked well or broke forum rules or something: I feel like I'm being overlooked is all.... again, I don't mean to seem demanding or needy... I'd just like a response, to know if someone's working on this or if it's possible. Again, the situation is urgent...

  7. #7
    Forum Contributor
    Join Date
    02-14-2007
    Location
    Chester, England
    MS-Off Ver
    2010 & 2016
    Posts
    312
    Hello.
    This web site is free to join so it's not like you are paying for people to give you advice or they owe you anything. Maybe you should calm down a bit!! But as your work is more important than everyone else’s, I have put some info below.

    I have uploaded your spreadsheet with what I would do to sort this out. There may be a quicker way but I don't know it.

    Look on sheet A and see the formula to make the SSN Numbers Match. Then Highlight and Copy that entire sheet.* Make a new sheet, Right Click, Paste Special, Values, OK.

    Now look at the functions in 'NEW SHEET X'. They look up the additional info in 'Sheet B' and if it can't find anything will just show a blank instead of an error.

    Hope this helps
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-27-2007
    Posts
    6
    thank you very much...
    Hello.
    This web site is free to join so it's not like you are paying for people to give you advice or they owe you anything. Maybe you should calm down a bit!! But as your work is more important than everyone else’s, I have put some info below.
    As I said, I don't mean to seem demanding... I was just stating my observation, which was that, based on my experience on this board (which is admittedly limited), my query has received a lot less attention than many other posts I have see... and I was curious if there was any reason for that... that is all...

+ 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