Populate blank cells to midpoint with previous value

koamapping

New Member
Joined
Jan 23, 2013
Messages
15
Hello.
I've been using this forum for a decade and this is the first time I've needed to ask a question because there has always been an answer to my question.

Please help me figure out how to populate blank cells to the midpoint with the previous value i.e. I have semi random sample points taken throughout a storm and need to fill all the time between samples with the sample value. The tricky part is the sample value needs to only fill in to the mid point of the blank e.g. if the first gap is 30 minutes and the second gap is 15 minutes then the preceding value needs to populate down 15 minutes and the next value needs to populate up the column 15 minutes. The value that populated up the column 15 minutes also needs to populate down 8 minutes.

Column D in the screenshot shows the values and the gaps to be filled.

Any and all help is greatly appreciated.
 

Attachments

  • Flow-SedimentFill.jpg
    Flow-SedimentFill.jpg
    95.1 KB · Views: 6

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,215,140
Messages
6,123,266
Members
449,093
Latest member
Vincent Khandagale

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