Bird
0
0
PCB Designbi_tool~10 mins

Via stitching for ground planes in PCB Design - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This data represents the positions and sizes of vias used to stitch the ground plane on a PCB. Each row shows a via's layer, X and Y coordinates, diameter, and spacing between vias.

CellValue
A1Layer
B1X (mm)
C1Y (mm)
D1Via Diameter (mm)
E1Spacing (mm)
A2GND Plane
B210
C210
D20.5
E25
A3GND Plane
B315
C310
D30.5
E35
A4GND Plane
B420
C410
D40.5
E45
Formula Trace
COUNTROWS(FILTER(Vias, Vias[Layer] = "GND Plane" && Vias[Spacing] <= 5))
Step 1: FILTER(Vias, Vias[Layer] = "GND Plane" && Vias[Spacing] <= 5)
Step 2: COUNTROWS([Row2, Row3, Row4])
Cell Reference Map
    A         B      C      D           E
1 | Layer   | X(mm) | Y(mm) | Via Dia(mm) | Spacing(mm) |
2 | GND Plane | 10    | 10    | 0.5        | 5           |
3 | GND Plane | 15    | 10    | 0.5        | 5           |
4 | GND Plane | 20    | 10    | 0.5        | 5           |
The formula references the 'Layer' and 'Spacing' columns to filter vias on the ground plane with spacing less or equal to 5 mm.
Result
    A         B      C      D           E      F
1 | Layer   | X(mm) | Y(mm) | Via Dia(mm) | Spacing(mm) | Count |
2 | GND Plane | 10    | 10    | 0.5        | 5           | 3     |
The final result shows that there are 3 vias stitched on the ground plane with spacing 5 mm or less.
Sheet Trace Quiz - 3 Questions
Test your understanding
How many vias are counted by the formula?
A4
B3
C2
D1
Key Result
COUNTROWS(FILTER(Table, Condition)) counts rows meeting a condition.