Excel Formula to sum 12 most recent cells
I have an Excel formula question that I was hoping you could help me with.Basically I have a set of numbers in the second row of my spreadsheet from A2 to CC2. However, as of now only A2 to BA2 are...
View ArticleHow to disable Cell Drag and Drop for a specific workbook?
I have a spreadsheet where users input information into column A that is used in formulas in column B. B1 uses the information in A1, B2 uses in the information in A2, etc.The sheet is "protected" to...
View ArticleExport excel or csv big row and dynamic column
I have excel data more than 5k rows and 17 columns, I use the nested loop technique in php, but this takes a long time, to process the data using the xls file format takes 45 minutes, while using the...
View ArticleVBA setting values to a column to the last row of another column
I am trying to make a VBA that gives certain columns a value up until the last row of the first column. This is my code:Sub Macro8() '' Macro8 Macro ' Dim sh As Worksheet, lastRow As Long Set sh =...
View ArticleHow to use cygwin perl v5.8.7 to support Spreadsheet/WriteExcel.pm
I create a test.pl file script code : #!/usr/bin/perl - use strict; use Spreadsheet::WriteExcel; open (TABFILE, 'a.txt') or die "a.txt: $!"; my $workbook = Spreadsheet::WriteExcel->new('tab.xlsx');...
View ArticleExcel VBA routine to wrap text and set row height
I have built a spreadsheet that at times requires to view "Notes" field so that all the text is visible, and sometimes so that all rows are the same height (15 works well). I wrote a routine called...
View ArticleVBA How to filter by range betweeen start date and end date located in a 2...
VBA How to filter by range "example" betweeen Saturday start date and Friday end date located in a 2 different and separate cells inserted by users, and filter it, in the end the VBA should count the...
View ArticleHow do I call upon checkboxes with groupname or tag?
Am creating a form in which the user will be able to select 4 checkboxes. Blue, Green, Yellow, Red. They have to do this atleast twice, up to 5 times in total. The Form ExampleThe first checkboxes are...
View ArticleUniversal VBA Word Count for Excel
I was trying to create a universal, error resistant VBA code that would count words in selected ranges as MS Word does. This below is the best I could do and I was hoping that somebody would have a...
View ArticleConditional Formatting C# AND Statement Blank not working
I'm trying to add conditional formatting to my VSTO Excel C# Application. I want to set the cell background colour to red if the column value in AH is the same as the column value in X and if X is not...
View Articlehow to combine sentences in several straight column cells based on dates in...
Consider the picture below. I have a list of transactions, and details of each transaction span several rows (see third column). Date is populated only on the first row of transaction, so if Date is...
View ArticleExcel VBA, getting range from an inactive sheet
This script works fine when I'm viewing the "Temp" sheet. But when I'm in another sheet then the copy command fails.. It gives a "Application-defined or object-defined...
View ArticlePython function to import filename and city name
Very new to python and trying my best to learn. I understand the concept of functions and they don;t seem complicated but for some reason I have the worst time with them.I have an excel spreadsheet I...
View ArticleHow can I add a thick bottom border to a range of rows when the cell value...
I have code that will insert a blank row when a cell value changes.How can I modify this to instead add a thick bottom border? The border would go from column A to column AB every time the value in...
View ArticleUsing Sqlbulkcopy to import Excel sheet with repeating columns
I have an excel sheet that I am trying to import which has columns that repeat multiple times as seen in the picture below. Example of spreadsheetI tried doing the column mappings by the string values...
View ArticleEPPlus Format Cell as "Accounting" Number
In Excel you can format numbers in the following format:I'd like to format a cell with this format in EPPlus, but I don't see that property available:I've looked a number of other formats, , but none...
View ArticleNeed help writing a formula for Excel [closed]
I'm fairly new to Excel and would basically like to write a formula that:If A1 has input, then C1 is No.But if A1 and B1 both have input, then C1 is Yes.
View ArticleWhy does nothing happen when I run this macro on excel VBA? Am I missing...
Sub Delete_Multiple_Rows() 'delete multiple rows (rows 2,3,4,5) [Worksheets("sheets 7"). Range ("2:5"). EntireRow. Delete] End Sub I am trying to delete rows 2-5
View ArticleExcel (upload excel file) to match the ID number automatically & search...
i want a macro which gave me option to upload my data and find the duplicate in specific folder where different excel file i already saved, and saved the result into master sheet so i check the report,...
View ArticleRun macro on change within target range | Change (ByVal Target As Range)
I'm working with the Worksheet_Change(ByVal Target As Range) event.I wanted to run a macro if either on of cells A1 or A2 are changed. So the target range is set to [A1, A2]Then, if A1 is changed, I...
View Article