View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
sharon sharon is offline
external usenet poster
 
Posts: 48
Default ARRAY MULTI LOGICAL OPERATOR

Hi,

I'm trying to get a sum, in an array, but I'm getting lost when I try to
involve an OR operator.

I need to sum the codes beginning with "5" but not the ones among "514000"
and "514020".

You could assume all code are converted to string, so first one would be
'501010' and so on...

CODE UNITS
501010 150.00
501030 347.52
501070 150.00
504010 130.06
504020 70.00
505030 50.00
506020 25.00
506060 25.00
507010 10.00
508010 20.84
508030 3.00
509010 5.86
509020 1.54
509030 1.19
51000N 10.00
513020 4.00
513690 3.00
514020 0.30
516870 1.75
600040 25.00


Could any one give me a hand on this?

TIA,