Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Sumif not equal to

One way:

Dim n As Long
n = Application.WorksheetFunction.SumIf(Columns("A"), "<" & _
"Large Balance", Columns("B"))
MsgBox n


In article ,
StephanieH wrote:

I need to sum column B if column A does not contact the words Large Balance.
I'm not sure how or where to designate the not like part.

Application.WorksheetFunction.SumIf(Columns("A") , < "Large Balance",
Columns("B"))
returns a syntax error

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
how to sumif in excel with a not equal criteria Ed New Users to Excel 2 April 30th 23 07:45 PM
SUMIF using 2 cells that equal each other wormburner Excel Discussion (Misc queries) 1 February 4th 10 08:18 PM
SUMIF Greater than or equal to envy Excel Worksheet Functions 4 October 29th 09 12:56 AM
sumif , 2 criteria, text must equal Tim Excel Discussion (Misc queries) 3 March 23rd 09 03:51 PM
sumif if cell does not equal #N/A Micah Excel Discussion (Misc queries) 1 February 2nd 06 09:41 PM


All times are GMT +1. The time now is 05:29 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"