Skip to main content

[MicrosoftExcel]: Thu thập kinh nghiệm học từ người dùng cuối, blog, website...

[Kiểm tra địa chỉ e-mail hợp lệ]
Tiêu chí kiểm tra địa chỉ e-mail hợp lệ
- Phải có chứa @
- Phải có chứa dấu .

Cell A1 chứa địa chỉ e-mail cần được kiểm tra

Cell A2: =AND(FIND(“.”,A1),FIND(“@”,A1))

Nếu nội dung cell A1 không thỏa cả 2 tiêu chí trên thì cell A2 sẽ có giá trị FALSE


[Trích nội dung cell]
Học được từ: http://www.mrexcel.com/forum/excel-questions/545041-copy-remove-text-before-after-specific-character.html

Cell A1: abc@gmail.com; xyz@yahoo.com
Cell A2: abc@gmail.com; xyz@yahoo.com

B1: Lấy nội dung từ phía sau dấu chấm phẩy đến cuối cell:  =RIGHT(A1,LEN(A1)-FIND("; ",A1))
B2: Lấy nội dung từ dấu chấm phẩy trở về đầu cell: =LEFT(A2,FIND(";",A2)-1)


[Copy nội dung một cell cho đến dòng cuối cùng trong một cột]
- Chọn cell cần copy
- Đặt con trỏ ở gốc phải bên dưới cell đã chọn, khi con trỏ có hình chữ thập + thì nhấn đúp

Popular posts from this blog

Powershell: Enable Firewall Log

We sometimes need to enable Windows firewall's log to troubleshoot. Here is how.

Viber: Notes

[PowerShell]: Powershell script uploading backup databases to ftp server

Author:  Enrique Puig Nouselles http://gallery.technet.microsoft.com/scriptcenter/80647f66-139c-40a4-bb7a-04a2d73d423c Nhu cầu - Học sử dụng Powershell và áp dụng vào thực tế - Server chạy MS SQL được backup mỗi ngày và lưu các file backup ở folder mặc định "C:/Program Files/Microsoft SQL Server/MSSQL11.MSSQLSERVER/MSSQL/Backup" - Upload các file database backup về một ftp server khác để lưu "offsite" # Begin script # Thanks to: Enrique Puig Nouselles http://gallery.technet.microsoft.com/scriptcenter/80647f66-139c-40a4-bb7a-04a2d73d423c # Khai báo folder chứa các file backup database, dưới đây là folder backup mặc định của MS SQL 2012 $Dir="C:/Program Files/Microsoft SQL Server/MSSQL11.MSSQLSERVER/MSSQL/Backup"   # ftp server $ftp = "ftp://IPAddres/subfolder/subsubfolder" $user = "usernamehere" $pass = "passwordhere" # DO NOT use $(Get-Date), use $d variable instead, otherwise SQL Agent gets error "The...