VBA coding- generate a series of column data

L

Legacy 384751

Guest
Hello everyone,

I am in need of your experts' assistance to teach me how to use the VBA program efficiently. Currently, I am trying to create a simple hydrograph with a specific condition: time of peak will be at the 1/4 of total time. My base data will be the USGS Dimensionless Unit Hydrograph, fyi.

My question on here is, I am trying to program a code so that I can automatically generate a column of data with a specific condition. I would like to create a series of discharge data by entering in one variable (peak flow value). In doing so, the peak value will automatically position itself at the 1/4 of total time, while the rising limb and falling limb will follow the shape of USGS Unit Hydrograph (+ skewed bell curve). I am assuming this is an interpolation programming, but I am just not knowledgeable enough about programming to even know where to begin programming this condition...

Hope this explains what my intention is here! Looking forward to hear back from anyone who can help me out !


I really appreciate the help.


Best regards,
Dan
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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