Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mike_vr
 
Posts: n/a
Default Simple If, Then formula for excel

Hi all,

So I am fairly weak when it comes to Excel formulas, so I'm sure what I
require is really simple, I just have no idea how to formulate it.

Basically, I have a column of values, some of which are negative values and
some are positive, but they are changing from month to month (i.e. accruals
and prepayments). I need to add up all the negative values from the column in
a new cell, and all the positive values in another.

So it will be something like If amount0 then add to cell, else add to other
cell.

So there you have it, really simple I just have no idea what to do. So if
anyone has time could they have a crack at it.

Thanks,
Mike
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Umlas
 
Posts: n/a
Default Simple If, Then formula for excel

=SUMIF(A1:A100,"<0",A1:A100) will total the negative ones
=SUMIF(A1:A100,"0",A1:A100) will total the positive ones.
Adjust range A1:A100 as needed.
Bob Umlas
Excel MVP

"mike_vr" wrote in message
...
Hi all,

So I am fairly weak when it comes to Excel formulas, so I'm sure what I
require is really simple, I just have no idea how to formulate it.

Basically, I have a column of values, some of which are negative values
and
some are positive, but they are changing from month to month (i.e.
accruals
and prepayments). I need to add up all the negative values from the column
in
a new cell, and all the positive values in another.

So it will be something like If amount0 then add to cell, else add to
other
cell.

So there you have it, really simple I just have no idea what to do. So if
anyone has time could they have a crack at it.

Thanks,
Mike



  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Simple If, Then formula for excel

=SUMIF(A1:A100,"<0")
=SUMIF(A1:A100,"0")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Umlas" wrote in message
...
=SUMIF(A1:A100,"<0",A1:A100) will total the negative ones
=SUMIF(A1:A100,"0",A1:A100) will total the positive ones.
Adjust range A1:A100 as needed.
Bob Umlas
Excel MVP

"mike_vr" wrote in message
...
Hi all,

So I am fairly weak when it comes to Excel formulas, so I'm sure what I
require is really simple, I just have no idea how to formulate it.

Basically, I have a column of values, some of which are negative values
and
some are positive, but they are changing from month to month (i.e.
accruals
and prepayments). I need to add up all the negative values from the

column
in
a new cell, and all the positive values in another.

So it will be something like If amount0 then add to cell, else add to
other
cell.

So there you have it, really simple I just have no idea what to do. So

if
anyone has time could they have a crack at it.

Thanks,
Mike





  #4   Report Post  
Posted to microsoft.public.excel.misc
mike_vr
 
Posts: n/a
Default Simple If, Then formula for excel

Thanks Bob,

You make it seem to simply, thanks!
"Bob Umlas" wrote:

=SUMIF(A1:A100,"<0",A1:A100) will total the negative ones
=SUMIF(A1:A100,"0",A1:A100) will total the positive ones.
Adjust range A1:A100 as needed.
Bob Umlas
Excel MVP

"mike_vr" wrote in message
...
Hi all,

So I am fairly weak when it comes to Excel formulas, so I'm sure what I
require is really simple, I just have no idea how to formulate it.

Basically, I have a column of values, some of which are negative values
and
some are positive, but they are changing from month to month (i.e.
accruals
and prepayments). I need to add up all the negative values from the column
in
a new cell, and all the positive values in another.

So it will be something like If amount0 then add to cell, else add to
other
cell.

So there you have it, really simple I just have no idea what to do. So if
anyone has time could they have a crack at it.

Thanks,
Mike




  #5   Report Post  
Posted to microsoft.public.excel.misc
mike_vr
 
Posts: n/a
Default Simple If, Then formula for excel

Hi Bob,

As with the other Bob, thanks for the help, make this stuff seem too easy.

Cheers

"Bob Phillips" wrote:

=SUMIF(A1:A100,"<0")
=SUMIF(A1:A100,"0")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Umlas" wrote in message
...
=SUMIF(A1:A100,"<0",A1:A100) will total the negative ones
=SUMIF(A1:A100,"0",A1:A100) will total the positive ones.
Adjust range A1:A100 as needed.
Bob Umlas
Excel MVP

"mike_vr" wrote in message
...
Hi all,

So I am fairly weak when it comes to Excel formulas, so I'm sure what I
require is really simple, I just have no idea how to formulate it.

Basically, I have a column of values, some of which are negative values
and
some are positive, but they are changing from month to month (i.e.
accruals
and prepayments). I need to add up all the negative values from the

column
in
a new cell, and all the positive values in another.

So it will be something like If amount0 then add to cell, else add to
other
cell.

So there you have it, really simple I just have no idea what to do. So

if
anyone has time could they have a crack at it.

Thanks,
Mike






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
Programming a simple formula anagaraj1 New Users to Excel 1 August 4th 05 03:32 PM
simple interest formula in excel V NARENDRAN Excel Discussion (Misc queries) 1 August 3rd 05 12:13 PM
Simple formula help zero Excel Worksheet Functions 2 June 22nd 05 01:02 AM
help with simple formula Shooter Excel Worksheet Functions 1 June 19th 05 01:14 AM
Excel Miscalculates simple formula..Help!! Dave Excel Worksheet Functions 1 January 12th 05 03:30 PM


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