+ Reply to Thread
Results 1 to 5 of 5

Formula required for looking up and copying values

  1. #1
    Registered User
    Join Date
    12-04-2010
    Location
    Essex, England
    MS-Off Ver
    Excel 2000
    Posts
    3

    Question Formula required for looking up and copying values

    Help please

    I want a formula / function that looks at a cell.... and if there is text in it, it then copies the text to the previous column, same row...... but if the original cell is blank then it takes no action.

    Hope this is clear

    Thank you for your help.[/FONT]
    Last edited by lemontwist71; 12-05-2010 at 05:58 AM. Reason: Invalid Title

  2. #2
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Formula / Function

    See attached spreadsheet...........

    This is the formula

    =IF(B1="","",B1)

    Is this what you are after?
    Last edited by NBVC; 12-04-2010 at 02:59 PM.
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  3. #3
    Registered User
    Join Date
    12-04-2010
    Location
    Essex, England
    MS-Off Ver
    Excel 2000
    Posts
    3

    Re: Formula required for looking up and copying values

    Thanks for your reply.....please see my attached spreadheet.....

    I would like the formula to look in C2 and as its blank to put the text from B2 into D2. When looking at cell C4 it has text so this needs to be copied to D4 ….. Basically I need all the surnames in one column.

    If you can see another way to do this then that will be great!

    I hope you can help.

    Thank you
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Formula required for looking up and copying values

    Hi LT.

    In D2:

    =IF(OR(C2="",B2=""),B2,C2)

    Copy down

    Is this what you are after?

    Cheers
    Last edited by Blake 7; 12-04-2010 at 08:04 PM.

  5. #5
    Registered User
    Join Date
    12-04-2010
    Location
    Essex, England
    MS-Off Ver
    Excel 2000
    Posts
    3

    Re: Formula required for looking up and copying values

    Oh Excellent! Thankyou so much!

+ 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