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

VBA Deleting records by iterating through ADODB Result Set

I am trying to loop through an ADODB resultset and delete the record if a condition is true. However, when I do this only the first field of the record is deleted the rest of the record remains.Any...

View Article


Image may be NSFW.
Clik here to view.

Calculate Which Score is Higher (Value) Based on Name (Text)

I am trying to develop a way to calculate my football head to head matchups for my football league to show which team plays the best against each other. A snapshot of my spreadsheet is below:Team names...

View Article


MS SQL round on whole numbers during inserting | VBA

I have created a table..."CREATE TABLE ImportantProcessParameters ([id] int PRIMARY KEY IDENTITY(1,1) NOT NULL,"& _ "[lot] varchar(19) NOT NULL UNIQUE,"& _ "[product] varchar(19) NOT...

View Article

How can i capture a tag value in Soap response in SoapUI, and write it in Excel

I have used POI to read from Excel, Now im trying to capture the response and write it back on Excel, here is the Code <AtomicWeight>1.00797</AtomicWeight> i want to take 1.00797 from...

View Article

how to run macro i recorded for entire column to another column without code?

in Excel I have 22000 rows with '0' formatted as text. I can select entire column and click 'convert to number'. but excel freezes for a long time. I found a way to do it simpler:insert 1 as a digit to...

View Article


Sum all every 1st row if 3rd row is not empty

https://i.imgur.com/JTDOYxO.pngIs there a way to get the sum of every first row when the 3rd row is not empty? I was going back and forth with SUMPRODUCT and SUMIFS but I really don't know much about...

View Article

Stop treating blanks as zeros

Is there a setting that tells Excel to stop treating blanks as zeros? I'm not looking for a workaround like =IsBlank() but a universal setting that shuts-down the blank->0 feature.

View Article

How to define dynamic cell range for excell sheet using java?

SheetConditionalFormatting sheetCF = sheet.getSheetConditionalFormatting(); ConditionalFormattingRule rule = sheetCF.createConditionalFormattingRule( "MOD(ROW() - 1, 1) = 0"); PatternFormatting fill =...

View Article


Java - Writing strings to a CSV file

I am trying to write data to a csv file with java, however when I try opening the produced file with excel I am getting an error saying the file is corrupt. Upon opening the file in notepad it looks to...

View Article


Image may be NSFW.
Clik here to view.

How to create table in excel based on some inputs and forecast some numbers,...

Hi I am trying to forecast the numbers for the forecasted portion as seen in the picture.There will be two inputs :Year - for each year after 2019, a new row will be added. Month - this will be the...

View Article

How to remove holidays from a range of dates Excel VBA

I have a list of dates in Column A (Sheet1) and I would like to delete the entire row that matches any of the holidays dates found in Sheet2. For example:Dates(Column A,Sheet1)23/12/2019 24/12/2019...

View Article

Creating folders, subfolder, another subfolder and saving custom file name...

I am trying to check to see if folder 1, 2, and 3 in a path are present. Ex: C:\Users\%USERNAME%\Documents\Folder 1\Folder 2\Folder 3\If they aren't present, it should create each folder and then save...

View Article

Excel Recalculation issue with passing object as UDF parameter

I have a custom UDF function sayHello(object input) which can take input as double/string/Range. It works great, but just putting another formula like =2+3 in another cell, triggers sayHello function....

View Article


Find the Begin and end Column Using Worksheetfunction INDEX MATCH LOOKUP

For m = 5 To Lastrow Cells(m, 46).Value = WorksheetFunction.Index(Range("J"& m & ":"& "V"& m), WorksheetFunction.Match(Range("J"& m & ":"& "V"& m), 0)) Cells(m,...

View Article

Exception in org.apache.poi

I was trying to write a program that it can read and write a .xlsx file, the code provided below is designed to be able to write its first excel program.package excel_reader; import...

View Article


Save Excel Export to File Location PHP

I am trying to get the code below to save to a file location on the server, can anyone help. Currently it just downloads via browser but i want to run a cron and save in a file location.<?php //...

View Article

VBA Macros – AutoFilter Method [closed]

I have to filter some dates using excel VBA code. like one excel file contains past and future dates. Daily activity, I have to filter past dates as well as current date then day after tomorrow.like...

View Article


Excel values in parentheses becoming negative values

A colleague and I encountered a behavior in Excel which isn't clear to us.Background: We have a tool which converts an Excel sheet into a table format. The tool calculates the formulas which are in...

View Article

Image may be NSFW.
Clik here to view.

Excel: How do I make 4 different columns with stacked values on the same graph?

I have 2 columns (Columns A and C) that I want to create with 3 different parts of data (Parts 1, 2, and 3) in them. This leads me to believe they should be stacked columns. I also have two columns D...

View Article

Save Excel file from existing base64 encoding

I have an existing base64 encoding of an Excel file from this xml file and I want to save that data (fileContent) to a physical excel file, but I am stuck doing it. I've seen some tutorials on how to...

View Article
Browsing all 88809 articles
Browse latest View live


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