JumboCactuar
Well-known Member
- Joined
- Nov 16, 2016
- Messages
- 788
- Office Version
- 365
- Platform
- Windows
Hi,
having trouble with this one
basically i have a column (J) of cells with the following formula
and i want to write values into all the cells that are blank
something like:
ive tried
if r = 0
if len(r) = 0
if isblank(r)
no luck
any help appreciated
having trouble with this one
basically i have a column (J) of cells with the following formula
Code:
=IFERROR(INDEX(B2:$B$10000,MATCH(I2,F2:$F$10000,0)),"")
and i want to write values into all the cells that are blank
something like:
Code:
Sub test()
Dim r As Range
For Each r In Range("J2:J10000")
If r = "" and r.Offset(0, -1).value < 10 then
r = r.Offset(0, -1).value + 10
End If
Next
End Sub
ive tried
if r = 0
if len(r) = 0
if isblank(r)
no luck
any help appreciated
Last edited: