Excel Search In Data Validation List (Searchable Drop Down List)

Create Dynamic Searchable Drop Down List In Excel


Being able to search based on one or more characters in the data validation list greatly simplifies the user’s task, especially in drop-down lists with many values. For this, we created the searchable drop down lists on the invoice template that we created earlier.

We will use the searchable drop down lists to bring data from the Product sheet to the Invoice sheet. After the operations we will do, we will create dynamic searchable data validation lists that fetch data from another page. Namely, when a new product is entered on the Product sheet from which we receive data, it is automatically listed in the data validation lists on the Invoice sheet.

We followed these steps to create the searchable data validation list:
Firstly, we defined a new name “Products_1” in the Formulas_ Name Manager menu :
Products_1 =OFFSET(Product!$A$2,,,COUNTA(Product!$A:$A)-1)

➜ We opened VBA Editor Window by pressing Alt + F11. Into the Worksheet_Deactivate procedure of Product sheet, we have added the following codes to sort as alphabetically the products on the sheet when we add products and leave the sheet :
Private Sub Worksheet_Deactivate()
Range("A2:C" & Rows.Count).Sort Range("A2"), xlAscending
End Sub


➜ We selected Range(A17:A33) cells on the Invoice sheet and entered the following formula in the Source section of the Data Validation_List menu :
=OFFSET(Product!$A$2,MATCH($A17&"*",Products_1,0)-1,,COUNTIF(Products_1,$A17&"*"),)

As example ,our formula for cell A18 :
=OFFSET(Product!$A$2,MATCH($A18&"*",Products_1,0)-1,,COUNTIF(Products_1,$A18&"*"),)

An important and not to be forgotten point is ; It is to remove the confirmation next to the text “Show error alert after invalid data is entered” in Error Alert tab in Data Validation window. Otherwise, we cannot create a searchable data validation list as we want.
Searchable Data Validation (Drop Down) Lists In Excel

When entered a letter or number in cell A17 and pressed the arrow icon to right of the drop-down list, the values ​​that started with that letter or number are listed on data validation drop down list.
excel searchable data validation list


Excel search in drop down list

Read more ...

Send WhatsApp Message From Excel Address Book

Send WhatsApp Message From Excel Sheet



I made some changes to the Excel address book template I created earlier so that whatsapp message can be sent to the selected mobile number.

The validity of mobile numbers is checked using VBA codes.The mobile number must be entered with its international code. The "+" symbol is automatically added by Excel VBA codes.
If the number is valid (with the international code at the beginning) and the user has the WhatsApp application installed on their phone, you can send a message even if the number is not stored on your smart phone.



send whatsapp message from Excel

Read more ...

Automated Invoice Sample In Excel

Excel Invoice Template


With the automated invoice template, invoice creation process is carried out faster.
Customer information on the invoice is brought from the Company sheet with a searchable data validation list and VLOOKUP formula.
The product name, price, discount rate info to be entered in the invoice is brought from the Products sheet with a searchable data validation list and VLOOKUP formula.

For example ; the formula for cell C17 is:
=IF(ISERROR(VLOOKUP(A17,Products,2,FALSE)),"",VLOOKUP(A17,Products,2,FALSE))

The “Products” expression seen in the formula indicates Products name that we created earlier.

excel invoice

Transactions such as product price, discount rate, grand total on the invoice are performed by formulas. ↓ 
excel automated invoice


Using “Save Invoice” button ,invoices can be saved on the selected sheet in the workbook if desired. 
excel save invoice


Data can be searched with the userform in the saved invoices. Results are listed on the listbox. If clicking on the search results, the worksheet containing the result and the cell address are displayed. 
excel invoice template


excel invoice

Read more ...