Using regex or excel, how to convert a date into a decimal?
I have an excel file with 200k rows. In one column, approx. 20% of the values show incorrect data. The problem: the values in the excel should be depicted, for instance, as '1.00' or '2.75'. The faulty...
View ArticleHyperlink Screen Tip
I'm using the code below to create a list of filenames from a given folder.Public Sub ListFilesInFolder(SourceFolder As Scripting.folder, IncludeSubfolders As Boolean) Dim fName As String Dim Lastrow...
View ArticleHow to copy specific value from SAP to excel sheet using excel VBA
As shown in figure, I want to copy the selected stock value of material in Excel sheet from SAP "MMBE" transaction.If some one could help with the excel VBA syntax to copy the highlighted value in the...
View ArticleData from array to sheet
I have an array that plots data to a messagebox, how can I also have that same data on a different sheet?The data I am working with is a linear cable cut list. It looks at the total cable length and...
View ArticleFiltering and display unique column pairs in Excel
Follow on from Excel Count unique value multiple columnsI am trying to filter and setup a table containing all the unique combinations of message types.So with three message types as an example below,...
View ArticleC# - OpenOfficeXML Date Format
I am having an issue when passing some data to an Excel spreadsheet, using OOX. Thing is, everything works great, except the dates, which are shown in a numeric value instead of the datetime format....
View ArticleExcel formula to total cells containing numbers in brackets without the text
I would like to know if there's an Excel formula to input into Cell B2 to total up the number of 'A' hours in Row 1?Thank you
View ArticleExcel vba - Format isn't copied to other cell
I got an excel file with an autoincrement on 1 cell, where the numberformat is "000".Worksheets("TEST").Range("M17").Value = Worksheets("TEST").Range("M17").Value + 1...
View ArticleHow to set validation for drop down in Excel using c# ClosedXML using method...
Hi All I am trying to create a dropdown list for a column in my excel using ClosedXML library. I am able to create it successfully using the below code. using (XLWorkbook wb = new XLWorkbook()) {...
View ArticleVBA. Deleting multiple cells in a row if one cell is blank
I have multiple columns in an excel sheet...say A1:D10. I want to find any blank cells in column C, delete that cell as well as the A,B, and D cells of that same row, then shift up. But only in the...
View ArticlePHPSpreadsheet incorrect date format code in ods and xls
I am trying to read spreadsheet documents using PHPSpreadsheet, I have a problem reading dates in the sheets, I want to read them in the way it is formatted, the dates are in YYYY-MM-DD format using...
View ArticleHow can I create a master list that auto updates with new information and...
Good day;I have a spreadsheet where I will be pasting data into every week with names of my clients and how much I have spent on them for incentives. I am wanting either a formula or macro that will...
View ArticleCan I export any image (logo) in excel from datatable?
I need to show a logo in excel exported file but Im not finding any example of that! Is there any way to do that?
View ArticleHow to remove decimals on whole numbers
In Excel for Mac, I need to remove the zeros and decimal point from whole numbers generated by a formula. The VBA code basically takes any fraction typed and applies the formula =FRACTION+1, so 5/2...
View ArticleCount only visible data after filtering
I need to add to the below code the ability to only count the visible data after filtering.I assume it is possibly .SpecialCells(xlCellTypeVisible) or similar after With Worksheet("calculations"), but...
View ArticleDelete Duplicated with Right function
I'm looking for a macro to delete duplicates in a column, regarding their last value e.g.DES_FFAs_556 asda_FRF_556 Because 556 is same, it should be deleted. right now im getting the last 4 digits of...
View ArticleOpenrefine: copy data from text facet into excel in readable way?
I am new to OpenRefine, I created a text facet for some data as shown here:, I would like to copy that info into excel in two columns one with the name of the data and another with the number, butI get...
View ArticleExcel VBA - Copy andpaste formula without incrementing
I have a number of formulas similar to this one:=MID('Sheet1'!O40,1,5) I'm trying to copy and paste this formula to a blank cell without incrementing the cell reference and updating the worksheet...
View ArticleVba Naming multiple sheets
I am trying to figure out how to solve this. I have a workbook with two sheet I need to copy to the end of the workbook. This is already working, however, I am trying to name the two sheet the same...
View ArticleOpen a Workbook with XLWINGS without making it visible
I am starting to use XLWings (not that I like Excel, at all, but it is something I HAVE TO do). The thing is that I cannot find the way to make Python open a Workbook without showing it.It seems the...
View Article