excel vba - One- or Two-dimensional arrays -
I need a simple formula to find the intersection of two fixed arrrays:
HubArray = Array (AB 100, CA 200, FL100, GA100, MA 200, MN100, MO 100, NC 100, NC 200, OH 100, OH 200, ON100, PA 100, TX100, TX200, UT100, WA 100, NL 100) SundayEray = Array (59, 46, 55, 55, 55, 59, 57, 57, 57, 55, 55, 53, 55, 62, 62, 52, 59, 50) Monday Array = Array (35 , 46, 31, 31, 31, 35, 33, 33, 33, 31, 31, 29, 31, 38, 38, 28, 35, 26) Tuesday = Array (35, 70, 31, 31, 31, 35 , 33, 33, 33, 34, 34, 29, 31, 38, 38, 52, 65, 26) Wednesday = Array (35, 46, 31, 31, 31, 35, 33, 33, 33, 31, 31, 29, 31, 38, 38, 28, 41, 26) Thursday = Array (59, 46, 38, 38, 38, 59, 57, 57, 57, 59, 59, 59, 38, 59, 59, 52, 35, 59 Friday Arrere = Array (35, 94, 62, 62, 62, 35, 33, 33, 33, 35, 35, 35, 62, 35, 35 , 28, 35, 35) Saturnarre = Array (83, 70, 79, 79, 79, 83, 81, 81, 81, 79, 79, 77, 79, 86, 86, 76, 83, 74) The code should be argued: based on the day of the week (call that variable referdment), the value of this value for the hub we are looking for Place (call RefHub).
This exam and return value are required to be displayed on about 70,000 line data Do I need to set these arrows differently? An easy way to do this?
Comments
Post a Comment