Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
exutable
 
Posts: n/a
Default Simple SUMIF formula gone wrong!


Hey I was wondering what is wrong with this formula, I want it to sum
only if the row next to it said shipped and the row next to that
doesn't say PAID

Code:
--------------------
::=SUMIF(AND(N2:N35=\"SHIPPED\", O2:O35=\"<PAID\"),L2:L35)::
--------------------


--
exutable
------------------------------------------------------------------------
exutable's Profile: http://www.excelforum.com/member.php...o&userid=28665
View this thread: http://www.excelforum.com/showthread...hreadid=539712

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
duane
 
Posts: n/a
Default Simple SUMIF formula gone wrong!


try this

=SUMPRODUCT((N2:N35="SHIPPED")*(O2:O35="<PAID")*( L2:L35))


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=539712

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
exutable
 
Posts: n/a
Default Simple SUMIF formula gone wrong!


It gives me a negative number


--
exutable
------------------------------------------------------------------------
exutable's Profile: http://www.excelforum.com/member.php...o&userid=28665
View this thread: http://www.excelforum.com/showthread...hreadid=539712

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default Simple SUMIF formula gone wrong!


I think duane's suggestion has a typo, try this amendment

=SUMPRODUCT((N2:N35="SHIPPED")*(O2:O35<"PAID")*L2 :L35)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=539712

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
duane
 
Posts: n/a
Default Simple SUMIF formula gone wrong!


yes, but you need another set of ()

=SUMPRODUCT((N2:N35="SHIPPED")*(O2:O35<"PAID")*(L 2 :L35))


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=539712



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
exutable
 
Posts: n/a
Default Simple SUMIF formula gone wrong!


Thanks works perfectly(the last one)


--
exutable
------------------------------------------------------------------------
exutable's Profile: http://www.excelforum.com/member.php...o&userid=28665
View this thread: http://www.excelforum.com/showthread...hreadid=539712

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default Simple SUMIF formula gone wrong!


duane Wrote:
yes, but you need another set of ()

=SUMPRODUCT((N2:N35="SHIPPED")*(O2:O35<"PAID")*(L 2 :L35))


....works fine for me without the parentheses....:)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=539712

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
sumif formula returns incorrect value modular_brian Excel Worksheet Functions 1 June 16th 05 10:29 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
What's wrong with my array formula M.Siler Excel Discussion (Misc queries) 4 May 27th 05 09:19 PM
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 09:04 PM
Paste is is copying in formula, but display is wrong. Matt Excel Discussion (Misc queries) 2 December 7th 04 08:37 PM


All times are GMT +1. The time now is 04:58 AM.

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"