Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

excel

Check whether a cell contains a substring

October 7, 2022 by Tarik

Try using this: =ISNUMBER(SEARCH(“Some Text”, A3)) This will return TRUE if cell A3 contains Some Text.

Categories excel Tags excel, excel-formula Leave a comment

Return empty cell from formula in Excel

October 7, 2022 by Tarik

Excel does not have any way to do this. The result of a formula in a cell in Excel must be a number, text, logical (boolean) or error. There is no formula cell value type of “empty” or “blank”. One practice that I have seen followed is to use NA() and ISNA(), but that may … Read more

Categories excel Tags excel, excel-formula Leave a comment

Shortcut to Apply a Formula to an Entire Column in Excel [closed]

September 28, 2022 by Tarik

Try double-clicking on the bottom right hand corner of the cell (ie on the box that you would otherwise drag).

Categories excel Tags excel, excel-formula Leave a comment

Add leading zeroes/0’s to existing Excel values to certain length

September 28, 2022 by Tarik

=TEXT(A1,”0000″) However the TEXT function is able to do other fancy stuff like date formating, aswell.

Categories excel Tags excel, padding Leave a comment

How to return a result from a VBA function

September 27, 2022 by Tarik

For non-object return types, you have to assign the value to the name of your function, like this: Public Function test() As Integer test = 1 End Function Example usage: Dim i As Integer i = test() If the function returns an Object type, then you must use the Set keyword like this: Public Function … Read more

Categories excel Tags excel, function, return, return-value, vba Leave a comment

How to create a string or formula containing double quotes in Excel?

September 26, 2022 by Tarik

Have you tried escaping with an additional double-quote? By escaping a character, you are telling Excel to treat the ” character as literal text. = “Maurice “”The Rocket”” Richard”

Categories excel Tags excel, excel-formula Leave a comment

Setting mime type for excel document

September 21, 2022 by Tarik

I believe the standard MIME type for Excel files is application/vnd.ms-excel. Regarding the name of the document, you should set the following header in the response: header(‘Content-Disposition: attachment; filename=”name_of_excel_file.xls”‘);

Categories excel Tags content-type, excel, mime Leave a comment

What is correct content-type for excel files? [duplicate]

September 13, 2022 by Tarik

For BIFF .xls files application/vnd.ms-excel For Excel2007 and above .xlsx files application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Categories excel Tags excel, mime-types Leave a comment

Is there a way to crack the password on an Excel VBA Project?

September 12, 2022 by Tarik

You can try this direct VBA approach which doesn’t require HEX editing. It will work for any files (*.xls, *.xlsm, *.xlam …). Tested and works on: Excel 2007 Excel 2010 Excel 2013 – 32 bit version Excel 2016 – 32 bit version Looking for 64 bit version? See this answer How it works I will … Read more

Categories excel Tags excel, passwords, vba Leave a comment

Is it possible to force Excel recognize UTF-8 CSV files automatically?

September 11, 2022 by Tarik

Alex is correct, but as you have to export to csv, you can give the users this advice when opening the csv files: Save the exported file as a csv Open Excel Import the data using Data–>Import External Data –> Import Data Select the file type of “csv” and browse to your file In the … Read more

Categories excel Tags csv, excel, utf-8 Leave a comment
Older posts
Newer posts
← Previous Page1 … Page31 Page32 Page33 Next →

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa