Two dimensional SUMIF

May 9, 2010 at 5:09 PM | Posted in General | Leave a comment
Tags: , ,

Chandoo wrote a quick tip about using SUMIF on two-dimensional ranges.

As useful as this seems, note that in his example there are several columns for sales people, by month (columns G through J).

This trick would not work if your criteria data is one-dimensional and the data to be summed is two-dimensional (e.g. one column for sales person name, and 12 columns for income per month)

The simple solution in such a case, however, is to add another column that will hold each row’s SUM, and do the SUMIF on that column against the name column.

So it’s not a real problem after all :)

Advertisement

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.