+ Reply to Thread
Results 1 to 3 of 3

If cell A1 is in column B then place value of cell C into D

  1. #1
    Registered User
    Join Date
    03-30-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    1

    If cell A1 is in column B then place value of cell C into D

    Example001.xlsheet1 is in column A of Sheet2 (e.g. at A3) then place value of Sheet2 cell B3 into Sheet1 B2.

    Does that make sense? Basically if a value shows in another column I need a value from another row same as where the question value is found pasting to another cell.

    Hello, my first post so apologies if in wrong area or if has been asked before. I need a little help generating a comparison sheet to show required values.

    Any advice or assistance much appreciated, would prefer to stick to formulae if possible rather than creating macros unless macros are the way forward.

    example:

    "4 Long Road" in 'Sheet1'!A3

    Find 4 Long Road in 'Sheet2'! column A

    'Sheet1'!A3 is in 'Sheet2'!A5 so copy 'Sheet2'!B5 over to 'Sheet1'B3

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: If cell A1 is in column B then place value of cell C into D

    you can do this with a vlookup, try this formula in B2 and fill down, you may need to change the format to date

    =VLOOKUP(A2,Sheet2!A:B,2,0)
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: If cell A1 is in column B then place value of cell C into D

    Hi Selkie, welcome to the forum.

    You can use VLOOKUP for this task. In B3 enter the following formula:

    =VLOOKUP(A3,Sheet2!A:B,2,0)

    You can then copy that formula (or fill) to the other cells in column B on sheet1 and it will lookup their corresponding values. You may need to format the cells in column B to Date, otherwise you may see numbers like 40960 (serial date value).

+ 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