Alif Bin Hussain

About author

Alif Bin Hussain earned a BSc in Civil Engineering from Bangladesh University of Engineering and Technology. As an engineering graduate, he has a deep passion for research and innovation. He loves to play with Excel. In his role as an Excel & VBA Content Developer at ExcelDemy, he not only solves tricky problems but also shows enthusiasm and expertise in handling tough situations with finesse, emphasizing his dedication to delivering top-notch content. He is interested in C, C++, C#, JavaScript, Python, Microsoft Office, AutoCAD, Adobe Illustrator, Data Entry, and Web Scraping.

Designation

Excel & VBA Content Developer at ExcelDemy in SOFTEKO.

Lives in

Dhaka, Bangladesh.

Education

B.Sc. in Civil Engineering, BUET.

Expertise

ABAQUS, ETABS, AutoCAD, Microsoft Word, Excel, C++, SAP 2000, MATLAB, FAARFIELD

Experience

  • Technical Content Writing
  • Undergraduate Projects
    • Detailed Traffic Study, Roundabout Design and Analysis for Palashi Intersection
  • Submitted for review
    • Nonlinear Finite Element Analysis of Flexural Behavior of Composite Beams with Rebar Shear Connectors" submitted for review in 3rd International Conference on Structural Engineering Research, Sydney, 2022 (iCSER 2022)

Latest Posts From Alif Bin Hussain

0
Using Excel VBA to Set Vertical Alignment – 5 Examples

This is an overview. Syntax: expression.VerticalAlignment Expression is a variable that represents a cell-format object. These are common ...

0
How to Use Excel VBA to Move Files

A File System Object (FSO) is an object in VBA that provides a way to work with files and folders on a computer’s file system. It allows VBA code to create, ...

0
Excel VBA to List Files in the Folder and Subfolders  – 3 Examples

This is an overview. Key Concepts i. Dir Function The Dir function returns the first file name in the specified folder. ii. File System ...

0
How to Use an Array of Strings in VBA (4 Examples)

Introduction to VBA Array Arrays are powerful tools for managing data, and they allow you to group related values under a single variable name. Here are the ...

0
How to Create an Export Price Calculator in Excel: 4 Methods

Method 1 - Calculate Free on Board Insert the price of the following four types of expenses. Value of the goods Cost of handling carriage before ...

0
How to Create Offset Mortgage Calculator in Excel (With Easy Steps)

Here’s an overview of the offset mortgage calculator we’ve prepared for this article. Introduction to Offset Mortgage Offset mortgages offset the ...

0
How to Create a Gas Mileage Calculator in Excel – 6 Steps

This is an overview. Step 1 - Enter the Date and the Odometer Reading Insert two columns: Date and Odometer Reading. Enter the dates and the ...

0
[Fixed!] Sort Largest to Smallest Not Working in Excel

Reason 1 - Numerical Data Converted into Text Format The issue can occur if the data we are trying to sort is in Text format. We can only sort data from ...

0
Use ISNUMBER Function with IF and Then Statements in Excel

We will use the following dataset to demonstrate how to use the ISNUMBER function for IF statements. Example 1 - Check If a Cell Starts with a ...

0
How to Calculate Logarithmic Interpolation in Excel (2 Easy Ways)

Interpolation is the process of determining the value of an unknown point that lies between two known data points. While calculating linear interpolation is an ...

0
How to Create Grade Distribution Chart in Excel (2 Examples)

Example 1 - Insert a Pie Chart for Grade Distribution Steps: Insert a column named “Grades”. To find out the grade, select cell D5 and enter the ...

0
How to Sort Bar Chart in Descending Order in Excel (4 Easy Ways)

We will use the following dataset, which contains two columns named Student Name and Test Score. A bar chart is inserted using these two columns. ...

0
How to Stop Automatic Cell Formatting in Excel

This is an overview.   Unchecking the AutoCorrect Dialog Box Steps Click the arrow button above the ribbon and select More Commands. ...

0
How to Make Smooth Area Chart in Excel (With Easy Steps)

Excel is a very useful tool for plotting different kinds of charts. Excel offers various options to format the plotted charts to make it look more attractive. ...

0
How to Use VBA Dictionary in Excel: 6 Practical Methods

Method 1 - Create a VBA Dictionary Steps: Open the Microsoft Visual Basic window by pressing  Alt+F11 . Click on the Tools tab and go to, Tools → ...

Browsing All Comments By: Alif Bin Hussain
  1. Hello FAIS,

    Follow these steps to get your desired result.

    • You can use the following formula to calculate the time required to get the desired salary. This formula will give you the result in years only.

    =LN(C6/C4)/LN(1+C5)

    In the formula, C6 refers to the desired salary (75000000), C4 refers to the current salary (307584) and C5 refers to the increment percentage (10%).

    • If you want the results to be in years and months, use the formula given below.

    =INT(C8)&" years " & INT(MOD(C8*12,12))&" months"

    Here, C8 refers to the required time in years.

    • You can set up your Excel worksheet like the following image given below to get the desired result.

  2. Hello Tom,

    The upward arrow between C9 and C10 in the formula indicates the exponent operation of mathematics. In the formula, C9 raised to the power of C10 is written as C9^C10. A simple example would be “Two Squared” which is written as 2^2 = 4, where 2 is raised to the power of 2, resulting in 4.

  3. Hello Claire,

    Follow these steps to make the stacked bar charts of Likert scales.

    • First, select the range B4:G10.
    • Then go to,

    Insert >> Charts >> 100% Stacked Column

    • As a result, the chart will look like the following image.

  4. Hello Torsten,

    Thank you for bringing this matter to our attention. We will look into the VBA function to see if it can be updated to minimize the deviation of the orange line from the given points.

    Besides, I would like to address your concern regarding interpolation methods. There are some interpolation methods that go through all the given points such as Lagrange interpolation or polynomial interpolation etc. However, interpolation method such as cubic spline interpolation does not necessarily pass through all the given data points.

  5. Reply Avatar photo
    Alif Bin Hussain Mar 9, 2023 at 5:38 PM

    Hello SANJAY DANGI,

    Thank you for reaching out. You can add attachment to the email in the first method easily. Follow these steps to do it.

    • In this example, we want to attach a file named Attachment.pdf. The path directory for the file is D:\Exceldemy\.

    How to Send Automatic Email from Excel to Outlook with Attachment

    • First, download the workbook provided in this article and open it.
    • Next, add a new column (H) and write the file names you want to attach to the email. Make sure to write the file extension.

    How to Send Automatic Email from Excel to Outlook with Attachment

    • Then, open the code module and write the following code.

    Sub ExcelToOutlookSR() Dim mApp As Object Dim mMail As Object Dim SendToMail As String Dim MailSubject As String Dim MailBody As String Dim FileName As String Dim Path As String 'Declare variable for file path Path = "D:\Exceldemy\" 'Set file path For Each r In Selection SendToMail = Range("C" & r.Row) MailSubject = Range("F" & r.Row) MailBody = Range("G" & r.Row) FileName = Range("H" & r.Row) 'Get file name from H column Set mApp = CreateObject("Outlook.Application") Set mMail = mApp.CreateItem(0) With mMail .To = SendToMail .Subject = MailSubject .Body = MailBody .Display .Attachments.Add (Path & FileName) 'Add attachment End With Next r Set mMail = Nothing Set mApp = Nothing End Sub
    How to Send Automatic Email from Excel to Outlook with Attachment

    • After writing this code, go back to the excel sheet.
    • Then, select one or more names and click on the button.

    How to Send Automatic Email from Excel to Outlook with Attachment

    • As a result, Microsoft Outlook software will open and you will find the email already written with the attached file. You can just click send to send the Email.

    How to Send Automatic Email from Excel to Outlook with Attachment

  6. Hello Theo,

    Follow these steps to adjust ranges to make a longer list without any error.

    1. First, to make the task list longer, select cells H13 through J13. Then drag the fill handle down to add new task.
    make an eisenhower matrix in excel
    2. In this example, we added five new tasks. Therefore, the new ranges for column H, I and J are H6:H18, I6:I18 and J6:J18 respectively.

    3. Then select cell D6 and change the ranges of H,I and J cells in the formula bar and press Enter. After that, Autofill formula up to cell D9.
    make an eisenhower matrix in excel
    4. Similarly, change the formula ranges for other cells as well.

    5. Finally, you can see in the following figure that the formula is working properly.
    make an eisenhower matrix in excel

    I hope this solves your problem. Please let us know if you face any other issues.

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo