How To Use Solver Add-in Then To Create Own Data Analysis Code

Nov 18, 2011

Is it easier to use the Solver Add-in than to create your own data analysis code? We are planning to design a scheduler for around 12 technicians in our contact center (doing phone support).

View 5 Replies


ADVERTISEMENT

Excel 2010 :: Using Solver / What-if Analysis For Multiple Objectives

Nov 10, 2013

I'm using Excel 2010 for Mac.

Here's my problem: I need to keep two values subject to two upper limits (i.e: value 1 < x, value 2 < y).

These two values are equations that are dependant on 3 variables. The relationship between these variables are not linear (i.e.: can't just plot a graph and mark where the lines cross).

Is there any computational method using Excel I can use that will give me the LOWEST value for the three variables in order for my target values to be under their upper limits?

View 1 Replies View Related

Data Analysis: Place Called Data Analysis Under Tools

Nov 22, 2006

in excel, is there a place called data analysis under tools? im an exchange student in sweden andthe work that teacher gave me is half swedish and half english.. im looking for histogram there.

View 3 Replies View Related

Create Trend Analysis Using Excel Tables?

May 24, 2014

I need to create some trend analysis for Vehicle sales. I have attached a file with sample data.

There are few problems i am facing like description has all the vehicle details which are not in any particular order, even if some how i manage to separate these then too many variables are not letting me come to any conclusion for example make, model, mileage, year of registration color of vehicle, auction sold, sale price, cap (bench mark for pricing).

what i need to produce is which auction sells certain vehicles best or which color of certain model sells best.

[URL]

View 1 Replies View Related

Creating Proper Constraints To Create Solver Model?

Apr 11, 2014

I want to take a shot at this spreadsheet exercise. Setup similar spreadsheet models.

Excel Exercise.xlsx

View 3 Replies View Related

Solver Automation VBA Code

Dec 31, 2008

I've done quite a bit of research in the past week or so on the topic of solver automation using loops; while there are a few good posts scattered around, i haven't quite found the solution to my problem.

i'm trying to run the solver on a few like-sized datasets contained in one worksheet. i've set up a loop to properly reference the 4 datasets. the solver constraints are in one column on the same worksheet.

the macro runs with no errors, but it doesn't "solve." the parameter cells retain their original values.

i should mention that my macro ran perfectly before i consolidated the 4 separate solver calls into one loop. I got tired of having to type 4 different constraint changes in the code as i was optimizing the solver.

on a similar topic, does anyone know how to call a variable in the FormulaText declaration? If i wanted to step through a defined array of constraints, say [1,2,3], how do i get FormulaText:= variable to work?

Sub Macrosolver()

Dim iteration As Long
Dim i As Integer
i = 8 'start in row 8 at first dataset

View 4 Replies View Related

Set Solver Reference In Code

Nov 23, 2006

my excel sheet runs through different cases (i=1 till i=20). For each case I need to use the solver. Since the whole programm works with references like this cells(10 + i, columnindex).value I tried this with the solver, too. e.g.: SolverOk SetCell:=Cells(20 + i, 46), ValueOf:="0.000001", ByChange:=Cells(20 + i, 47)

But it gives me not a right result as it would give me with a reference like
SolverOk SetCell:="$AT$21", ValueOf:="0.000001", ByChange:="$AU$21"
I tried difference referencing things with different types of brackets, wih range, etc. but I could not figure it out hwo it might works.

View 4 Replies View Related

Inventory Analysis By Prod. Code

Apr 3, 2007

Hi there, I would really appreciate the help with being able to enter a code and having Excel find a match. I have attached a simple example of what I aiming for.

View 7 Replies View Related

Understanding Code: Extend The Analysis

May 2, 2006

i need to extend the analysis but i have no idea what the 2 modules below do.

Sub mmm()
zonecode = Worksheets("sheet1"). Range("a65536").End(xlUp).Row
etypes = Worksheets("sheet1").Range("iv1").End(xlToLeft).Column
nextline = 2
For i = 2 To zonecodes
zcode = Worksheets("sheet1").Cells(i, 1).Value
For j = 2 To etypes
etype = Worksheets("sheet1").Cells(1, j).Value
enbr = Worksheets("sheet1").Cells(i, j).Value
Worksheets("sheet2").Cells(nextline, 1).Value = zcode
Worksheets("sheet2").Cells(nextline, 2).Value = etype
Worksheets("sheet2").Cells(nextline, 3).Value = enbr
nextline = nextline + 1
Next j
Next i
End Sub....................

View 2 Replies View Related

Solver With Code-Generated Model

Dec 14, 2009

Suppose that you have some data points and you want to fit a straight line to them. You write the line's equation in the cells ajacent to your data points, make the square of each difference, sum up all the squares and you have your objective function. Of course your line equation depends on two parameters, that you enter in two cells. Then you run the Excel Solver, enter your objective function as target cell to minimize, enter the range containing your parameters, set your constraints and off you go.
So far so good.

And now suppose that in order to generate your model data it is not enough to write a straight line equation in some cells, but rather to run a complete reactor model (contained in a macro). How do I couple that model-generating macro with the Excel Solver? Now, I actually found a solution. I wrote a Worksheet_change macro in the sheet containing the model parameters, which calls the model-generating code each time the parameters are chenged by the Excel Solver. This has worked fine for a simple example as the straight line one.

Now one of the two:.....

View 4 Replies View Related

Multiple Solver Constraints In Solver

Sep 10, 2006

I have a cell, D5, which is the sum of three other cells, A5 B5 and C5. (all currently empty). Cells A1 through C4 are filled with various numbers.

What I've been trying to do is use solver to say: Make D5 equal 200, do it by manipulating only A5 B5 and C5, and make it subject to the constraint that A5 must equal a value selected from A1:A4, and B5 must equal a value from B1:B4, and C5 ...etc. I have deliberately set it up so that there is only one solution.

I was doing fine until trying to create the constraints. How can I make a constraint that says "this cell" must equal "one of the following cells"? And if I can't do that, is there an alternate method of achieving the same result?

View 9 Replies View Related

Create Range List Code For Data Validation

Sep 29, 2007

I am using following code to apply data validation list. However this code gives error Intermittently. The error message is 'Application defined or Object defined error'. Also this code looks little cumber some. Will really apprciate if any one can put some ligh on why is this error appearing sometimes. Do I need to change something in the code or add few extra lines. I feel following points will be necessary when you check my code

1. The data of validation list is stored under the column heading 'Reported_By_List'
2. Validation is applied on the range under the column heading 'Reported Through'
3. Start and last Cell Address Of the cells of the column in which data of validation list is
stored are extracted into the variables 'StartCellAddress1' & 'LastCellAddress1 '
4. Start and last Cell Address Of the cells of the column on which data validation will be
applied are stored are extracted into the variables 'StartCellAddress2' &
'LastCellAddres2'

Sub Validation1()

Dim wsName As String
Dim RValue As String
Dim WorkBookName As String
Dim StartRow As Integer
Dim StartColumn As Integer
Dim LastRow As Integer
Dim CellAddress As String
Dim ColumnAddress As String
Application. ScreenUpdating = False
WorkBookName = ThisWorkbook.Name
wsName = ActiveSheet.Name...........

View 3 Replies View Related

Data Analysis With Macro

May 3, 2007

i want to run data analisys(Rank and percentile) on each row in my sheet and put the results on a new sheet
(the reuslts are 4 rows ) My problem is some how the command of the run analisysWon't run the command

kStop = . Cells(1, Columns.Count).End(xlToLeft).Column
Sheets.Add
ActiveSheet.Name = "Analisys_Results"
Sheets(" Total time data").Select
Var = 4
Var1 = 8
For ILoop = 1 To kStop
If (ILoop > 1) Then
Var = Var + 4
Var1 = Var + 4
End If.....................

View 4 Replies View Related

Monthly Analysis On Data

Sep 29, 2007

I am trying to do some analysis on montly bank account data. To do this I need to take the bank statement information for the month and put it into a table that shows every day of the month (see attached example).

I am currently doing this manually but I'm sure there must be a smarter way of doing this.

View 3 Replies View Related

Data Analysis In Pivot Table?

May 8, 2014

Data Analysis . I have 7 tables gathered in one spreadsheet but in seperate sheets. Tables have the same columns but different data baceause they come from different locations. Now I would like to create pivot table to combine data from all 7 tables. I read a little and I got to know that relationships is needed between the tables but I can't create it because I don't have unique data in the table. Usually tables consist repeating names, locations, some numerical data.

For example every table consists worker's name. I create pivot table from one of 7th starting from worker's name in row field and put some data in value field. Then I add another workers from another table. I can do it but when I put in row field I have workers from second table under those from first one. And of course data are badly calculated. I would like to have all workers in row field with proper data. It means one column with all workers from all 7 tables an then some their data

I know I can copy all of them into one big table and then create pivot table but this is solution what I wanted avoid. I know it will work but these data can change from time to time and it will be very hard to maintain spreadsheet. When data will change I will have to copy manually .Is there any solution to create such a pivot table from multiple tables sources but with the same column structures?

View 1 Replies View Related

Data Preparation For Statistical Analysis

Jul 8, 2014

For my thesis I collected data of football players. I have the data in an excel file, but it is unstructured. Due to the nature of the dataset, I don't want to sort it out by hand. The result should be that the dataset is ready for statistical analysis. I have three categories, namely; Player_Performance, Player_Profile and Transfer_History. I will discuss them now.

Player Performance
In this excel file the performance data of the player is gathered. As you can see, the player ID and the player name are a row above the performance data in different competitions. This data should be on the same row. Player ID, Name and then the performance data. How can I achieve this?

Player Profile
The player profile file is the easiest. I want to delete the double information. Some players are 2 times in the file. I want to delete every row which doesn't start with a player id. I also want to remove player id's which arent followed by player information.

Transfer History
The transfer history is the same as player performance. In the first row you will find the player id and name, and beneath are the different transfers. I want to put every transfer in a row of their own. The row should start with player id, then name and then the transfer. So it is possible that one player id will be on more rows.

In the attachment I put the files as they are and three files of how it should look like.

Player_Performance_SMALL.xlsx
Player_Performance14_EXAMPLE.xlsx
Player_Profile_EXAMPLE.xlsx
Player_Profile_SMALL.xlsx
Transfer_History_EXAMPLE.xlsx

View 1 Replies View Related

Analysis Of Dive Data Automate

Feb 11, 2010

I need to extract for each individual dive: Onset/start of dive (when the whale has completed its surface interval and begins its descent)

Rate of Descent (meters/second)

Onset/start of bottom phase (the whale has stopped descended and begins the "foraging" phase of the dive...not necessary the deepest point reached)

Number of lunges (you can see these if you plot the data. They are lunges at depth indicative of feeding behavior)
End of bottom phase (begins to ascend)
Rate of Ascent
End of Dive (surface intervals begins)
I've attached a brief sampling of the data in case you're curious.

Over the years I have identified these points through visual inspection of Excel charts. It's very easy, but extremely tedious and not at all efficient. I am interested in expediting this whole process and am more than willing to learn programming (i.e. visual basic or the like)...but only IF it is the best approach for this application.
I have attached two dives worth of data, so we can see what the data looks like. Each data set can contain from 1 to 8 hours worth of data.

View 14 Replies View Related

Data Analysis That Has Headers With Subheaders

Nov 20, 2009

I have student demographic data, then I have to track how each student did on each question, but each question also corresponds to a reading standard and I need to pull two pieces of info from that. How they scored on the assessment (# of answers correct), and if they missed a certain standard twice or more (There are 4 instances of StandardA in the test and they had wrong answers on 2 or more of them). I have the solution to the first part. I entered the results of each question as a 1 for correct and 2 for incorrect then did a countif and only counted the 1s. I am stumped on getting an analysis of how each student did on the indicators. Since the indicators can occur more than once, generating a pviot table doesn't work in this instance, it'll count of 1s and 2s for StandardA, StandardA2, StandardA3, etc. and not the counts of 1s and 2 for all instances of StandardA.

Example:

What I want:

For student Bob - Number of times he answered incorrectly StandardA, StandardB, StandardC, StandardD, etc.............

View 3 Replies View Related

VBA - Selects Data From Column Only For Analysis?

Sep 16, 2013

Each month we receive an updated budget which includes info for every month of the budget year. I want the user to be able to select the column (which relates to a month) that they want to use for the analysis. I will use the data in this column only for analysis. How can I do that?

View 3 Replies View Related

Efficient Layout Of Data For Analysis

Jul 16, 2009

the sheet is very long and monitors the sales activities of each individual every day extending vertically down the sheet until the present day.

my first priority was to get the information recorded but now i am wanting to use it.
how would an expert arrange this data to make analysis easier going forward?

ultimately i will be wanting to look at individuals, groups of individuals, certain types of activity etc within various time periods.

View 9 Replies View Related

Stock Market Data Analysis In Excel?

Mar 16, 2014

Below are the weekly closing prices for a stock market index. I'm looking to use conditional formatting to highlight in green "buy" signals and in red "sell" signals.

Buy Signal: If the index rises 4% above any previous low point.

Sell Signal: If the index falls 4% from any previous high point.

DateAdj Close
3/10/201472.16
3/3/201473.55
2/24/201472.83
2/18/201471.92
2/10/201471.43

[code].....

In the above example a Buy Signal is generated on 1/13/2014 because the market closes 4% above the low of 68.24 on 12/9/2013.

[URL]

View 4 Replies View Related

Incorporating Data Analysis: Regression Into A Macro

Apr 10, 2009

I'm trying to write a macro that will analyze data from one spreadsheet and do a regression. The information I want to be output on the same sheet. I tried to use the record function, but I got an error. It said "Run-time error '1004': ATPVBAEN.XLA could not be found. The code read:

View 2 Replies View Related

Data Is In Rows, Analysis Page In Columns

Jul 1, 2009

I am having issue setting up an analysis page for a report that I have. I am trying to find out for each individual what are the currently working on, completed, and the average time it took to complete. I have the data but it is in the following format:

NameStartedDone
Julie24-Jun27-Jun
Tom24-Jun
Julie24-Jun27-Jun
Julie24-Jun
Ken24-Jun27-Jun

The way I need the data appear with the name above with the data below as shown below.

JulieTom
Working11
Complete2-
Avg Time3-

I am having issue because the data isn't setup in a column format. Also the data list is constantly growing so I want it to be something that can update itself so I am not constantly updating the report.

View 10 Replies View Related

How To Transpose Data Across Worksheets Into One Analysis Sheet

Oct 20, 2013

I've used the following formula successfully to pull data from multiple sheets and provide the total on an analysis worksheet. Example of worksheets and formula.

=DSUM(INDIRECT("'"&A2&"'!D:D"),$B$1,INDIRECT("'"&A2&"'!D:D"))

Example of one of the individual sheets holding original data:
A
B
C
D

[Code].....

Example of what I want to see using the Transpose formula (Analysis sheet):

=TRANSPOSE(INDIRECT("'"&A2&"'!C:C"),$C$1,INDIRECT("'"&A2&"'!C:C")) (My theory that currently doesn't work. I'd like to be able to pull data across worksheets and yield the transposed data into the corresponding row of the same merchant row.

A
B
C
D

[Code].....

View 9 Replies View Related

Perform Data Analysis Using Automated Tools

Oct 4, 2006

i am preparing my self to enter the microsoft Excel 2003 Exam.....

one of the mentioned points in the preparation list is: (Perform data analysis using automated tools) how to use the automated tools? and if possiable to get a file that i can apply these tools on it

View 2 Replies View Related

Macro Code Create Pivot Table Based On Dynamic Source Data

Nov 28, 2006

The "Sum" sheet can change its number of rows. The pivot table is based on it. I'm having trouble with the SourceData portion of the code in my macro ....

View 9 Replies View Related

Data For Stocks - Analysis For Worst 12 Mths Performance Etc

Apr 16, 2006

I have a data base for a stock.

It goes like this:

Date Price
Date1 Price1
Date2 Price2

How can I do an analysis of the:

Worst 12mths performance (like how much is the maximum a stock drop in any rolling 12mths period)

best 12 mths performance

View 4 Replies View Related

Sensitivity Analysis Returning A Multiple On Percentage Data

Aug 2, 2008

I want to set up an automatic sensitivity analysis such as the one shown in example.doc attached, using my model that is attached (inventory model. zip). Going horizontally in the sensitivity analysis, I want to show 2H (3Q and 4Q) Sales Growth (30%, 35, 40,45,50,55,60%) and vertically I want to show 2Q Inventory Growth (50%, 55%, 60%, 65%, 70%, 75%, 80%) and I want the inside data to return sales/inventory spread ( multiple). Basically it would divide the dollar growth in sales in 2H by the dollar growth in inventory and return a multiple. Is it possible to set this up automatically using the data that I have here?

View 2 Replies View Related

Solver Solver To Calculate Through VBA

Jan 12, 2007

I have to use use the solver to calculate something (a mean-variance framework).

I am using the solver to minimize a cartain cell (variance) by making two cells equal through (expected return) by varying 10 cells( weights of assets), but I have to repeat this for 500+ times (for different expected returns).

Someone told me that I could best use some sort of loop through VBA. But I don't have a clue how that works.

View 13 Replies View Related

VBA Macro To Use Solver On User Selected Column Of Data?

Jul 24, 2014

I am trying to write this macro so that I can optimize 181 outputs based on 2 inputs (columns A and B are inputs). Each row has a single output at the end of the row that I am trying to minimize. I want to be able to select as many of the rows that I want and have the code optimize each individual row. So far I can't get it to let me use variable cell references for the "ByChange:="$A$3,$B$3"." This is the hang up that is not letting me increment the macro to the next row. The macro works currently for the single selected cell, but until I can vary the ByChange portion, I can't automate it.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved