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

CAML Query W/ AND Functions

I am trying to add another argument () to this CAML query and I have tried multiple variants but none of it seems to work. Not sure what I am missing. I have 4 arguments and it works perfectly - when I...

View Article


How to tell if a cell exists on another Google Sheet

I have 12 sheets in one Google Sheets document labeled for each month (January - December). On each sheet column A contains a project number, e.g. "6091". I'm trying to find a function that will check...

View Article


How to use XLWINGS to Copy Range and Paste Special Including All Formatting

What I am trying to achieve is to copy a range of cells in one workbook and paste it with the same formatting on the other workbook's specific tab. Formatting includes merged cells, borders, filling,...

View Article

Run SQL multiple times using input value from a sheet and generate graphs...

I am quite new to Excel VBA. I have to automate a report in Excel which plots Teradata System CPU graphs. I have been successful in connecting to Teradata database and run the SQL to plot the graph for...

View Article

How do I hide rows with duplicates between two excel files/workbooks?

I need help automating a daily task at work since I'm not a programmer. In short, I work with excel files and I am required to compare data between two workbooks for any duplicate values in any given...

View Article


Excel IF function with Datedif function nested is not working

I have an excel spreadsheet and I am trying to make a column that calculates the difference of days between 2 dates. If the difference is less than or equal to 45 days the 0.5 is added to that column....

View Article

Image may be NSFW.
Clik here to view.

C++ DLL, return VARIANT (SafeArray of BSTR) to VBA has Run Time Error 10:...

I have this problem for a long time, any help would be very appreciated! I am writing a C++ DLL used in VBA. While when I try to return a VARIANT (contain a SafeArry of BSTR) back to VBA and using this...

View Article

adding a summary sheet in every workbook

hi im trying to loop through all my workbooks in my folder and adding a summary sheet as the first sheet if there isn't one in the workbook, the problem is that instead of adding the summary sheet, it...

View Article


How can I store all cell values in VBA?

What I'm trying to do is copy an entire sheet into VBA as values. Instead of a copy/paste function, what I want to do is have the code write each cell value so that the original page copied from is not...

View Article


CSV UTF-8 vs Normal CSV in Excel

we have a CSV file that was creating validation errors in a process we run. The validation error made no sense as the error indicated didn't appear as the file was created exactly as instructed. I've...

View Article

Excel VBA AddField Method of PivotTable Class failed on macro

I'm trying to develop a macro for automated process of creating a PivotChart based on an access table exported into excel format. However everytime when i attempt to insert two page fields into the...

View Article

unable to cast COM object of type...

This is my first attempt to capture some data from excel from within one C# console application.I get the error "unable to cast COM object of type 'microsoft.Office.Interop.Excel.ApplicationClass' to...

View Article

Index and Match to find a row header that aligns with variable in specific...

I have been trying to solve this issue, but I need help:I want to lookup a percentile that matches a certain test score of a student in a certain grade, in a score table.So the known variables are...

View Article


How do I use the MONTH() function inside an IF/AND function in excel

I am trying to make a sheet where excel grabs the month from a date in a cell as well as the "type" from another cell if those results are true it returns a 1 and if not returns a 0. I also want it to...

View Article

How do I solve this linear equation with four variables?

I'm trying to replicate the excel's solver tool in python. I've a function that is:f(x) = x1 + x2 + x3 + x4 - K where K is a constant. I've to find the values of X so that sum(x) - K is zero. What I...

View Article


Image may be NSFW.
Clik here to view.

Count distinct values in excel with criteria on another column

I need a formula to count distinct IDs from a table, based on Point Of Sale name with a wildcard, eg I need to find all distinct IDs from the table below, titles of POS of which contain word "China*"....

View Article

Image may be NSFW.
Clik here to view.

Excel formula to show comma separate result

I need a formula to write back a sequence of numbers in a comma separated value in a single cell. In the example below the formula would look at column A and find the reference 1, then search columns B...

View Article


Scrape Exchange Rate from Website with Excel VBA

I am trying to scrape the exchange rate of the COP to the USD into Cell A1 of Sheet 1 in my Workbook. I need to pull rate from the following website:https://www.banrep.gov.co/When I inspect the element...

View Article

Correct Excel formula to check for same value between workbooks?

In Excel, how can I copy Row x from sheet A, and Row y from sheet B onto sheet C, if row x and row y have the same value in column F of both Sheet A and Sheet B? Without having to manually check...

View Article

Image may be NSFW.
Clik here to view.

I need VBA help setting the output range in a script to the table value...

So this is my first post here, and I hope someone can help me. I am trying to take the value of one column on a data table(CellValue column) and have it pasted "x"(URL # Column on same table) number of...

View Article
Browsing all 88029 articles
Browse latest View live


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