Quantcast
Channel: Active questions tagged excel - Stack Overflow
↧

Image may be NSFW.
Clik here to view.

Sorter or finder

I have excel table see below.On the left side, the product is sorted by data that I took from another sheet and sorted. There's the product code, description, category, actual location where the...

View Article


How to remove the apostrophe from a string in VBA

I am trying to remove the apostrophe that excel place automatically at the beginning of a string, I wrote the code here below to delete the apostrophe. The code detects the char (') but did not delete...

View Article


UNIQUE and FILTER formulas cannot be used as a named formula and/or data...

I'm afraid I already know the answer, but I just want to make this completely clear. In my case, I have a Table16 with some columns. If I enter the following formula:UNIQUE(FILTER(Table16[type];...

View Article

How to write a formula to display a message in column when checking if text...

To explain, I am creating an employee contract placement tracker in excel for desktop.I have the following columns - Nurse Name, Overlap, Region, Site, ID, Start Date, End Date, Submitted Date, Status,...

View Article

AttributeError: 'NoneType' object has no attribute 'Worksheets' in python...

def messageToCal(path, calculatorName,argList, eventName, fucName,PCBName): # location of LED calculator loc = path+calculatorName #print loc # open excel, run macro called "external_Run" with argList...

View Article


Skip the first occurence of a vlookup

I'm trying to do conditional formatting with a vlookup. The problem is that I don't know how to skip the first occurrence of the vlookup if the value that the vlookup is not the one that I want. For...

View Article

Weird problem when creating a Map Chart using Bing Maps Services

When you run the following macros, you will see that only Macro4 does not produce a proper Map Chart.Do you know why?This is Macro1. Sub Macro1()'Add a sheet Sheets.Add After:=Sheets(Sheets.Count)'Add...

View Article

Image may be NSFW.
Clik here to view.

VBA vbscript regular expressions crashes

I have a complex VBA project which I have used for ten or fifteen years with no issues. All of sudden, today it started to crash with a non-VBA error message. I am guessing this is referring to the...

View Article


Copy various cells to another sheet when condition met

I'm trying to copy specified cells from a row to another sheet when a condition is met.For example, the datasheet called sheet7 contains data range (A4 to AF40).My condition is rows that meet Column E...

View Article


Read txt file line by line and save each line to a new Excel worksheet

I have a .txt file, which contains several rows (> 1000). I want to read this file line by line and copy them every time to a new Excel worksheet (cell A1).Each row of the .txt file contains an...

View Article

How to access an image placed in a cell with VBA? (Microsoft 365 "Place in...

I am using the new "Place in Cell" feature in Excel for Microsoft 365, which allows an image to be treated as the actual value of a cell. I need to programmatically access this image using VBA to...

View Article

Count of Non Formula Cells in a column

lets say you had formulas in each cell between A1 & A9 but A10 had a hard coded number. Within VBA is there a formula you could enter in A11 that would give you the number 1 due to one record in...

View Article

Image may be NSFW.
Clik here to view.

Excel Formula Sumif going through 3rd table

Need formula to list total sales by Region without changing the master or data lists/ tables. Have 3 lists.Required report. Sales by Region.xRef. Section to Region. Each Section is assigned to only 1...

View Article


How do I find a cell that has a specific value from an existing list?

Using Excel 2019, I have a sheet with two columns where the first will have an Order ID and the second will have a list of products purchased on that order. Out of all the products that could show up...

View Article

Pop up box to select data to copy

I need to open a CSV file (semicolonseparated.txt), where the user can type a number to put in sheet (in A1) containing data from (semicolonseparated.txt) a range (A2:i2) to copy to the memory for the...

View Article


Image may be NSFW.
Clik here to view.

How to replicate error bar chart in excel [closed]

I have the following excel sheet under this LinkI'm trying to recreate this chart in image attached below using my data in excel. I'm a bit unsure how to create a combined chart with error bars and...

View Article

Image may be NSFW.
Clik here to view.

Rewrite COUNTIFS for dynamic array criteria

I want to get the count of names with diagnosis 2 and drug A or any combination of the two from the data set, but the criteria column is a mix of different criteria. I know that what I basically need...

View Article


How to get all members from GAL "ExchangeUser.Department" using VBA

I'm looking for a way of getting all members of a specified department like the advanced search function on the Outlook address list using VBA.The function I would like to replicateThe code below (for...

View Article

VBA RightClick on a selected region

I am writing code in VBA for excel. I selected an area - let's say it is A1:E1. Now I am rightclicking in this selected area. Is there a way that VBA recognizes in which particular cell I...

View Article

two days before Previousday dax

I have added a measure to calculate difference to yesterday's figures howeverwhen it is Monday's figure it returns blank instead of comparing against Friday's figure.Is there a way of asking sales...

View Article

See if any values in array exist in a column (excel)

I have an array of 30 columns and 800 rows (Sheet 1), each cell has either text or is blank. I want to check if ANY values in this array (specificially row by row) exist in a column (Custody List...

View Article


Keep Excel scrollbars non-visible

I turned off all of the elements when opening Excel. It makes it look like an application.I have a button that opens a User Form. An apparent side-effect of that process is that the scroll bars...

View Article


Unzipping a password protected zip file and extracting files using Excel VBA

I am trying to automate unzipping a zip file and extracting the files to a new folder location. I have scoured a bunch of sources and found code that will unzip the folder but it won't actually remove...

View Article

CellType cannot be resolved to a variable setCellType error Apache POI - Java

I was reading the Apache poi guide: https://poi.apache.org/spreadsheet/quick-guide.htmlAnd I decided to follow along and type the code into my Eclipse project, and while writing the "Reading and...

View Article

Getting Error while running the code in excel VBA [duplicate]

I wrote below code on userform save buttonDim eerr As LongOn Error GoTo eSheet22.Activateeerr = WorksheetFunction.CountA(Range("A:A")) + 1Cells(eerr, 1).Value = UserForm1.ComboBox13.Column(0)...

View Article


Editing Excel with ExcelJS

How do you edit a specific cell in an excel file using JavaScript?I am trying to do it using ExcelJS but having a hard time in writing to my excel file.

View Article

Expand records for each month between two dates

I have a few members lists for donations for a campaign. Individual members will to contribute for a duration.Here is an example:IDNameDonation AmountDonation Start DateDonation End DateStatus1Name...

View Article

Extracting all Number/Letter Code (C2, H3, W1 etc) from a text cell in Excel

I have an Excel list with course names and their number like this:V3 Varikosis MasterclassB3 Botulinumtoxin Premiumkurs, H2 M1 Mykologie Basiskurs [Digital], D1 Dermatoskopie Basiskurs [Digital]B5 BTX...

View Article

Image may be NSFW.
Clik here to view.

Create EXCEL from html table using C#

I am trying to create an excel sheet for shipping products using C# and HTML table. The image shown below is my HTML as it looks in the browser. What I am trying to do it to take this table and shove...

View Article



Write the value from another cell to another cell

I'm relatively new to this.I want to change the path of a file.Example: I want to add the value written as A1 to the end of the file path as A2. How can I do this? I prepared the following code using...

View Article


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>