Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 109032

Microsoft Excel is a commercial spreadsheet application written and distributed by Microsoft.

1 vote
1 answer
97 views

Lots of different operations on workbooks in Excel

I have lots of workbooks on a given format. The workbooks explain a series of certain objects. I don't want to reveal exactly what this is, so I'll refer to it as just an "Item". I need to do the foll …
Stewie Griffin's user avatar
2 votes
1 answer
152 views

Summarize raw data in new sheet

I have an Excel workbook with two sheets: "Raw data" and "Summary". … I want to create a list of words ("Knife", "Fork" .. ) and write it to Excel in one command. The way I'm doing it now is to manually write each item name. …
Stewie Griffin's user avatar
7 votes
3 answers
328 views

Summarize raw data in new sheet, 2.0

This is a follow up question: I have an Excel workbook with two sheets: "Raw data" and "Summary". … I want to create a list of words ("Knife", "Fork" .. ) and write it to Excel in one command. The way I'm doing it now is to manually write each item name. …
Stewie Griffin's user avatar
10 votes
4 answers
3k views

Create a list of random numbers with sum = n

I want to create a list of random integers in the range [0, 9], that sums up to 100 in Excel, using VBA. The list should be printed in a single column. … Should I delete the (100-i) last elements of the list somehow, before writing it to Excel? How and why? Is the last line a good way of writing to Excel, or is there a better way? …
Stewie Griffin's user avatar
3 votes
3 answers
6k views

Change filename of Excel-files based on the content of a cell

I have hundreds of Excel-sheets looking something like this: I can't use the actual sheet, and not the exact document numbers, since they are confidential. … files are something like 2301 Item 1.xlsx 2014 Item 2.xlsx 5321 Item 3.xlsx 3212 Item 200.xlsx I want to change the names of these files, based on the document name that's given in cell C5 in each Excel-sheet …
Stewie Griffin's user avatar
4 votes
1 answer
6k views

Duplicating Excel-workbook, and transferring data

This is a follow up to the simpler question here. I have hundreds of files looking something like this: These files have names such as: 2301 Item 1.xlsx 2014 Item 2.xlsx 5321 Item 3.xlsx 3212 Ite …
Stewie Griffin's user avatar
4 votes
2 answers
2k views

Processing simulation data from power flow analysis

Can I simplify the way I'm creating datasheets and writing to Excel? Do I use enumerate as it should be used in the last 3 rows? Izero_3 is a np.array. … nodes_to] branch_string = [nodes_from_string[x] +'-' +nodes_to_string[x] for x in range(0, len(nodes_from))] #============================================================================== # Create Excel-file …
Stewie Griffin's user avatar