Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default SUMPRODUCT formaula not working


Hi,

I'm attempting to determine how many cells have the value less than or
equal to 26 in column A but also has 1 in it's adjacent row Column C

Whats wrong with this formula =SUMPRODUCT((A25:A850<=26)*(C25:C850=1))

Is it because Column A and C in itself are derived from Formualae, e.g
cells in Column A starting at A25 are = Sheet1!A25
cells in Column C starting at C25 are = MID(B25,5,1)
thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default SUMPRODUCT formaula not working

Hi Yunus,

Am Sat, 10 Mar 2012 15:20:51 -0000 schrieb Yunus:

Whats wrong with this formula =SUMPRODUCT((A25:A850<=26)*(C25:C850=1))


MID is a text function. Your 1 is text formatted. Use
=--MID(B25,5,1)
to change the 1 to number and your SUMPRODUCT formula is working.

You can also use
=SUMPRODUCT((A25:A850<=26)*(C25:C850="1"))
but I prefer the first suggestion.


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
If formaula ODD and EVEN Scott R Excel Worksheet Functions 2 September 10th 08 12:15 AM
Logical Formaula Hassan Excel Discussion (Misc queries) 3 February 20th 08 02:15 PM
excel formaula paddy 247 Excel Discussion (Misc queries) 3 September 27th 07 01:25 PM
What's wrong with my formaula Be18 Excel Worksheet Functions 2 March 2nd 07 02:49 AM
Help to write a formaula Dinesh Excel Worksheet Functions 1 September 9th 06 06:27 AM


All times are GMT +1. The time now is 08:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"