How to automatically fill in an average between two points . But only fill in the average when there is a blank cell

jwalkerack

Board Regular
Joined
Jun 19, 2013
Messages
81
Hi , i have some data that i am trying to extend

i have got to the stage where i can insert a new row between all of my data sets

i would now like to be able to fill in the average between the above and below cell.

So in the example below i have time and distance . In both columns i like to be able automatically fill in the average. Is this possible through a macro or formula to automatically do this? Thanks for reading and for your help .


Sorry just a last note , for example in the blank cell for A4 , i like it to calculate the average bewteen 30 and 50 so 30+50/2 = 40 . For the time it would be 40+10/2 = 25 . But i like to fill in the all the blank cells with data above and below

TimeDistance
3010
5040
70100
100170
150180

<tbody>
</tbody>
 
Last edited:

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Assuming that A1:B11 contains the data, try the following..

1) Select cells A3:B11

2) On the ribbon, select Home > Editing > Find & Select > Go To Special > Blanks > OK

3) Then do the following...

Press =

Press (

Press the Up Arrow

Press +

Press the Down Arrow

Press )

Press /

Press 2

Press the Ctrl key down, and while the key is pressed down, press the ENTER key.
 
Upvote 0
Wow , cheers mate . That is great ,that is exactly what i have been looking for thank you very much
 
Upvote 0

Forum statistics

Threads
1,215,032
Messages
6,122,772
Members
449,095
Latest member
m_smith_solihull

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