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

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
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,224,828
Messages
6,181,206
Members
453,022
Latest member
RobertV1609

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