I need help designing a macro that helps calculate prices of commodities.
- or -
Post a project like this3577
$40
- Posted:
- Proposals: 8
- Remote
- #509881
- Awarded
PPH #1 Service Provider in Development & IT : Wordpress|Magento|React Native|Mobile App Development|Angular|Node.js
Mohali
64864650666128342195397473174510090621271688483
Description
Experience Level: Intermediate
Estimated project duration: less than 1 week
I am trying to eventually create a Macro that spits out the price of a commodity given certain inputs. These inputs include the starting date; ending date; whether its peak, off peak, or ATC (which is a weighted average of the peak and off peak); and the region. I have the prices for each region during each month of each year along with the corresponding hours (needed to weight the prices with sum-product). The only thing I could think of was to use sumproduct and Vlookup, which looked liked this:
One example is"
Region: JPM
Date Start: F'16
Date End: K'16
Prices for Peak
F'16-2.95
G'16-3
H'16-3.2
J'16-3.1
K'16-3.05
Hours for Peak:
F'16-352
G'16-320
H'16-370
J'16-368
K'16-336
My goal is to be able to put it the start date, the end date, the region, whether its off peak, peak, or ATC, and for it to be able to spit out the price. Done one problem at time, the example above would be calculated using Sumproduct=((F'16 (2.95):K'16(3.05), F'16 (352):K'16(336))/(F'16 (352):K'16(336)
I need to make a macro that has all of these options as a drop down where after everything is selected, the price is outputted.
One example is"
Region: JPM
Date Start: F'16
Date End: K'16
Prices for Peak
F'16-2.95
G'16-3
H'16-3.2
J'16-3.1
K'16-3.05
Hours for Peak:
F'16-352
G'16-320
H'16-370
J'16-368
K'16-336
My goal is to be able to put it the start date, the end date, the region, whether its off peak, peak, or ATC, and for it to be able to spit out the price. Done one problem at time, the example above would be calculated using Sumproduct=((F'16 (2.95):K'16(3.05), F'16 (352):K'16(336))/(F'16 (352):K'16(336)
I need to make a macro that has all of these options as a drop down where after everything is selected, the price is outputted.
Jason S.
100% (3)Projects Completed
4
Freelancers worked with
3
Projects awarded
20%
Last project
3 Nov 2018
United States
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies