+ Reply to Thread
Results 1 to 6 of 6

Vlookup value, if false put value from a different cell into next cell

  1. #1
    Registered User
    Join Date
    06-09-2016
    Location
    MIA
    MS-Off Ver
    2013
    Posts
    7

    Vlookup value, if false put value from a different cell into next cell

    My table:

    Serial Number, Moves, Install Date
    12345, VLookup match (12345), 1/2/2016

    If the VLookup matches I want to be able to change the date to a different one from another sheet. So far I only got the VLookup straight:

    =IFERROR(VLOOKUP(A2,Moves!A:A,1,FALSE),"-")

    I am looking for something that goes: If Serial Number is found in Moves Column put H2 from worksheet 2 into column Install Date in Sheet 1.

    Does this make sense? Eternally grateful for any advise.

  2. #2
    Forum Contributor
    Join Date
    01-13-2006
    Location
    Texas
    Posts
    161

    Re: Vlookup value, if false put value from a different cell into next cell

    it appears your lookup table is on a different sheet - "Moves" from where this formula resides?

    try this

    =IF(ISERROR(VLOOKUP(A2,Moves!A:A,1,FALSE)=TRUE),"-",Sheet2!H2)

  3. #3
    Registered User
    Join Date
    06-09-2016
    Location
    MIA
    MS-Off Ver
    2013
    Posts
    7

    Re: Vlookup value, if false put value from a different cell into next cell

    Thanks! So far so good:

    =IF(ISERROR(VLOOKUP(A2,Moves!A:A,1,FALSE)=TRUE),"-", But then it has to look up A2 again and put N2 from Moves Sheet into Sheet1 C2.

    I don't think another VLookup will do the trick as it replaces value next to cell that is being calculated. That's where I am stuck at. Capture.JPG

    Not sure if you can see the screen shot but if a value comes up in B2 it needs to change the date in C2 from the other sheet. Do I make sense?

  4. #4
    Forum Contributor
    Join Date
    01-13-2006
    Location
    Texas
    Posts
    161

    Re: Vlookup value, if false put value from a different cell into next cell

    Sorry, I don't understand. You are not giving enough detail.
    Is column C the install date?
    What happened to sheet 2 H2? Are H2 and N2 always the absolute address of values or do they change based on where you are in the table?

  5. #5
    Registered User
    Join Date
    06-09-2016
    Location
    MIA
    MS-Off Ver
    2013
    Posts
    7

    Re: Vlookup value, if false put value from a different cell into next cell

    You are too kind. Thanks for trying. I made a mock up, does this help?
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    01-13-2006
    Location
    Texas
    Posts
    161

    Re: Vlookup value, if false put value from a different cell into next cell

    Sorry, but your narration and comments on the mockup are too generic. For instance, what is "the last entry on sheet2"? To me, that is cell N5461. But you may mean the last time the serial number is found or the last entry in column A or the last entry on that row. And you have not supplied your Master Asset List, so based on sheet 2, I would expect the value of cell C2 to be 1/14/2016 from sheet 2 cell N3022.

    I think you need a Vlookup that returns a value from sheet 2 column N if found, and from sheet 1 column A if not. If not that, I really don't understand. Sorry.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Writing =IF(ISBLANK($H4), "", VLOOKUP($H4,DCID[#All], 3, FALSE)) to a cell and work
    By smit.etha in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-20-2015, 04:36 PM
  2. Replies: 2
    Last Post: 07-27-2014, 11:48 PM
  3. [SOLVED] Formula in cell2 that if cell 1 is true then cell 2 should be false
    By kosherboy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-22-2014, 11:51 AM
  4. Does a cell match exactly to another cell from a list, true/false?
    By MushroomFace in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-30-2013, 08:49 PM
  5. [SOLVED] Conditional Formatting a cell from a "true/false" VLOOKUP
    By Solidstan in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-12-2013, 10:54 AM
  6. Vlookup to return blank cell when false
    By omarq in forum Excel General
    Replies: 5
    Last Post: 11-23-2010, 09:40 AM
  7. Replies: 3
    Last Post: 06-16-2009, 10:07 AM

Tags for this 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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1