A solução que encontrei é utilizar o VBA e, condicionalmente, selecionar primeiro o intervalo e aplicar a formatação a esse intervalo. A solução do VoG aqui ajudou.
Sub formatDataBarRange()
' Build range only for cells labeled to be included
Dim LR As Long, i As Long, r As Range
LR = Range("G" & Rows.Count).End(xlUp).Row
For i = 1 To LR
If Range("B" & i).Value = "include" Then
If r Is Nothing Then
Set r = Range("A" & i)
Else
Set r = Union(r, Range("A" & i))
End If
End If
Next i
' Add data bar formatting
r.FormatConditions.AddDatabar
r.FormatConditions(r.FormatConditions.Count).ShowValue = True
r.FormatConditions(r.FormatConditions.Count).SetFirstPriority
With r.FormatConditions(1)
.MinPoint.Modify newtype:=xlConditionValueAutomaticMin
.MaxPoint.Modify newtype:=xlConditionValueAutomaticMax
End With
With r.FormatConditions(1).BarColor
.Color = 2668287
.TintAndShade = 0
End With
r.FormatConditions(1).BarFillType = xlDataBarFillSolid
r.FormatConditions(1).Direction = xlContext
r.FormatConditions(1).NegativeBarFormat.ColorType = xlDataBarColor
r.FormatConditions(1).BarBorder.Type = xlDataBarBorderNone
r.FormatConditions(1).AxisPosition = xlDataBarAxisAutomatic
With r.FormatConditions(1).AxisColor
.Color = 0
.TintAndShade = 0
End With
With r.FormatConditions(1).NegativeBarFormat.Color
.Color = 255
.TintAndShade = 0
End With
End Sub