+ Reply to Thread
Results 1 to 2 of 2

Thread: Odd Problem

  1. #1
    Barn Newbie Henley12 is an unknown quantity at this point Henley12's Avatar
    Join Date
    Oct 2009
    Posts
    19
    Rep Power
    3

    Odd Problem

    I have a bit of an odd situation with an excel document. Here is what I need to do: The document consists of a report, but the report was imported into just one column. I need to search for a particular phrase and if it is found, I need the text in the 4 cells above the phrase. Example:

    text needed
    text needed
    text needed

    phrase searched for


    Don't know if that makes sense, but I hope it does to someone. Thanks.

  2. #2
    Barn Legend Rebelle will become famous soon enough Rebelle's Avatar
    Join Date
    Mar 2008
    Posts
    1,522
    Rep Power
    5

    Hi Henley,

    Couldn't get all you wanted but maybe this will help a bit...

    Code:
    =IF(SEARCH("phrase searched for",YOURCOLUMN),3CellsUp)
    
    =IF(SEARCH("phrase searched for",A7),A4)
    
    Just couldn't get it to show you all 3 cells above, only 1.

    Rebelle

+ Reply to Thread

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

SEO by vBSEO