Hello all Im looking to see how I can extract cells with certain font ColorIndex.
I have the Following Macro
The formula i have tried did not work. in my example I'm trying to get all Names if the font color EList[[F1]:[F10] appears the 41 color index
any help is greatly appreciated.
Thanks,
I have the Following Macro
VBA Code:
Function GetFontColor(ByVal Target As Range) As Integer
GetFontColor = Target.Font.ColorIndex
End Function
The formula i have tried did not work. in my example I'm trying to get all Names if the font color EList[[F1]:[F10] appears the 41 color index
Excel Formula:
=INDEX(EList[LAST, FIRST],AGGREGATE(15,6,(ROW(EList[LAST, FIRST])-ROW(F2)+1)/(GetFontColor(EList[[F1]:[F10]])=41),ROWS(X15:X15)))
any help is greatly appreciated.
Thanks,