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

pandas add sql table, check if table exists

I have this piece of code that loops for excel files in a directory, add the file in a sqlite db . I managed to get past the exception raised if the table exists but I find this inelegant and...

View Article


Referencing another excel tab in VBA function

Once the VBA function conditionals are met, I want the function to execute the normal excel formula below:=SUMIF('Barclays - Interest'A:C, CONCATENATE(A1,"-",B1),'Barclays - Interest'C:C) Function...

View Article


Issue calling several times python scrpit from excel

I have an issue when I try to call a python script from excel, with a vba macro. I can execute the script just one time but if I try to execute it several times I have to close excel book a re-open it...

View Article

Use python extract images from Excel sheets

I found some Python2 code to extract images from Excel files.I have a very fundamental question: Where shall I specify the path of my target excel file?Or does it only work with an active opened Excel...

View Article

Image may be NSFW.
Clik here to view.

Excel - Working with Merged Cells Dynamically

Good afternoon, hope you're all doing well.Our Data Warehouse is exporting the data in kind of a weird format, using merged cells, which we have to clean weekly so we can work with it.In the screenshot...

View Article


Excel Hyperlink To Another Hyperlink On Another Sheet

Based upon a value in cell E138 on Sheet 1, I am trying to look up that value in a table on Sheet 2 and open the corresponding Hyperlink in the 7th column over which is a link to Sheet 3, Sheet 4...

View Article

Which is better to use for referencing single cells in excel: A1 or A:A / 1:1?

Is there a difference when using a cell reference and column / row reference when pointing to a single cell? Or is there a better way? Sample table below.I have been using column / row reference for...

View Article

Formula to look for a word within a sentence

Here is the Sample Google sheet file https://docs.google.com/spreadsheets/d/1B0CQyFeqxg2wgYHJpFxLIzw_8Pv067p0cwacWk0Nc4o/edit?usp=sharingI have an Excel Sheet where I need to find Arabic Words and...

View Article


How to copy a data row from column A to column B, between each data row

Troubles with formula, asking for a missing matrix Steps, I have tried to retrieve data from column B to column DKnow is telling that I insert insufficient argumentsGood afternoon,I have column B, with...

View Article


How to put todays date and time in excell cell

Within an Excel cell, I want to have the current (dynamic) date time printed.I tried with following format:TEXT(TODAY(); "ddmm");TEXT(TIME(HOUR(NOW());MINUTE(NOW());SECOND(NOW()));"mmss") The format...

View Article

Conditional is false, but code is executed anyway?

This is a long shot, but I could really use some ideas...I have a macro that works as follows:I grab a "start date" and "end date" from an input cell.I have an array that stores the name of various...

View Article

Need help optimizing sumproduct in VBA

I have the following code and i have not found a way to optimize it. Any suggestions?Range("K3").Value = [Sumproduct(((B:B)="Abierto")((A:A)>=(G3))((A:A)<=(eomonth(G3,0))))] Range("K4").Value =...

View Article

Get the fill color of a range of cells officejs

I'm new to office.js and making add ins and I'm trying to make an add in for Excel. I've run into an issue for one thing that seems like it should be very easy, but isn't. I'm just trying to get the...

View Article


Is there a way to create a loop that loops through a set of code then offsets...

I am new to VBA. I am trying to input values from multiple sheets into a "header" block that I have created on my master spreadsheet. I have multiple sheets with the same information but specific to...

View Article

Runtime error '28': Out of stack space in Excel VBA and Excel crashes

I am able to run the code and build a connection but when I am trying to insert data into a MySQL Database from Excel using VBA. It shows '28: Out of Stack space'I have a code and this is the data...

View Article


Is it possible to extend the length of an existing array based on values...

Let's say I have a couple arrays such as:array(0) = (a, b, d, e) array(1) = (c, e, g) array(2) = (a, c, f, g, h) Which all have some values in common.I want to extend the length of these arrays to look...

View Article

How to start at row offset from top of worksheet

I'm trying to report cells that are empty in columns A-F starting at row 4 to end of file (top 3 rows are title information).. Here is my procedure. The offset method is not valid. Also, how to do I...

View Article


Macro that checks if AD groups listed in xls column are in Active Directory

I have a xls that has a list of Active Directory groups in column A and I’m hoping to query each group to see if it exists by the same name in Active Directory. I've got a VB script that looks for a...

View Article

ComboBox Dependent filtering RowSource property error

I currently ran into an issue where I cant get the data in a ComboBox to filter correctly. I currently receive a Run-time error '380': Could not set the RowSource property. invalid property value.If i...

View Article

How do I append data from a data frame in R to an Excel sheet that already...

I have created dozens of data frames in R and would like to append them all to one sheet in an Excel file. Here are two of the pages I have looked at in an attempt to find an answer (I don't have 10...

View Article
Browsing all 88030 articles
Browse latest View live


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