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

VBA For Next Loop through a range

For the first row of my range data, everything works fine. When I execute "Next cell", it moves down to the second row of data, but the first value is from the second column of data.Example: data is...

View Article


Excel - Highlight cell which is closer and smaller to a specific value

I would like to highlight a cell which is the closest the a specific value but still lower (below) or equal according to a formula.For instance, if I have 14 in B4, I would like the cell 13 (or 14)...

View Article


Image may be NSFW.
Clik here to view.

Count over 2 dimensions

I am using excel 365.I want to get aggregated for each product how often it is used by the departments.I tried =COUNTIFS($B$2:$E$18;$I$2) on the times, however I do not know how to get the products?Any...

View Article

Trying to protect a workbook that has multiple users from users 2, 3, etc

I'm working on some VBA code that will automatically protect the workbook from users that access it after the first initial user. My department recently switched to a cloud based system and this code...

View Article

Dynamic date query in Power Query

I'm fairly new to power pivot / query / BI so please excuse my lack of understanding. Summary of what I'm doingI have access to an OLAP cube which I am choosing to connect to via Power Pivot Data Model...

View Article


Image may be NSFW.
Clik here to view.

Find exact substring in cell using excel formula

I have the string "L5+L6+L7+L10" in a cell, and then I have a column with the values L1, L2, ... , L10 on each cell. I need to know which of those values are contained in the main string but with an...

View Article

Create User and Course List from a Table

So I'm trying to create a loadsheet that uses two columns and enrolls users into specific courses that our clients specify. Right now, I've created a table that has the UserID in Column A, and then the...

View Article

VBA/Excel If statement is ignored (even if it is true), and Always executes Else

Any help will be greatly appreciated, as I am very new to VBA in Excel. I want to check column 1 for any matches with a TextBox. If there is a match update a few textboxes with worksheet data. If there...

View Article


RegExp vs IRegExp2: class name confusion

Example:Dim oRegEx As IRegExp2 Set oRegEx = New regexp Alternative:Dim oRegEx As regexp Set oRegEx = New regexp Both produce the same result, that is an object named "oRegEx" of type "RegExp/IRegExp2"...

View Article


Get Complete data on dropdown in web site with using macro

normally I use an excel chart to upload my data to website. but I realized that in time new additions can be added to a dropdown and unfortunately, i dont know is there anything added or not. So I want...

View Article

Image may be NSFW.
Clik here to view.

Perform an operation on multiple tables in a list

Trying to teach myself Power Query and can't get my head around this particular process.I understand there may be other, perhaps more efficient methods of attaining the desired result, but my purpose...

View Article

write vba to auto filter between two values giving error

I have written code as below to filter a percentage field between two different values coming from two different fields:Please find below:These two values are numbers and the filter column is...

View Article

Image may be NSFW.
Clik here to view.

Data from array to sheet

I have an array that plots data to a messagebox, how can I also have that same data on a different sheet?The data I am working with is a linear cable cut list. It looks at the total cable length and...

View Article


Date exportation from Excel to XML

I've been looking for an answer in this forum, but I couldn't find one. I need to export dates from an Excel to xml. When I do so, this happens. In the first picture I show how the Excel looks like:...

View Article

Save two specific worksheets in a new workbook without formulas but keeping...

I've got a workbook where I am creating a button that allows to save two specific sheets without formula's (the purpose being that the sheets are going to be send to partners and costumers). I would...

View Article


Excel VBA MACBOOK - Delimited Row Values to stacked 2-Column

I've been looking for an answer to this all over and found multiple solutions that don't work for my version of Excel for Mac (v16.33 2020) 1. Using Power Query which is not compatible 2. I followed...

View Article

Image may be NSFW.
Clik here to view.

Visual Basic for Applications Excel compile error: Value Not Defined

I am having an issue with a spreadsheet that has been working previously. When I click the "Add Sample" button (See image below) I get the Compile Error: Value Not Defined. In the Debugger it is shows...

View Article


Rename the same column for all excel files in a folder in R

I have multiple excel files in a folder, so I want to clean each file in the folder, then append all the excel files together. I want to rename the first column of all excel files so I am using the...

View Article

Array Formula showing same results

I'm having issues with my array formula showing the same result on all cells. I know it's a simple Index Match, but can someone help me with whats missing to have it return mutiple unique values? Most...

View Article

Overcome ADO Recordset 64 Characters limitation for Fields

I have some aphanumeric data in an Excel Sheet of a closed Excel Workbook named temp.xlsx. I am creating an ADODB Recordset via SQL query from VBA to pull this range into my current Workbook. The...

View Article
Browsing all 88854 articles
Browse latest View live


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