Can any one help me with a formula or macro to analyze dimensions?
My column has many sizes listed, but I need to change it or mark in another column that it's too big fit in my area of 12.375x18.375.
For instance, I have these sizes below, they would be marked too big cause they don't fit:
I'm just doing a macro with a simple find & replace now, but I have about 50ish find/replaces and my list keeps growing:
These sizes would be left alone or not noted as they would fit:
I think the logic would be:
if the number on either side of the "x" is greater than 18.375 then text "TOO BIG"
Any help would be appreciated...
My column has many sizes listed, but I need to change it or mark in another column that it's too big fit in my area of 12.375x18.375.
For instance, I have these sizes below, they would be marked too big cause they don't fit:
18x18
10x55
20x2.5
20x.75
5x24
32x10
32x10
I'm just doing a macro with a simple find & replace now, but I have about 50ish find/replaces and my list keeps growing:
Columns("K:K").Select
Selection.Replace What:="18x18", Replacement:="TOO BIG", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False
These sizes would be left alone or not noted as they would fit:
5.5x7
11x17
8.5x11
2x18
12x18
18x12 (this would fit, cause it would be rotated to 12x18 fit my area)
I think the logic would be:
if the number on either side of the "x" is greater than 18.375 then text "TOO BIG"
or
if both numbers on either side of the "x" are greater than 12.375 then text "TOO BIG"Any help would be appreciated...