Find Data below Black Cell from Known Cell Below

Craig B

New Member
Joined
Apr 20, 2019
Messages
1
Hi,

Just looking for a solution if possible

I have a known cell but I would like to return a value of a cell above just below an Blank Cell
A1 Text 1
A2 Text 2
A3-A11 Data 1 to Data 9
A12 Blank Cell
A13 Required Data
A14 Text
A15-A22 Data 1 to Data 8

So A19 is Known but I need to find the Blank Cell (A12) and then return the value of A13 just below.

The only constant is the blank Cell in between each set of text and data.

Any help would be appreciated

Craig
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Run this macro:

Code:
Sub blackcell()
    For Each c In Range("A11", Range("A" & Rows.Count).End(xlUp))
        If c.Interior.ColorIndex = 1 Then
            MsgBox "Value below the black cell : " & c.Offset(1)
            Exit Sub
        End If
    Next
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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