Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

In Google Sheets, can you repeatedly autofill until next non-blank cell all at once? (previous value)

$
0
0

Basically, what I want to do is fill all of the blank cell in a column with the value of the previous non-blank cells. For example:

enter image description here

I was wondering if there was a way to do this without having to do the auto-fill individually for each set of cells with the same value, as I have a sheet that's thousands of entries long.

Update:I did not elaborate fully on what I'm looking to achieve, and I'm sorry for that.Here is a link to a test file:Test file

I have a script adding a new row each day, (not in the file). I want to have a array formula similar to:=ARRAYFORMULA(VLookup(Row(B2:B), {IF(B2:B="",,Row(B2:B)),B2:B},2,1))

Unfortunately, the above formula chooses the value from the above cell, not below. I hope I have clarified my desired achievement better now.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>