Integrating VBA to Solver

Status
Not open for further replies.

panyagak

Active Member
Joined
Feb 24, 2017
Messages
299
hi

I need to solve this formula using Solver and vba.

Pi = Ni^k (power k)

Applied to this example:
1.51 3.69 5.30 (in columns D2, E2, F2 respectively)

Where
Ni represents (1/1.51), (1/3.69),(1/ 5.30), individually .

There are 2 competitors, n.

N = Sum of the 3 Ni(s)

k is derived as:
Log n / Log(n/N).

k is the SUBJECT
OF ITERATION to ENSURE
SUMMATION OF THE DERIVED 3 Pi=1.00.

Maximum iterations=100.

Am new to using Solver and integrating vba to it to a large Range of cells, say D2:F850

help out

regards
 
Last edited:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Duplicate VBA Iterator

Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread.
Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,215,517
Messages
6,125,290
Members
449,218
Latest member
Excel Master

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top