Category "excel"

Save my WB based on another workbook name in VBA

I have a code which is doing following: Prompt to choose external workbook Copying all the data from that wb Pasting exactly 1:1 in main wb Close and Save fr

VBA Get Max of First Dimension of Array

I need to get the max of only the first dimension of the array. WorksheetFunction.Max(shifts_array) returns the maximum of all dimensions but I only need it of

How to split row into column base on the cell value in power query

I have the data as below: I would like to have an output as below: I can use VBA to solve this, but Appreciate to any suggestion solve by Power Query. Could y

Implementing an Excel nested function or VBA code for numbering a table

I need to write some VBA code which could give me the result in the "Sorted Numbering" column in the below picture: The logic for the sorting is that filter th

excel365 - Conditionally format rows based on two string values?

Excel noob here. Lets say I have a sheet. . A B C D 1 Adam 3 No No 2 Betty 13 Yes No 3 Chris 12 No Yes 4 Dave 0 Yes Yes 5 Emma 1 No I want to conditionally h

How to to specify a word plus a date in a cell?

I want to specify a word plus a date in a cell. Sub CurrentTestCell() With Range("i2") .Value = ("Test") And Date .NumberFormat = "mmmm yyyy" End

Why do VBA and Excel disagree on whether two cells are equal? [duplicate]

I am trying to compare two cells in a table: The column "MR" is calculated using the formula =ABS([@Value]-A1) to determine the moving range

How to scrape a data from a dynamic website containing Javascript using Python?

I am trying to scrape data from https://www.doordash.com/food-delivery/chicago-il-restaurants/ The idea is to scrape all the data regarding the different resta

Can Excel Worksheet Events be made to work like that of Google Translate?

I am writing a program in the Worksheet_SelectionChange event to better understand the worksheet events, how it is fired and such. My program takes the string i

Java Excel/POJO Mapping in POI

Java 8 here using Apache POI 4.1 to load Excel (XLSX) files into memory, and write lists of Java beans/POJOs back to new Excel files. To me, an Excel file (at

CountIFS with multiple ranges and multiple criteria

I want to count all the instances that "a" occurs in column a AND "b" occurs in both column b and c. This would be in a match up style. Essentially I am trying

VBA Replace Whitespace with Underscore for All Files in Folder

I have a script that loops through all the PDFs in a folder and attaches them to an email. However if there are spaces in the pdf names it will replaces this wi

Pandas: Writing Dataframe to an open Excel File

I am trying to call this python script from VBA in Excel with the click of a button, it will read the data but it will not write if the Excel file is open.. Eve

Pandas: Writing Dataframe to an open Excel File

I am trying to call this python script from VBA in Excel with the click of a button, it will read the data but it will not write if the Excel file is open.. Eve

Creating a checkbox in XLSX using Apache POI (Java)

I need to create an Excel checkbox in an XSSFSheet, but I have found no obvious classes/methods for doing so in the Java Apache POI library (4.0.1), nor any exa

Django - export excel make it faster with openpyxl

I am using Django restframework and I am trying to export excel. My issue is the process is take a lot of time till it generates the excel file. The final file

Excels Graphical Issue

So although Excel not being made to create programs in, I'm completing one. Rest of the workbook works great but facing an issue with a sub which I'm yet to fin

Paste Excel range in center of body of Outlook email

I copy a range and paste into Outlook email with signature. I want to reflect the range in center of body of email. Dim OutApp As Object Dim OutMail As Object D

How to collapse multiple rows of cell values in excel using powerquery

How can one collapse multiple rows of data such that it matches with its unique id. The data set is dynamically loaded from web. It is sorted by date so that ea

How to clear contents of clipboard?

In Excel sheet Products, in a table named Products I've example data. I want to copy the three leftmost columns to the clipboard, next save it's contents to fil