AK_Excel_13
New Member
- Joined
- Jul 11, 2014
- Messages
- 30
The first column in my spreadsheet has four different types of values
"yes" , "no" , "see above" & "" (blank values)
I would like excel to look at the first column and find values that say "see above". Then I want it to look at the cells above it and copy the first "yes" or "no" that it finds and paste it in the "see above" see. I'm not sure how to do this because there are random blanks in between the "yes" "no" & the "see above" values.
Here is the code that I have so far.
Sub yes_no()
For i = 2 To 1000
If Cells(i, 1).Value = "see above" Then
Next i
End Sub
Thanks!
"yes" , "no" , "see above" & "" (blank values)
I would like excel to look at the first column and find values that say "see above". Then I want it to look at the cells above it and copy the first "yes" or "no" that it finds and paste it in the "see above" see. I'm not sure how to do this because there are random blanks in between the "yes" "no" & the "see above" values.
Here is the code that I have so far.
Sub yes_no()
For i = 2 To 1000
If Cells(i, 1).Value = "see above" Then
Next i
End Sub
Thanks!