+ Reply to Thread
Results 1 to 8 of 8

Return a Cell Text

  1. #1
    Registered User
    Join Date
    05-03-2012
    Location
    Darlington
    MS-Off Ver
    Excel 2003
    Posts
    6

    Return a Cell Text

    Hi, for example


    a b c
    1 John Wilson Darlington
    2 Phil Hall Darlington
    3 Sarah Davies Newcastle
    4 Dave Stead Hartlepool
    5 Julie Bowes Middlebrough
    6 Michael Anderson Darlington

    I would like in a seperate worksheet to look at cell c 1 and if it returns 'Darlington' then it fills the cell where the formula is with cells a and b

    So cell a55(eg) would have the equation if cell c1 = Darlington return the value John Wilson
    and then a56 if cell c2 = Darlington it returns the value Phil hall
    in a57 if cell c3 = darlington then if it doesnt it returns blank,

    Hope someone can help, if you can get me through this Im also hoping for further help

    Thanks in advance

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Return a Cell Text

    Hi

    It will be a great help if you could explain the above in a sample excel file
    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Registered User
    Join Date
    05-03-2012
    Location
    Darlington
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Return a Cell Text

    Attached, thanks
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Return a Cell Text

    Try this:

    sample.xlsx

  5. #5
    Registered User
    Join Date
    05-03-2012
    Location
    Darlington
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Return a Cell Text

    Thanks so much, perfect

    Thanks

  6. #6
    Registered User
    Join Date
    05-03-2012
    Location
    Darlington
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Return a Cell Text

    And now how do I display them in a list, excel sheet attached for more info

    Thanks
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Return a Cell Text

    One query: do you want the output in the same sheet or a different one? Using formula I m not sure how to avoid blanks lines frm appearing but I can help you with a macro and do the task as you wish...

    So pls clear my query...

    Check this out:

    Test sheet.xlsm
    Last edited by jraj1106; 05-22-2012 at 09:17 AM.

  8. #8
    Registered User
    Join Date
    05-03-2012
    Location
    Darlington
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Return a Cell Text

    Hi, it can have either same sheet or different one, it doesn't matter to me

    Thanks

  9. #9
    Registered User
    Join Date
    05-03-2012
    Location
    Darlington
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Return a Cell Text

    Tell you what I will start again, I get sent a spreadsheet like attached everyweek and I need it to display in the format as attached at the bottom as on power point, it doesn't have to be the exact font and size etc, but I do need the dat extracting to show similar, hope this makes sense and hope you can help

    Thanks
    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