You are here:

Excel/Sumproduct formula with zip code


Sumproduct with ZIP
Sumproduct with ZIP  
Hi Aidan,

I canít figure out why the below sum product formula wonít work when I add the home address zip code ('2014ARYCHINSReferrals'!$P$2:$P$2500=98273) .  It doesnít matter where I put it in the formula string.  It doesnít work with/without parenthesis around the zip code.

=SUMPRODUCT(--('2014ARYCHINSReferrals'!$F$2:$F$2500=FALSE,--('2014ARYCHINSReferrals'!$Q$2:$Q$2500=13 ),--('2014ARYCHINSReferrals'!$M$2:$M$2500="M"),--('2014ARYCHINSReferrals'!$O$2:$O$2500=1),--('2014ARYCHINSReferrals'!$N$2:$N$2500=1))

Doesnít work
=SUMPRODUCT(--('2014ARYCHINSReferrals'!$F$2:$F$2500=FALSE),--('2014ARYCHINSReferrals'!$P$2:$P$2500=98273),--('2014ARYCHINSReferrals'!$Q$2:$Q$2500=13 ),--('2014ARYCHINSReferrals'!$M$2:$M$2500="M"),--('2014ARYCHINSReferrals'!$O$2:$O$2500=1),--('2014ARYCHINSReferrals'!$N$2:$N$2500=1))

I'm working slightly blind as I've got the formula but no data - but my INITIAL reaction (assuming that there should be results that match all conditions) is that the zip code cell is formatted as text NOT a number - so "98273" would then work.  IF that doesn't work, I'm happy to look at sample data - my email is
About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here


All Answers

Answers by Expert:

Ask Experts


Aidan Heritage


I have provided first hand support since `95 for Microsoft Office majoring in Word and Excel - support for all versions from 2 onwards. I'm based in the UK, so please allow for time differences when asking me questions from other parts of the world!


My background is in the insurance industry and call centre areas, but have been called upon to provide many varied solutions.

I'm educated to UK A level standard, but as I left school some 30 years ago that is rather irrelevent - university of life has provided more of a background!

©2017 All rights reserved.