+ Reply to Thread
Results 1 to 6 of 6

formula to take text relating to cell and carry into another cell

  1. #1
    Registered User
    Join Date
    10-16-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    formula to take text relating to cell and carry into another cell

    I am a new user and trying to create a formula that will do the following
    1- take the top 5 #'s from a column and put into a seperate row
    I think I have this one using the =LARGE(D2:D13,1) formula but am open for other suggestions

    2- Based on the above results I need to take the text from a cooresponding column to fill into a seperate cell. In this case H2 =D9 and would say dave.

    I would like to have G2 thru G6 fill in based on the above values in column H with the text from column C

    I have attached my example which I am sure is very basic but greatly appreciate any help.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: formula to take text relating to cell and carry into another cell

    Put this in G2:

    =INDEX(C:C,MATCH(H2,D:D,0))

    then copy down to G6.

    Hope this helps.

    Pete

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: formula to take text relating to cell and carry into another cell

    Maybe like this?
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: formula to take text relating to cell and carry into another cell

    Use INDEX with MATCH,

    In G2

    =INDEX(C:C,MATCH(H2,D:D,0))

    then copy G2 & paste down.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  5. #5
    Registered User
    Join Date
    10-16-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: formula to take text relating to cell and carry into another cell

    Thanks so much for the quick response. That lead me to another question. What if 2 values are teh same? Looks like it takes the 1st name with that value. Any ideas? My main sheet actuall has 2 values for each name, one is a standard # and the other is a % of that number.
    Attached Files Attached Files
    Last edited by tswift01; 10-16-2012 at 03:22 PM. Reason: added the updated sheet

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: formula to take text relating to cell and carry into another cell

    Maybe like this (if you don't have to count with the value).

    e2

    =SuM(D2/$D$14)+Row()/1000

    and drag down.
    Attached Files Attached Files

+ 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