Remove substring [closed]
I have a list of data with the company names, but I get twice the names and some additional strings that I do not need:I only want to remain the company names, for example:How do I do this in excel?
View ArticleMerge cells in excel VBA, based on cell value [closed]
I have weekdays excel data in the column "A" and related value on column "B". I want to write weekdays in the merged cell in column"C" based on the number of weekdays in column "A" and sumif weekdays...
View Articlevba to send email based on specific value and due date
Hi there i currently have below code whereby it will send email every time it meets target of 16, 64 and 125 however is it possible along with datesfor example only send email if value of 16 is within...
View ArticleMoving of the Shared JS runtime from preview to stable mode
Do you have any information if the Shared JS runtime is planned to move from preview to a stable version? Do you have any updates regarding this functionality? We plan to use it in our add-in and it...
View ArticleOptions for parsing a text file to columns
I am looking for some input and possible example for parsing a text file with the following format: (sorry not sure how to retain the formatting of the file in this text)NAME ID FORMAT SHORT NAME...
View ArticleExcluding duplicate values in combobox
Can someone please tell me how to add a code to exclude duplicate values inside the combobox? I already exclude some lines that have certain values in a colomn (for example when the work is already...
View ArticleHow to average my data in the same minute?
Please help me! I'm a beginner on coding.My data contain 24 hours for each sensor. There are 33 sensors for each file. The sensor collects data every minute for each lane of the expressway. The...
View ArticleRefer to range by variable string causes 1004 error [closed]
I have a Sub with a number of ranges called rng1, rng2, rng3, etc. I want to loop through all the ranges. I was hoping one of these methods of identifying the ranges would work, but they give me...
View ArticleHow do you change the formated font color of a cell using VBA?
I would like to select rows in my excel sheet based on a criteria and then edit the format of other cells in the same row.I know that I can select rows using autofilters (column n equals ""):Sub...
View ArticleMultiple quotation marks in-vba formula
My first coding is working properly and return correct answer.ActiveSheet.Range("I2:I"& LastROwColumnList).Formula = "=IF(MID(F2,8,3)=""T_2"",""Team_A"",""NA2"")"but it doesnt work when trying to...
View ArticleActiveSheet.Range AutoFilter RGB Is Slow
I have a macro in Excel VBA and one of the steps within it is performing an AutoFilter on the ActiveSheet range, filter based on color. This step seems quite time consuming and I am wondering if there...
View ArticlePython Datacompy library: how to save report string into a csv file?
I'm comparing between two data frames using Datacompy, but how can I save the final result as an excel sheet or csv file? I got a string as an output, but how can I save it as a CSV. '''import pandas...
View Articleemtpy cells and sort not consistant
I have an issue with what seems to be a non-consistant way for excel to manage empty cells when using sort. when I enter data manually, ascending sort put the empty cells at the end, when I enter the...
View ArticleReferencing cell properties [closed]
In VBA, one can see all of the objects attached to a cell, such as AddIndent, AllowEdit, ColumnWidth, ID, etc. I need to attach data to a cell and optionally choose to make it visible. For example,...
View ArticleCombine 2 lists in repeating patterns with every possible variant,...
I'm kinda new to to VBA, so I hope to make my point understandable. I have a pseudo code in my head to solve the problem, but my knowledge of VBA is not able to translate it into usable code.There are...
View ArticlePython - Copy sheet content from old excel file 97-2003 into excel sheet 2013
This is my code:wb1 = xl.load_workbook('test/workbook1.xls') # excel 97-2003 workbook ws1 = wb1[0] # I need to get the content belonging to the first sheet ws2 = wb['Objective'] # This is my goal...
View ArticleVBA Change Sourcedata Line Color
Trying to change the line of my fullseries sourcedata rangey3.I tried using: .Format.Line.ForeColor.RGB = RGB(56, 182, 75) .MarkerBackgroundColor = RGB(56, 182, 75) to no avail but it does work for the...
View ArticleExcel VBA Issues Connecting to Local SQL Database
I have been trying to connect to a local SQL server that I have created via excel VBA but am having issues. I am able to connect to the database using the "Get Data" functionality within excel and...
View ArticleCalculate Average Across Multiple Pairs/Permutations
Not sure how to use AVERAGEIFS or a combination of SUMIFS and COUNTIFS to efficiently solve this, or some other function.Basically, assume I have the following dataset of trip times between certain...
View ArticleAzure Function reading excel (xlsx) file
I have to import excel file into Azure SQL. It is quite frequent activity, so can't use wizard or manual process. The file contains 8000 rows and 95 columns. I am thinking to use Azure Functions but...
View Article