How to move the responsibility of executing some logic to the SQL Server...
I have an Excel file that contains many columns like this :SKUBarCodeEnglishNameArabicNameCategorySubCategoryThe problem: the data of that Excel file should be persisted into the appropriate tables in...
View ArticleSUMPRODUCT Range
I'm trying to get SUMPRODUCT to sum a range of numbers for me based on 2 criteria to find the correct row, it works for picking out one value but not a...
View ArticleExcel Nesting IF in SumIfs
Ok. So i'm looking to nest IF in my SUMIFS formulas. The only problem i'm having is when one of my referenced cells show FALSE, the formula no longer works. How do i get the formula to completely...
View ArticleHow can I get the values from one column that match a given argument and put...
This is probably a simple task for most, but given the following example, how could I pull out the rows that have a value of greater than 0 and put them in another column without the cells that contain...
View ArticleOracle: ORA-12154: TNS issue: Excel 64-bit/Windows 10 64-bit
I'm under Windows 10 64-bit with Office 2016 64-bit.Just need to connect to an Oracle 11g (11.2.0) database using Excel (to use Power Query/ BI).First it was installed:Oracle Database 11g Release 2...
View ArticleExcel VBA function to remove letters at end of string
VBA experts,I'm looking to build a function which will remove last letters [A-Z] from a string variable.For example:Sub Example()Dim MyString() as string...ReDim Preserve MyString(3)MyString(1) =...
View ArticleLoad HDF5 in Excel?
Is there a way to load/import an HDF5 file (sometimes called H5, HD5, or Hierarchical Data Format) in to Excel? I do not want to export an intermediary CSV file, as ideally I would like to modify the...
View ArticleWhy is inserting an additional 10,000 rows 25 times faster than inserting the...
I have an empty Excel table with 34 columns and 1 row. I create a variant array with 34 columns and 10,000 rows of text containing random numbers. I copy the array into the table, it takes 37 seconds.I...
View ArticleExcel Pivot Chart: remove zero values
I have Pivot table with one Axis field (containing 13 elements 0-12) and two Values series. One of the series (A) has 13 values. The other series (B) has only 3 elements.When I make a pivot table, I'm...
View ArticleHow to export a macro-enabled Excel file to text so that two versions can be...
How can I export a macro-enabled Excel spreadsheet to text, so that two versions of it can be easily compared for changes to its logic? I want to include in a various text export:its VBA code,...
View ArticleError while loading excel file with Openpyxl
I am trying yo load an excel file using Openpyxl in Python. from openpyxl import load_workbook wb2 = load_workbook('Book1.xlsx') print wb2.get_sheet_names()It just these three lines. and it throws the...
View ArticleExport SQL data to Excel - Best possible approach?
I am currently working on an automation which requires to export sql results to excel data. I want to do this via SQL query. Few options i know are as below, but before i start exploring these things....
View ArticlePrinting faster in Excel
The print functionality of Excel (using VBA) is extremely slow. I'm hoping someone has a way of speeding the printing up (without using the Excel 4 Macro trick). Here's how I do it...
View ArticleCopy column's data from multiple excel files and paste it in new excel file
I want to copy a specific column from the excel files located in a folder and paste all the values in a new excel sheet.Completed-I am able to loop through all the files located in a folder.I am able...
View ArticleTest If A Pivot Field Is Showing on A Pivot Table VBA
I have a Pivot Table with a Report Filter field A, Column Labels field B and Row Labels field C.With VBA what is a simple way to check if these fields are showing on pivot table?
View ArticleImport data from multiple Excel files from certain cells
Daily I receive 3 Excel files via e-mail and I need file data on one workbook.The layout of each file is different.File names will have current date added.File 1 name is : BlankApp_yyyymmdd.xlsFile 2...
View ArticleAdjust number formatting in Excel via xlwings from python
I have started using xlwings to create an excel tool which calls a python code. I think it is super useful and at the same time user-friendly as everybody is used to have excel as GUI.Now to my...
View ArticleRun Python script using Excel VBA
I coded a Python script in which I write Excel values into a new text file. I run my Python script in Spider IDE.I want to run my Python script with an Excel button using VBA.On pressing the button it...
View ArticleExcel, maximum value based on date range
I have an Excel spreadsheet with two columns, the first with dates and the second with values. The dates span over several years. I want to write a function that retrieves the maximum value for each...
View ArticleExport To Excel from Asp Net Web API Controller
I am working on New web application which is Using Web API as Business Layer and Knock out Js as client side frame work to binding. I have a requirement like Pass the certain search criteria to Web API...
View Article