+ Reply to Thread
Results 1 to 4 of 4

Want to create a function if value is already there in table then return message

  1. #1
    Registered User
    Join Date
    05-21-2021
    Location
    UAE
    MS-Off Ver
    2019
    Posts
    2

    Want to create a function if value is already there in table then return message

    Hi,

    We are having vehicle inspection for monthly. So everyday we inspect vehicles and then enter these details into excel. I want to create a function suppose if vehicle details (Plate number) are already there in specific table meaning inspected then a message should return with something to inform that this vehicle is already inspected when i am entering new details.

    excel.jpg

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Want to create a function if value is already there in table then return message

    Hi, welcome to the forum,
    there is a build in function of Excel, if it is turned on, you type in only the first few characters of the word (i.c. licenceplate) and in the cells shows the word which has already been entered in the table.
    This is to be found in Options, Advanced, then tag Enable AutoComplete for cell values.

    This works if 4 or more lines in the table are filled.

    Cheers
    Erwin
    Last edited by Eastw00d; 05-21-2021 at 03:58 AM. Reason: additional info
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

  3. #3
    Registered User
    Join Date
    05-21-2021
    Location
    UAE
    MS-Off Ver
    2019
    Posts
    2

    Re: Want to create a function if value is already there in table then return message

    Thanks Erwin,

    I know about that feature but if there could be any other ways that helps me to find through exact matches with plate number column only when I write similar values it would be really great?

  4. #4
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Want to create a function if value is already there in table then return message

    well, ofcourse you can use the VLOOKUP function, to be set for example in cells E7 and below:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    but when you copy this down, you get a lot of messages...

    Cheers
    Erwin

+ 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. Create a Vlookup function using VBA that can return the 2nd, 3rd.... nth value
    By MsRoooose in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-02-2020, 07:45 PM
  2. VLookUp to Return Infornation from Table in Message Box
    By MonTheEck in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-14-2018, 05:41 AM
  3. Create a loop through a table to calculate every option and return the lowest value
    By Zimmerman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2018, 05:16 PM
  4. query to web link does not return the table as before instead a message
    By rrobelen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-31-2017, 12:08 PM
  5. Create and Return Values to another Table
    By marislav in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-24-2016, 05:52 PM
  6. IF Function to create message or alert
    By 99jolegg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-30-2015, 03:00 AM
  7. Replies: 11
    Last Post: 12-23-2010, 08:26 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