Joyanta Mitra, a BSc graduate in Electrical and Electronic Engineering from Bangladesh University of Engineering and Technology, has dedicated over a year to the ExcelDemy project. Specializing in programming, he has authored and modified 60 articles, predominantly focusing on Power Query and VBA (Visual Basic for Applications). His expertise in VBA programming is evident through the substantial body of work he has contributed, showcasing a deep understanding of Excel automation, and enhancing the ExcelDemy project's resources with valuable programming insights.
In this article, we are going to explore the combination of IF with the ISERROR function in Excel in different circumstances, such as finding unit prices, ...
Want to create files from an Excel list without having to spend hours doing it by hand? Excel's VBA (Visual Basic for Applications) allows you to automate this ...
Ranking data in Excel is incredibly helpful in identifying the top or bottom performers in a dataset. By ranking data from highest to lowest, you can quickly ...
Drop-down lists in Excel are a great way to make data entry more efficient and accurate. By using a drop-down list, users can select predefined options instead ...
Excel VBA Target Address refers to the location of a cell or range that caused a specific event to occur in an Excel worksheet. In this article, we automated ...
The object required error in VBA occurs when you attempt to perform an operation on a variable or object that is not set or initialized. This error can be ...
You can apply color scales based on values. This is helpful if you want to rapidly recognize particular values depending on their color. Use color scales, for ...
This article will show you how to use Excel VBA to Find Matching Values in Columns. With VBA, you can automate the process of searching for specific values or ...
Looking for ways to pop up Excel VBA MsgBox when a cell meets the criteria? Then, this is the right place for you. In Microsoft Excel, VBA (Visual Basic for ...
VBA is a programming language used to automate tasks in Excel. When creating VBA programs, it's important to display messages to the user, and giving these ...
In this article, we are going to create a Fuel Cost Calculator using Excel formula. Here, we are going to give you a very easy way to find out the cost of your ...
It is very necessary to limit decimal places in Excel to progress with further calculations. Sometimes it is irritating to have so many digits after the ...
The LARGE function cannot identify the unique nth largest value if duplicates are available in an array. In this article, you will find the nth largest value ...
Bilinear interpolation is a mathematical process to estimate the function value of two variables when you do not know the function values of the input ...
ExcelDemy is a place where you can learn Excel, and get solutions to your Excel & Excel VBA-related problems, Data Analysis with Excel, etc. We provide tips, how to guide, provide online training, and also provide Excel solutions to your business problems.
Contact | Privacy Policy | TOS
Dear April
Thanks for your concern. There were some minor formatting issues with the VBA codes. Sorry for the inconvenience. We have updated our article. If you follow now, you will get the perfect calculator.
Thanks for your help
Regards,
Joyanta Mitra
ExcelDemy
Dear Adam,
Thank you for your concern. You can not change the color of Excel button but you can use Command Button to change the button color.
You can follow the steps below to color your command button:
1. use Developer tab > Insert > ActiveX Controls > Command Button.
2. A command will appear and right click on it.
3. Choose CommandButton Object > Edit.
Name the button as Start.
4. Now right click on the command button and choose View Code.
5. Then write code below for starting.
Finally the button color has been added.
6. Now create a stop buttom and use the code below:
7. Write down the code for reset button:
Finally, you will have colored command button. You can change the color by changing color code 13959039.
Dear Kelley Sauer,
Please use this formula below to count sales having date.
=COUNTIF(E5:E14, "<>")
It will count all sales with date. Using this formula, you will not get zero anymore. Moreover I have also used Ctrl+: to insert date.
With Regards,
Joyanta Mitra
Dear Anas,
You have to write the following code to get data validation for duplicate values, you have write the code below.
Then we get the data values of unique departments Marketing and Sales.
With regards,
Joyanta Mitra
Dear Santosh Kumar,
Please clarify the question. How can a person do more than 24 hours in 24 hours?
With Regards.
Joyanta Mitra
Dear FRANCESCA BATHE,
End Position is given according to column To. Where there is RENT in To column, the number starts 1,2,3,4 and ends with SPACE1 numbered 5. Then next is Food starting 6,7,8, 9 and ends with SPACE2 numbered 10. Likewise, numbering is done for every cell data in End Position.
Regards,
Joyanta Mitra
Code is alright. Please inform your particular problem.
Dear Prince,
Thank you very much for reading our article.
According to your query, 1st you wanted to know about a formula to create a drop-down list that will be used to select different types of leaves. You will get that in Step 3 of this article. In our Excel file, we selected leave using the drop-down list in Record sheet. Also when you move to any month leave information will be based on the Record sheet. So, information will not move from one month to another. Try this and hope you will get the solution.
Otherwise, send your Excel file with what you want to get and we will try to provide a solution. You can mail us at [email protected].
Thanks
Joyanta Mitra
ExcelDemy
Dear Karlyn Martinez,
For your convenience, I have showed the task with following steps.
Steps:
● First, you have to recognize the pattern in the formula
● You can use Format Painter or drag the row to add a new row or rows for editing new data.
● Now add new data.
● Inset new rows in the Summary sheet.
● Insert the Entire row.
● Edit the code according to the main dataset. As now in Jan worksheet, new data is added, and so the range will be changed to AH$15 and $B$15.
Hope, this will be helpful for you.
Regards,
Joyanta Mitra
Excel & VBA Content Developer
This code will solve your problem. The code has a condition checking values blank or not.
Output:
Please write Ticker correctly both in your xlsx file and the code. Do not try to give invalid ticker or outdated ticker. Provide problems in detail for better service please.
First, you have to create different power queries for each worksheet for other tickers and copy the same code. Otherwise, it triggers the first. Then for 10 different tickers,the code is
this code creates 10 tables for 10 different tickers. You have to select one table according to Ticker and hover over the query in Workbook Query Section and press View in Worksheet. You will get the table have to create 10 sheets separately.