Converting wind direction in angles to text words

后端 未结 15 769
执笔经年
执笔经年 2021-01-30 13:16

I have wind direction data coming from a weather vane, and the data is represented in 0 to 359 degrees.

I want to convert this into text format (compass rose) with 16 di

15条回答
  •  -上瘾入骨i
    2021-01-30 14:12

    Used this in Excel: VLOOKUP(MROUND(N12,22.5),N14:O29,2,FALSE)

    Cell N12 is direction toward in degrees for which an answer is needed. The range N14:O29 is looking up the sector(A to R):

    WIND SECTOR 0 A 22.5 B 45 C 67.5 D 90 E 112.5 F 135 G 157.5 H 180 J 202.5 K 225 L 247.5 M 270 N 292.5 P 315 Q 337.5 R

提交回复
热议问题