Pandas merged cell issue when reading from excel
So I have a xls file with some weird style but there's nothing I can do about it so I just need to parse it.As you can see I have some merged cells. What I want to do is fill the empty values for the...
View ArticleHow to add a list of list into excel using python xlsxwriter
I have a list l1=[['a','20,'30],['b','30','40']. I want l1 to be inserted in an Excel file with this format:a 20 30 b 30 40
View ArticleCalculating distance between adresses using Google API in Excel (VBA)
I'm working on my master's thesis and really need your help with some distance calculations. I am really struggling with some code I found online in order to calculate the distance between several...
View ArticleExcel VBA reconciliation
I have excel workbook and i need to compare column B and column W if column B & W data is the same need to copy an entire row to a newsheet(sheetname "Reconciled") column B data is date format like...
View ArticleExtract recipient from last item in sent mail folder in Outlook
I am trying to retrieve the recipient's name from the last e-mail sent from Outlook. Using the Items.GetLast method returns the subject line, but I need the recipient's name.I have tried looping...
View ArticleClean,Trim-VBA errors (removed filtered data, leaves #NA, does not work on...
I have used this VBA below with success to clean and trim exported data. I have started to see 3 problems.I have started to use it on data formatted as tables and when the table is filtered the script...
View ArticleHow can I add a comma & space after every two digits in Excel and then format...
Here's the table I'm working with:First off, how can I separate the string of numbers in column C so that they have a comma and space after every two digits?I was able to partially finish it, but for...
View ArticleHow do you get Excel VBA to recognize numeric cells?
I have a table of numbers that are all right aligned (i.e. Excel recognizes them as text)I run a VBA script on all cells:cell.value = cell.Value * 1This right aligns all of them and Excel recognized...
View ArticleHow to hide text in certain cells from a script?
Windows 10, Google Sheets, LVL: Rookie.So I have a sheet, that is kinda like a scoreboard, the main purpose of it is to do scoreboard things, but that's irrelevant. Basically, for new people that use...
View ArticleHow to insert data from userform to a specific row with a specific value
I want to create a userform that can find the "Sales" value in column E and then input the remaining data to the same row.Set APAC = Sheet2 APAC.Activate Range("E18:E1888").Select For Each D In...
View ArticleWant to apply the code for sheet name 'Home' and 'Man' too
Private Sub Workbook_BeforeClose(Cancel As Boolean) Dim rg1 As Range, rg2 As Range Set rg1 = Sheets("Jersey").Range("E29:E49") Set rg2 = Sheets("Jersey").Range("D52:D53") If...
View ArticleDAX query to check match(Find or Search) of string segments listed in a table...
I need some help on something I expect to be a bit complex trying to identify if a column of strings contains segments of strings listed in two columns in another table. I got to the point where Find...
View ArticleTransfer data from one Sheet to Master [closed]
I have a social football stats collector which uses a master sheet that has all the players on it. - Each week a new sheet is created from a template via a macro with the game date as the sheet name. -...
View ArticleExcel: Get Data -> From Web
I i am gather information about stock prices. I am using Power Query in Excel to gather this information from the web page "https://www.investing.com/indices/omx-copenhagen-25-components". On this web...
View ArticleHow to eliminate rows with specific value in Excel using Python
This is the example of my datadf = pd.DataFrame([[1234567, 1234], [2345678, ddfd], [3456789, 3456], [4567890, hfsdf], [5678901, 5678], [6789012, 1256hg.], [7890123, dawt45]] columns=['ID_User',...
View ArticleCompare D Column from Sheet 1 with D Column in Sheet 2, when a match is...
I really need some help with VBA coding.I want to compare values in D Column from sheet 2 to D column in Sheet 1. When match is found, I want to look for values in the matched row in the column range...
View ArticleWhy do we specify the System.Reflection.Missing.Value?
xlWorkBook.SaveAs("C:\examples\employee.xls", Excel.XlFileFormat.xlWorkbookNormal, misValue, misValue, misValue, misValue, Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue,...
View ArticleobjProcess.Terminate not Found specific to iexplore.exe
When terminating internet explorer within VBA I'm using the following code sourced (more or less) from stackoverflow:Sub IE_Sledgehammer() Dim objWMI As Object, objProcess As Object, objProcesses As...
View ArticleMS Excel for permutations and combinations
I was try to create an excel spreadsheet in where there is 22 players list and create all the possible combinations for 11 players team.The conditions are as below:-Create a team by picking 11 players...
View ArticleHow to specify long body in the excel mailto formula in a CSV file?
Here is my CSV file:Email,Values "=HYPERLINK(CONCATENATE(""mailto:user@xyz.com?subject=X&body="", SUBSTITUTE(B2,CHAR(10),""%0d%0a"")), ""Send email"")","11231112311123111231 14562112311123111231...
View Article