+ Reply to Thread
Results 1 to 15 of 15

Requesting for a formula to retun text.

  1. #1
    Forum Contributor lifeisaspreadsheet's Avatar
    Join Date
    10-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    208

    Requesting for a formula to retun text.

    I'm requesting some help with a formula quite sure it'll be simple for you all...

    Situation:

    Column J to R. Each row between these only has a title once (say if K4 has Manger VP all the others i.e J4, L4, M4, N4, O4, P4, Q4, R4 will be blank)

    Formula required:

    For every row on Column D (D4 onwards). I need to return the title in D4, D5, D6 and likewise.

    Condition:

    It should ignore the formula that returns the job title in columns J to R

    My apologies for not posting an excel file. I understand it would have been all the more easier but due to some tech issues my internet isn't working so am using phone.

    Thank you for the help!
    Experience is not what happens to you; it's what you do with what happens to you.

  2. #2
    Registered User
    Join Date
    03-24-2013
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Requesting for a formula to retun text.

    Hi
    Tell me if I understand the problem right:
    You need every cell in column D to return the value in that row, from whichever column it is in, eg h5 and k6

  3. #3
    Forum Contributor lifeisaspreadsheet's Avatar
    Join Date
    10-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    208

    Re: Requesting for a formula to retun text.

    What I need is:

    If J4 - R4 if K4 has a text it should be returned in D4.
    If J5 - R5 if P5 has a text it should be returned in D5 and so on and so forth.

    There will be only one column J to R that will have a text for each row.

    Please let me know if I'm unclear. Hope I'm not.

    Thanks!

  4. #4
    Registered User
    Join Date
    03-24-2013
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Requesting for a formula to retun text.

    Ok, I understand. Now I'll think up a good solution for you

  5. #5
    Registered User
    Join Date
    03-24-2013
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Requesting for a formula to retun text.

    Also, is it ok if extra columns are used?

  6. #6
    Forum Contributor lifeisaspreadsheet's Avatar
    Join Date
    10-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    208

    Re: Requesting for a formula to retun text.

    If that can be avoided. My file is already extremely heavy so I don't want to make it more heavy and complex. I'm sure you'll understand what I mean...

    Thanks a lot.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Requesting for a formula to retun text.

    Your description is very confusing (for me anyway). You say rows, then talk about columns?

    Either upload a file - preferable (ands yes, I did read you are on your phone, but if you are on your phone, you cant fix your file anyway) or explain what you have/want a bit clearer
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Registered User
    Join Date
    03-24-2013
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Requesting for a formula to retun text.

    I have a solution in mind, but the formula is a bit long. is that acceptable? No extra columns will be needed

  9. #9
    Forum Contributor lifeisaspreadsheet's Avatar
    Join Date
    10-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    208

    Re: Requesting for a formula to retun text.

    As long as it does not make my file more heavy. I'm okay with what ever it is.

  10. #10
    Registered User
    Join Date
    03-24-2013
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Requesting for a formula to retun text.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Try this formula; it's working for me

  11. #11
    Forum Contributor lifeisaspreadsheet's Avatar
    Join Date
    10-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    208

    Re: Requesting for a formula to retun text.

    Thanks! But this is something I already have. What I'm looking for is a Find / ISTEXT formula.

    Can you help me with it.

    Thanks in anycase.

  12. #12
    Registered User
    Join Date
    03-24-2013
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Requesting for a formula to retun text.

    As far as I know, even with ISTEXT, you'll need to account for every column separately. It will still be a rather long formula

  13. #13
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Requesting for a formula to retun text.

    If I understand what you want, try this:

    =INDEX(J4:R4,MATCH("*",J4:R4,0))

    Copy down as needed.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  14. #14
    Forum Contributor lifeisaspreadsheet's Avatar
    Join Date
    10-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    208

    Re: Requesting for a formula to retun text.

    Yes, yes...this should do. Thank you!

    I'll seek further advise if need be. Cheers!

  15. #15
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Requesting for a formula to retun text.

    You're welcome. Thanks for the feedback!

+ 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