#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default sumif formulas

I have a listing of salary figures for my organization. Several positions are
currently vacant, but the salary needed to fill the position is still listed.


How do I sum the range of figures to EXCLUDE the figures on rows where the A
column has VACANT typed in it?

Thank you for your help.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default sumif formulas

Maybe this:

=SUMIF(A1:A100,"<Vacant",B1:B100)

--
Biff
Microsoft Excel MVP


"ibhavn" wrote in message
...
I have a listing of salary figures for my organization. Several positions
are
currently vacant, but the salary needed to fill the position is still
listed.


How do I sum the range of figures to EXCLUDE the figures on rows where the
A
column has VACANT typed in it?

Thank you for your help.




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default sumif formulas

Wonderful! That worked, now if I just understood why it worked. Thank you
for your prompt response!

"T. Valko" wrote:

Maybe this:

=SUMIF(A1:A100,"<Vacant",B1:B100)

--
Biff
Microsoft Excel MVP


"ibhavn" wrote in message
...
I have a listing of salary figures for my organization. Several positions
are
currently vacant, but the salary needed to fill the position is still
listed.


How do I sum the range of figures to EXCLUDE the figures on rows where the
A
column has VACANT typed in it?

Thank you for your help.





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default sumif formulas

On Sep 5, 1:59 pm, ibhavn wrote:
Wonderful! That worked, now if I just understood why it worked. Thank you
for your prompt response!


Because nobody bothered to put the $B!b(B sign into ANY generation of
ASCII, and Microsoft thought it would be cool to ignore it, too, we
use < to mean "not equal". Or you could say it, "either less than or
greater than".

So for the formula: you are summing the B column cells if the
corresponding A column cell is NOT "Vacant".
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default sumif formulas

You're welcome!

=SUMIF(A1:A100,"<Vacant",B1:B100)

< means "is not equal to"

So in plain English, sum the cells in column B where the cells in column A
is not equal to vacant.

--
Biff
Microsoft Excel MVP


"ibhavn" wrote in message
...
Wonderful! That worked, now if I just understood why it worked. Thank
you
for your prompt response!

"T. Valko" wrote:

Maybe this:

=SUMIF(A1:A100,"<Vacant",B1:B100)

--
Biff
Microsoft Excel MVP


"ibhavn" wrote in message
...
I have a listing of salary figures for my organization. Several
positions
are
currently vacant, but the salary needed to fill the position is still
listed.


How do I sum the range of figures to EXCLUDE the figures on rows where
the
A
column has VACANT typed in it?

Thank you for your help.









  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default sumif formulas

In case you decide to move the text vacant to a cell (say C1) and want to change
the formula to point to that cell.

You could use:
=SUMIF(A1:A100,"<"&c1,B1:B100)

In fact, you could even do this:
=SUMIF(A1:A100,"<"&"Vacant",B1:B100)



ibhavn wrote:

Wonderful! That worked, now if I just understood why it worked. Thank you
for your prompt response!

"T. Valko" wrote:

Maybe this:

=SUMIF(A1:A100,"<Vacant",B1:B100)

--
Biff
Microsoft Excel MVP


"ibhavn" wrote in message
...
I have a listing of salary figures for my organization. Several positions
are
currently vacant, but the salary needed to fill the position is still
listed.


How do I sum the range of figures to EXCLUDE the figures on rows where the
A
column has VACANT typed in it?

Thank you for your help.






--

Dave Peterson
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 and CountIF formulas Todd Excel Discussion (Misc queries) 5 April 16th 07 12:28 AM
Nesting SUMIF formulas Todd Excel Worksheet Functions 6 June 7th 06 12:15 PM
SumIf formulas. welshalltheway Excel Discussion (Misc queries) 1 October 19th 05 04:04 PM
sumif and array formulas Simon Murphy Excel Worksheet Functions 4 January 25th 05 05:22 PM
formulas SUMIF & DSUM cvgairport Excel Discussion (Misc queries) 1 January 3rd 05 05:53 PM


All times are GMT +1. The time now is 10:02 PM.

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

About Us

"It's about Microsoft Excel"