+ Reply to Thread
Results 1 to 3 of 3

IF different from blank then

  1. #1
    Registered User
    Join Date
    11-21-2015
    Location
    france
    MS-Off Ver
    2010
    Posts
    57

    IF different from blank then

    Hi everyone,

    I would like that in my column Number 3 (workbook deliveries macro) that if the cell is blank it doesn't do the Vlookup and goes to the next one.
    I don't have any error message but the result is that it still does the 2 vlookup (one with blank into braket+ the other one)


    Please Login or Register  to view this content.
    Let me know if you have an idea why it doesn't stop when it sees blank cells.
    Huge thank you.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,755

    Re: IF different from blank then

    I don't have a technical answer, but an alternative to the If-then statement may be

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    11-21-2015
    Location
    france
    MS-Off Ver
    2010
    Posts
    57

    Re: IF different from blank then

    Thank you for your message.
    I'm not really sure if the problem comes from the IF. I am a bit confused, don't really know what the problem is.

    MACRO MODULE 5 :

    In workbook "macro deliveries", I would like the quantities sheet ''feuil1'' column C to be transfered into workbook "Wk49"
    column 5 to have for instance :

    5N - 2Y [+17000]on Del 21.02

    It works BUT it puts values for every cells in workbook "WK49". (I'd like to keep for instance 5N-2Y when no values on first Workbook)

    5N - 2Y [] on Del 21.02 instead of 5N - 2Y

    Thank you very much in advance for all your help ! (hope it makes sense)
    Attached Files Attached Files
    Last edited by ced0802; 12-01-2015 at 03:48 PM.

+ 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. Replies: 3
    Last Post: 02-09-2015, 09:00 AM
  2. Replies: 11
    Last Post: 09-15-2014, 02:36 AM
  3. [SOLVED] Concatenate If Blank - remove blank line if first cell is blank
    By ker9 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-27-2014, 02:14 PM
  4. Replies: 3
    Last Post: 01-23-2014, 12:19 PM
  5. Mac Excel: Hiding rows if cell blank, when being blank depends on a conditional formula
    By lee_5_5 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 06-06-2013, 11:25 PM
  6. [SOLVED] If statement that copies text from a separate worksheet, or if blank, leaves cell blank.
    By barleycorn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-22-2012, 12:30 PM
  7. Replies: 1
    Last Post: 03-21-2012, 09:41 AM

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