Quantcast
Channel: Active questions tagged excel - Stack Overflow
Browsing all 88066 articles
Browse latest View live
↧

Programmatically Add Buttons to Sheet on WorkbookOpen

I'm attempting to load some buttons onto spreadsheets which include "Report" in the name using a script from a personal macro workbook. I've verified that the script is actually running with the...

View Article


Image may be NSFW.
Clik here to view.

Copy and paste rows based on keyword plus total row following VBA

I am fairly new to VBA and I am trying to write a macro that copies a row based on if a cell meets a criteria. I believe I found a macro that can accomplish that portion, the 2nd part is where I am...

View Article


Preserving column order in the pandas to_csv method

The to_csv method of pandas does not preserve the order of columns. It chooses to alphabetically arrange the columns in CSV. This is a bug and has been reported and is supposed to be corrected in...

View Article

assign a range to white cells (non color) excel

I have an attendance form. Cells A1-G1, which will get an X for present. I have it set up to calculate the attendance percentage. I also have it set up to change the calculation based on number of days...

View Article

Create exhaustive list from concatenated category values and category value...

Given an example table below:Category Value Category Value Count A 4 B 2 C 0 D 3 E 1 I need to create a list of concatenated text with the Category Value column and Category Value Count columns as...

View Article


Is there an easy way to bucket saved files with a case statement?

I'm trying to create code to examine a column of names. I want to bucket files into three categories (names that fall between A-G, H-P, Q-Z). I figure a case statement before I save off the file is the...

View Article

Integrate Excel VBA to Visual studio

I made a macro that runs by clicking a button inside the .xlsm file. But I would like to create a GUI for the same that runs as .exe file. What I hope that I can create a GUI from Visual Studio and I...

View Article

Image may be NSFW.
Clik here to view.

How to iterate over rows in a pandas dataframe and if the condition is met it...

I have a dataframe in which some columns are empty. I have a criteria in the if statement in which if some of the columns in each row are empty the whole row goes to the rejected datasheet starting...

View Article


Change Folder Save Location

When you open an existing spreadsheet, make changes, then click the "save as" button, the default folder for save is the folder from which the Excel file was launched. I want to change the folder save...

View Article


Excel Hlookup Function

Use the HLOOKUP function in cell H9 to calculate the product pricing based on the color and quantity of the billboards ordered. Product pricing can be referenced on the "Product Pricing" lookup table...

View Article

Search and update column data based on unique row value and if new value then...

I am creating a VBA macro which will compare unique values (in column A) from Master and child sheet. Both Master and Child sheets have same columns ID (column A), Closed_count (column B),...

View Article

Why isn't IF array formula resulting in an array?

I am using the following formula : ={IF(C6:C48="West","True","False")} on this Example SheetI write the standard IF formula and then I press [Ctrl-Shift-Enter].Shouldn't I expect as a result an array...

View Article

How to: Looping code for each excel row openpyxl?

I am using python, selenium, openpyxl in order to fill a form online. To fill the form I am taking values from specific cells on excel (.xlsx). With the following code I can insert to the online form...

View Article


IF Function to show two different answers depending on the Value in Cell?

Good evening all, I am trying to get the following formula correct, I have a table that will display an inspection date, if the date is entered I would like another cell to display that date but plus...

View Article

Vlookup max / min of multiple results

I have a list of values in EXCELX Y 5 3000 5 3200 5 2800 10 1600 10 2900 10 3500 15 1800 15 4500 I want to get the list of X without duplicates and corresponding MIN / MAX values Y. Something like this...

View Article


Image may be NSFW.
Clik here to view.

Making certain cells with an "X" turn green (edition in formula)

I have got this formula:...

View Article

Python convert csv to xlsx

In this post there is a Python example to convert from csv to xls.However, my file has more than 65536 rows so xls does not work. If I name the file xlsx it doesnt make a difference. Is there a Python...

View Article


Excel - Using COUNTIF/COUNTIFS across multiple sheets/same column

I am trying to "COUNT" the number of a certain object in column I (in this instance) across multiple sheets. That value in column I is the result of a formula (if it matters). So far I...

View Article

IF formula to compare a date with current date and return result

I'm looking for a formula which allows me to look at a cell and check if it greater than or equal to today's date and to return a worded result such as "overdue". If it is blank to return another word,...

View Article

Save worksheet to a new workbook with the same format and name from a...

I would like to save an entire worksheet to a new workbook, to have the same format, the name of the new workbook to be based on specific cell. I have the following code: Sub cautare_copiere() '1....

View Article
Browsing all 88066 articles
Browse latest View live