airforceone
Board Regular
- Joined
- Feb 14, 2022
- Messages
- 201
- Office Version
- 2019
- 2016
- Platform
- Windows
just thinking...
although some might say that merge cells is the mortal enemy of macro but just the same I would like to throw this not so important question or not
how or can we count rows of a certain column until merge value changes?
say with the given table
Bird row count would be 5
Habitat row count is 8
Mammal is 4 and
Invert is 7
although some might say that merge cells is the mortal enemy of macro but just the same I would like to throw this not so important question or not
how or can we count rows of a certain column until merge value changes?
say with the given table
Bird row count would be 5
Habitat row count is 8
Mammal is 4 and
Invert is 7
00 GRAMS TEST FILE.xlsx | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | name | gen_spec | element | subelement | ||
2 | Purple sandpiper | Calidris maritima | BIRD | shorebird | ||
3 | Long-billed marsh-wren | Cistothorous palustris | passerine | |||
4 | Short-billed marsh-wren | Cistothorous platensis | passerine | |||
5 | Baird's sandpiper | Calidris bairdii | shorebird | |||
6 | Northern goshawk | Accipiter gentilis | raptor | |||
7 | Beach pea | Lathyrus japonicus var. maritimus | HABITAT | plant | ||
8 | Beach sumac | Rhus aromatica var. arenaria | upland | |||
9 | Black-fruit mountain-ricegrass | Piptatherum racemosa | upland | |||
10 | Brown-fruited rush | Juncus pelocarpus | wetland | |||
11 | Capitate spikerush | Eleocharis geniculata | wetland | |||
12 | Seaside spurge | Chamaesyce polygonifolia | upland | |||
13 | Rock sandwort | Minvartia michauxii michauxii | upland | |||
14 | Broadleaf sedge | Carex platphylla | upland | |||
15 | Meadow vole | Microtus pennsylvanicus | MAMMAL | sm_mammal | ||
16 | Red fox | Vulpes vulpes | canine | |||
17 | Striped skunk | Mephitis mephitis | sm_mammal | |||
18 | Gray wolf | Canis lupus | canine | |||
19 | Belted kingfisher | Ceryle alcyon | INVERT | passerine | ||
20 | Mute swan | Cygnus olor | waterfowl | |||
21 | Bald eagle | Haliaeetus leucocephalus | raptor | |||
22 | Red-shouldered hawk | Buteo lineatus | raptor | |||
23 | Sharp-shinned hawk | Accipiter striatus | raptor | |||
24 | Merlin | Falco columbarius | raptor | |||
25 | Rough-legged hawk | Buteo lagopus | raptor | |||
Sheet7 |