excel

Best possible combination sum of predefined numbers that smaller or equal NN

淺唱寂寞╮ 提交于 2021-02-20 15:28:51
问题 I have a list of lengths for pipes and I need fit these lengths within maximum allowed length for the best yield For example the max allowed length is 90 and the pieces I need to make are: 25, 60, 13, 48, 23, 29, 27, 22 For the best fit within 90 I'd have a group of these numbers: 60, 29 (89 total) 27, 25, 13, 23 (88 total) 48, 22 (70 total) I found this answer to similar question, but I don't know how to convert it to use in excel or javascript or php Any help would be appreciated. Thank you

Best possible combination sum of predefined numbers that smaller or equal NN

非 Y 不嫁゛ 提交于 2021-02-20 15:24:10
问题 I have a list of lengths for pipes and I need fit these lengths within maximum allowed length for the best yield For example the max allowed length is 90 and the pieces I need to make are: 25, 60, 13, 48, 23, 29, 27, 22 For the best fit within 90 I'd have a group of these numbers: 60, 29 (89 total) 27, 25, 13, 23 (88 total) 48, 22 (70 total) I found this answer to similar question, but I don't know how to convert it to use in excel or javascript or php Any help would be appreciated. Thank you

Best possible combination sum of predefined numbers that smaller or equal NN

℡╲_俬逩灬. 提交于 2021-02-20 15:18:23
问题 I have a list of lengths for pipes and I need fit these lengths within maximum allowed length for the best yield For example the max allowed length is 90 and the pieces I need to make are: 25, 60, 13, 48, 23, 29, 27, 22 For the best fit within 90 I'd have a group of these numbers: 60, 29 (89 total) 27, 25, 13, 23 (88 total) 48, 22 (70 total) I found this answer to similar question, but I don't know how to convert it to use in excel or javascript or php Any help would be appreciated. Thank you

This document must contain content type properties - Run time error - 2147216381(80041403)

点点圈 提交于 2021-02-20 04:30:07
问题 I save my file to the SharePoint folder(onedrive sync) using the following VBA code. Off late for some reasons not known to me the SharePoint properties are not displayed ActiveWorkbook.SaveAs fileName:=spath & e wherein spath is the SharePoint path and e is the filename. However, if a file is saved manually to the same folder then the properties appear. any help is appreciated For better understanding here is a screenshot of my query 回答1: If you cannot save the file directly to SharePoint,

Change drop down list items based on adjacent cell value in vba

假如想象 提交于 2021-02-20 04:29:08
问题 I have an excel sheet where I have a table with two columns and variable number of rows. Some of these rows will be filled and some empty. Column B contains some values and Column A has a drop down list in each cell. I want that if column B cell has some value then the adjacent column A cell should show 3 options in the drop down list - MODIFY, ADD, DELETE and when column B cell is empty then the adjacent column A cell should show only one option in its drop down list - ADD. Can it be done

Scrape with xmlhttp

╄→尐↘猪︶ㄣ 提交于 2021-02-20 03:50:41
问题 I would like to get data from https://www.goaloong.net/football/6in1 This page contains a table. I tried with: Sub REQUESTXML() Dim XMLHttpRequest As xmlHttp Dim HTMLDoc As New HTMLDocument Dim elem As Object Dim x As Long Set XMLHttpRequest = New MSXML2.xmlHttp XMLHttpRequest.Open "GET", "https://www.goaloong.net/football/6in1", False XMLHttpRequest.send While XMLHttpRequest.readyState = 200 DoEvents Wend Debug.Print XMLHttpRequest.responseText HTMLDoc.Body.innerHTML = XMLHttpRequest

Scrape with xmlhttp

老子叫甜甜 提交于 2021-02-20 03:50:21
问题 I would like to get data from https://www.goaloong.net/football/6in1 This page contains a table. I tried with: Sub REQUESTXML() Dim XMLHttpRequest As xmlHttp Dim HTMLDoc As New HTMLDocument Dim elem As Object Dim x As Long Set XMLHttpRequest = New MSXML2.xmlHttp XMLHttpRequest.Open "GET", "https://www.goaloong.net/football/6in1", False XMLHttpRequest.send While XMLHttpRequest.readyState = 200 DoEvents Wend Debug.Print XMLHttpRequest.responseText HTMLDoc.Body.innerHTML = XMLHttpRequest

How to replace a column name in Power Query by a variable to filter rows?

眉间皱痕 提交于 2021-02-20 03:40:21
问题 In a query developed with Excel Power Query I would like to replace the table column name with a variable, when I filter rows of a list. Unfortunately, I either get an error message (e.g. Expression Error: Column xx of table was not found) or no row is remaining after filtering even if it should. In the example below the variable #"Filter" (= column name) is set to column "B" and used in the step #"Filter Rows" to filter the rows which contain a '1'. But the result is that no row is shown.

Excel VBA Web Scraping Table Elements from a <frameset> and a <frame>

你。 提交于 2021-02-20 03:36:15
问题 I am trying to scrape some table-looking items from a website into Excel. I'm no stranger to coding in general, though I'm pretty new to VBA in an Excel sense :) I have tried using Excel's Data>From Web interface, it's not recognizing the table. I'm guessing it's because it's built using (or at least that's what my Google-Fu has lead me to understand). Snipping of what the second table looks like <html> <frame title="links" ...>...</frame> <frame title="queue"> #document <head>...</head>

Excel VBA Web Scraping Table Elements from a <frameset> and a <frame>

試著忘記壹切 提交于 2021-02-20 03:35:54
问题 I am trying to scrape some table-looking items from a website into Excel. I'm no stranger to coding in general, though I'm pretty new to VBA in an Excel sense :) I have tried using Excel's Data>From Web interface, it's not recognizing the table. I'm guessing it's because it's built using (or at least that's what my Google-Fu has lead me to understand). Snipping of what the second table looks like <html> <frame title="links" ...>...</frame> <frame title="queue"> #document <head>...</head>