+ Reply to Thread
Results 1 to 5 of 5

Analyzing data and pulling specific data into other columns

Hybrid View

  1. #1
    Registered User
    Join Date
    09-03-2012
    Location
    USA
    MS-Off Ver
    Excel Office 365
    Posts
    8

    Analyzing data and pulling specific data into other columns

    Hi
    I have attached a sample file.
    I have 15 people listed and they have times recorded in columns C, D & F.
    Column E is c + d
    Column G is and total time on 3 (e + f)

    I have left an old formula in I3 and J3. It must contain some errors since I'm not getting the info I desire.

    What I want is formula that will put the smallest number in column c into J3, I want the name associated with the smallest number to go in column I3. I want the top 10 smallest names and numbers from all the data in cells B3:G16

    then column L would have the smallest number in column d and the name would go in column k for the top 10 people.

    I think I could figure it out from there on how to do columns M & N

    Please let me know if you need any additional info.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Analyzing data and pulling specific data into other columns

    Hi -

    In column I, I just use the SMALL() function and the numbers in column A to get the 1st smallest time, the second smallest time, etc. That formula looks like:

    =SMALL($C$3:$C$16,A3)

    The one thing you need to be careful is there are zeroes entered into your table below the last contestant. So, if you expand the range to include those rows, get rid of the zeroes or they will float to the top of the SMALL function's choices.

    The next column is to match up the names with the times. Normally that would be a simple INDEX/MATCH except you have several ties. So I have to use an Array formula. I use an IF statement to create an array of row numbers of all the contestants that have the same times. I use COUNTIF to pass to the SMALL function, which on the first instance of a given time it returns the smallest row number with that time. Then INDEX goes to that row and picks that name. On the second instance of that time, COUNTIF passes 2 to SMALL, which then gives INDEX the second smallest row. If there were multiple ties, this pattern will just continue (3rd smallest, 4th smallest, etc.) The formula looks like:

    =INDEX($B$3:$B$16,SMALL(IF($C$3:$C$16=I3,ROW($C$3:$C$16)-ROW($2:$2),""),COUNTIF($I$2:I3,I3)))

    Note this is an array formula so you will notice in the attached Excel spreadsheet it has curly braces { } around it. Google array formulas if you're not familiar with them.

    Anyway, hope this helps.
    Attached Files Attached Files
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  3. #3
    Registered User
    Join Date
    09-03-2012
    Location
    USA
    MS-Off Ver
    Excel Office 365
    Posts
    8

    Re: Analyzing data and pulling specific data into other columns

    Thank you for this information. I'm actually wanting the name first and then the time. What changes to do I need to make to the above mentioned formulas to reflect this?

  4. #4
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Analyzing data and pulling specific data into other columns

    Hi -

    Sorry, I had meetings all day today. Just getting back to this.

    You can simply insert a column to the left of the times. Highlight the range with the names in it, grab the edge of the range with the mouse and move the whole thing to the new column to the left of the times.

  5. #5
    Registered User
    Join Date
    09-03-2012
    Location
    USA
    MS-Off Ver
    Excel Office 365
    Posts
    8

    Re: Analyzing data and pulling specific data into other columns

    Thank youl Such a simple fix. I love this forum and all the help that a person can get.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Automatically pulling and analyzing data from another workbook
    By OffTheFairway22 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-09-2016, 10:02 PM
  2. Replies: 8
    Last Post: 02-19-2015, 05:07 PM
  3. Help with pulling specific data!
    By Jennaok in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-02-2014, 01:25 AM
  4. Pulling a Specific Cell when Pulling a Tabel from Web Based Data
    By Zallen89 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-26-2013, 05:39 PM
  5. Replies: 4
    Last Post: 10-04-2012, 01:24 PM
  6. Pulling specific data
    By jdh3 in forum Excel General
    Replies: 6
    Last Post: 07-25-2011, 05:26 PM
  7. Excel 2007 : Pulling specific data
    By bjh3a in forum Excel General
    Replies: 6
    Last Post: 06-03-2009, 03:36 AM

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