INDIRECT gives #NUM! error for filtered off cells
I have the following formulaINDIRECT("X5:X"&AGGREGATE(14,7,ROW($A$5:$A400))/SUBTOTAL(103,OFFSET($A$5,ROW($A$5:$A400)-ROW($A$5),0)),1)) The AGGREGATE functions returns 256, which is the row number...
View ArticleCombining data from multiple workbooks into a single worksheet
My code is designed to allow the user to open multiple workbooks and take the data from each workbook copy it in to a new workbook and save that workbook in a designated location with a dynamic name.My...
View ArticleFind and delete row with multiple criteria
I have a list of student records listed with surname in column B and first name in column C. On the user form is a search function which fills in the student name into the value surname.value and...
View ArticleExcel macro for splitting data in separate column
Can someone please help me with a macro to separate out the clustered data in one column to different columns. I tried Power query and it does work but I want to automate the file so that the user...
View ArticleHow do you charge tax on the one thousand per every thousand in excel
I have an assignment where I am not receiving any help. My teacher wants us to do an excel project where someone makes between 24,000 and 34,000 dollars every year and they are charged 12 percent tax...
View ArticleCan“t find my code in excel vba
I have written a code that should run when a cell in the worksheet changes. It works well and fast.Now I want to add another case to the code... but now I can“t find it.Can I somehow search for the...
View ArticleIF statement with Functions inside
I am trying to make an excel document calculate the number of days between 2 dates OR the number of days between the current date and the first date.I've tried doing the following:IF(B1 "",...
View ArticleHow to count differences between Cells
I have VBA which comparing 2 cells. Each cell can contain between 1 and 3 different parameters ant parameters are trimmed by the "," comparison is made by simple double for loop(check code). Thing what...
View ArticleExecution of Sub from another Sub
I have the following VBA code to color the cells of a table, which is the result of a query that can be updated time after time.Sub ColorMain() Dim Data As Range Dim cell As Range Sheet1.Activate...
View ArticleHow to get value of last populated cell and +1 to that value? [duplicate]
This question is an exact duplicate of:Formula to find the last populated cell in a column and add to it? 1 answerIf column A is marked with an X, the adjacent cell in column B will find the last...
View ArticleTrying to code a Python equivalent of SUMIFs feature in Excel
I am trying to rewrite a .xlsx file from scratch using Python. The excel sheet has 99 rows and 11 columns. I have generated 99 rows x 8 columns already and I am currently working on generating the 99...
View ArticleSUMIFS Multiple Criteria with Date Range Criteria
I have a data set like this (not table):I want to Sum with following criteria: US, Apple and date prior to today. Because of the data layout the SUMIFS formula doesn't seems to work. This is what I...
View ArticleConverting a csv file to Excel (with columns as text) using vba
I have a csv file say for example with data as below (a.csv). Now I want to convert into excel using vba script. I have gone through many solutions here and the problem is in the second column the...
View ArticleExcel formula to search if all cells in a range read "True", if not, then...
Using an excel formula to search if all cells in a range read "True", if not, then show "False"For example:A B C D True True True True True True FALSE True I want a formula to read this range and show...
View ArticleOpen Google Chrome from VBA/Excel
I'm trying to open a Chrome browser from VBA. I understand Chrome does not support ActiveX settings so I'm curious if theres any work-arounds?Dim ie As Object Set ie =...
View ArticleType 13 mismatch in VBA with Case statements
I'm relatively new to programming in excel/vba, but I've been tasked with making a simple button in excel. The purpose of this is to use user inputs in one range and then return a value in another...
View ArticleExcel: how can I check if values in Column A uniquely identify set of values...
I want to check if one column in an Excel file can be used as a unique identifier for data transformation purposes. Currently, I am comparing two columns, say Column A and Column B. I want to see if...
View ArticleHow can I insert rows based on cell contents looped through all rows
I am trying to write a macro that tidies up and interrogates raw data exported from some analytical instrumentation. I would like it to look through one column (sample names) down all rows and look for...
View ArticleVBA for inserting images to appear over cell mouse hover
I'm pretty new to VBA, and my boss wants me to add in pictures for each of the serial tags of the inventory we have, and for them to appear when the cursor is hovered over the cell. It would be a pain...
View Articlecplex/opl model - 4 index parameter - data sheet connection with excel
I'm a total beginner with CPLEX and OPL, so maybe you can help me with the coding of a mixed integer programming model.In my case: I have an optimization function including a parameter transportation...
View Article