From: Joel Pearson Date: 2013-03-05T00:09:46+09:00 Subject: Re: Efficient Ruby equivalent to Excel's "SUMIF"? Thanks Adam, that's a great way of looking at this! I've been using arrays quite a lot in Ruby since they're so much easier to use than in VBA. When your only tool is a hammer... I knew the logical answer was some sort of incremental system, but I hadn't been able to visualise a way to implement it. Hashes look like a great solution. -- Posted via http://www.ruby-forum.com/.