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

delete rows if there are 2 consecutive empty rows

what i want to do is to delete rows if there are 2 consecutive empty rows and also to have the empty rows between the header and the first set of data row to be deleted as well.This is my original...

View Article


Excel VBA Compile Error:Sub or Function not defined

this is my code and it keeps getting sub or function not defined error, im pretty sure its a simple fix but i just can't find the solution, big thanks to anyone who offers any help....

View Article


Image may be NSFW.
Clik here to view.

I want sum of time divide by sum of people of the top two weights in one formula

I want sum of time divide by sum of people of the top two weights in one formula. The result should give me 0.7857142857. e.g. The formula should pick up the biggest two weights (30% and 40% of Row A)....

View Article

Button mispositioned

I am having a problem with positioning a button within cell. The button is not positioned correctly.Public Sub TableDisplayButton() Dim cr As Range, cr2 As Range With...

View Article

How can I set a worksheet object based on a worksheet's codename?

The worksheet name may change. Because of that I want to set the worksheet object based on the worksheet's codename. How can I do this?My best attempt so far is:Sub UpdateNameDropdown() Dim wksName As...

View Article


Unable to find row no. of cell containing special character along with...

I have written below code to get row no. from the range("C:C") wherein I find matching value/text as that in cells(3,3). This code works fine as long as cells(3,3) has either pure no. or pure text. But...

View Article

setting column to num format text instead of general python 3

I was able to change the header to text as the columns but I'm getting a strange error.Now it still returns NaN but if I got in and manually highlight column B (the vendor name in text) and change the...

View Article

Image may be NSFW.
Clik here to view.

Listing unique values formula taking a long time to process

I have a formula from a previous question that's working fine. It lists the unique values of dynamic column A to column B, starting from B2. Often Column A has several thousand values, then the...

View Article


Find 2nd Largest Value Based on Another Column

I have a list of emails. There can be duplicates or more of the same email. There is another column with dates. I'm wondering if there is a way to create another column indicating which is the 2nd...

View Article


How to write dataframe below an existing Excel sheet without losing value of...

I am using openpyxl module to append pandas dataframe below an existing excel sheet. But problem is my pivot table is getting destroyed while doing this task. I have tried many ways to find the...

View Article

Tableau is adding numbers that appear more than once. How can i fix this?

I am working with a data set that has numbers that appear more than once and Tableau is automatically adding them together. For exanple, the numbers 45 and 50 appears twice in my data set so when i try...

View Article

Texbox to setup google chrome path?

I have a commandbutton, when clicked, it opens google. Here is the code I am using. Private Sub CommandButton1_Click() Dim chromePath As String chromePath = """C:\Program...

View Article

Simple Visual basic If for images

I think it's too easy, but I'm just new in visual basic and I'm having problems solving this.If a1 => 1 then in b1 show green.jpgIf a1 = 0 then in b1 show red.jpgImage.FromFile, LoadPicture? How do...

View Article


using a variable in an R1C1 formula

This formula works: ActiveCell.FormulaR1C1 = "=SUM(R[-14]C:R[-1]C)" it returns =sum(c1:c14)This formula does not work: ActiveCell.FormulaR1C1 = "=SUM(R[-"& nrows & "]C:R[-1]C)" It returns...

View Article

VBA Searching and extracting specifc line from mulitple files in folder

so i have this code right here that loops through a folder and the files inside, it is able to extract specified ranges e.g A18, however not all of the information i want to extract is in fixed...

View Article


Is there any way of putting filter in excel using xlwings in Python?

I am working on an Excel which has some items in column A and their cost in column B. Out of this extensive list of items and their cost, i want to copy only some of the items with cost in new excel....

View Article

Image may be NSFW.
Clik here to view.

How to set cell format always in negative in specific column?

I would like to make a simple tracking sheet for onhand stock Qty. Column F is the actual stock Qty will sum up all row cell value. the column incl. "export" (e.g. column H & J.) should be a...

View Article


how to count number of sheet excel in node js

I have an excel file, how can I count total of sheets in that file use node js ?I use the xlsx library, but in the documentation I did not find to see the total sheets in the file excel

View Article

Image may be NSFW.
Clik here to view.

VBA split filename into different rows

i have this string right here in Col E or my worksheet, may i know how i can extract "01" and "201912032345000" out into Row F and Row G respectively?For "2019120324500", i hope to add a space in...

View Article

Password Protection for Exported Data from Google Sheet

I saved my data Google Sheet, I can limit access to this data with Sharing feature available at all Google Docs (Sheet). Is there any solution for me to protect exported document from Google Docs (and...

View Article
Browsing all 88835 articles
Browse latest View live


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