Category "excel"

Preserving Data Groupings when writing to Worksheet using OpenPyxl

Disclaimer: I am a beginner-level, self-taught casual 'programmer' with Python. Background: I have a script that takes Groupings of data from an .xlsx Workbook

Copy data to another spreadsheet based off value stored in string

I have the below code for one of my financial reports and I'm struggling with updating the code to make it more automated. The code creates a string of the colu

Conditional branches of a function raise false circle reference errors

I have a big function with lots of branches of IFS; each branch uses different references of the worksheet: MYFUN = LAMBDA(i, IFS( i = 1, // a formu

Excel document lost all data

I was working on an Excel document and I used the key combination Alt+h+w to wrap a text paragraph, but for my surprise that makes disappear all my sheets and c

How to write a loop with openpyxl that allows me to copy a range many times below (watch photo)

I work in Finance and I'm pretty new to Python. I'd like to make a loop with openpyxl which copies the cell contents B2:B15 below in the same column. Ideally ma

Convert GET parameter to POST request body and extract specific JSON property

Background I am making a spreadsheet that refers to information security license registration provided by the Japanese government (https://riss.ipa.go.jp/). The

IcCube Excel Xmla opens one session (connection) per PivotTable

We have produced some Excel files using Xmla Pivot Tables against Iccube schemas. Everything is working well except the fact that we noticed : Each Pivot Table

extract a date from a cell containing text string in excel

For the Twelve Months Ending Thursday, June 30, 2016 I have the above text in excel and I need an excel formula to extract ONLY the date June 30, 2016. The for

Excel COUNTIFS checking for blank cells

I have a COUNTIFS functions that checks a few things. These include; Date Client Whether a certain range is blank The current function I have is this =COUNTIF

How to generate multiple json in vertical column in Excel VBA?

Using excel macro The first line is the json file name, and the second and subsequent columns are the values. With the first column as the key to the json obj

Comparing two rows according to specific string

So i've been trying to wrap my head around this for weeks now and have tried many things but nothing that works for my case, I have two sheets with "similar" St

How to write code to test a cell for specific data, and if that data is present, don't run the macro. If not present, then run macro?

I am trying to test a cell for specific data. If it contains that data, I do not want my code to run (because that would leave my worksheet and workbook Unprote

How do I get the source worksheet to become password protected after a copy is made by clicking an active x button?

The code below is activated from an active x button. The code will unprotect the active workbook and worksheet, make a copy of the active worksheet, place that

SSIS - Set SQL query result to variable for Excel connection string

I want to set connection string using SQL Query result from my table. I need to import excel file from certain folder every month but i need to import only late

Creating an Array from a Range in VBA

I'm having a seemingly basic problem but can't find any resources addressing it. Simply put, I just want to load the contents of a Range of cells (all one colu

Calculate Minimum by Ignoring NA for Non-Adjacent Cells in MS Excel

I have data (example as below) where I want to find a Minimum value for L and R but ignoring NA. I've tried to refer to https://superuser.com/questions/862279

Opening a file throws error: "Cannot find project or library"

I have an Excel file that uses VBA to calculate active ranges for a few sheets to make a .csv file to be picked up by a reporting server. Every once in a while,

Find row limit in the excel worksheet using c#

I have 12,00,000 records and have to generate an excel file. while generating I found the excel sheet was allow only 10,00,000+ records. while adding these reco

Spark : skip top rows with spark-excel

I have an excel file with damaged rows on the top (3 first rows) which needs to be skipped, I'm using spark-excel library to read the excel file, on their githu

Send by mail Excel sheet image

I have an Excel with an embedded image. How can I send it by mail using the name of the image? I do not want to send it attached, I want to embed it in the htm