View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
TommySzalapski[_35_] TommySzalapski[_35_] is offline
external usenet poster
 
Posts: 1
Default data find and add for summary


I have some data that looks something like this

Qty.......Qty Bad...Reason
34........2.........too long
45........0
44........4.........too short
54........3.........too long

I need to (in a macro) build a summary like
total number 177
too long 5
too short 4

I have a few ideas (for each row, if there is a reason, see if th
reason is in the summary yet and add it if not and add th
corresponding number to the running total)
I started coding this up and it looks messy and complicated and slow.
I can do it this way, but if someone feels like showing off his Exce
prowess and helping me out by giving me some ideas, I would appreciat
it.

thanks,
Tomm

--
TommySzalapsk
-----------------------------------------------------------------------
TommySzalapski's Profile: http://www.excelforum.com/member.php...fo&userid=2556
View this thread: http://www.excelforum.com/showthread.php?threadid=39225