Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=RIGHT(A2,4)=".csv"Computed by a real spreadsheet engine on the sample data below.
| Filename | Is CSV? |
| report.csv | |
| data.xlsx | |
| log.csv | |
| notes.txt | |
| backup.csv |
=RIGHT(A2,4)=".csv"→TRUE
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
Use SEARCH or FIND with a wildcard pattern via COUNTIF ("*suffix") which handles any prefix length without needing to specify a character count.
Use SUMPRODUCT: =SUMPRODUCT((RIGHT(A2,{4,5})={".csv",".xlsx"})*1)>0 — returns TRUE if the cell ends with any of the listed extensions.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: