Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Need Help with a Formula

I am trying to create a formula that would read as follows:

If JanuaryAH2+JanuaryAI2 equals a negative amount then return a zero, if it
is a positive amount, return that amount.

Any help would be appreciated.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Need Help with a Formula

=IF(January!AH2+January!AI2<0,9,January!AH2+Januar y!AI2)

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"sferguson" wrote in message
...
I am trying to create a formula that would read as follows:

If JanuaryAH2+JanuaryAI2 equals a negative amount then return a zero, if
it
is a positive amount, return that amount.

Any help would be appreciated.

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Need Help with a Formula

hi
i think bob did a typo.
i think it should be...
=IF(January!AH2+January!AI2<0,0,January!AH2+Januar y!AI2)

it happens now and then. i've done it too.

Regards
FSt1

"sferguson" wrote:

I am trying to create a formula that would read as follows:

If JanuaryAH2+JanuaryAI2 equals a negative amount then return a zero, if it
is a positive amount, return that amount.

Any help would be appreciated.

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Need Help with a Formula

Thanks so much! That took care of it!

"Bob Phillips" wrote:

=IF(January!AH2+January!AI2<0,9,January!AH2+Januar y!AI2)

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"sferguson" wrote in message
...
I am trying to create a formula that would read as follows:

If JanuaryAH2+JanuaryAI2 equals a negative amount then return a zero, if
it
is a positive amount, return that amount.

Any help would be appreciated.

Thanks!




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Need Help with a Formula

When I put the formula in my spreadsheet I made that change so it took care
of it! I'm not great with the logicals so just to see what it should look
like helped a ton. Thanks guys!

"FSt1" wrote:

hi
i think bob did a typo.
i think it should be...
=IF(January!AH2+January!AI2<0,0,January!AH2+Januar y!AI2)

it happens now and then. i've done it too.

Regards
FSt1

"sferguson" wrote:

I am trying to create a formula that would read as follows:

If JanuaryAH2+JanuaryAI2 equals a negative amount then return a zero, if it
is a positive amount, return that amount.

Any help would be appreciated.

Thanks!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Need Help with a Formula

Or =MAX(January!AH2+January!AI2,0)
--
David Biddulph

"FSt1" wrote in message
...
hi
i think bob did a typo.
i think it should be...
=IF(January!AH2+January!AI2<0,0,January!AH2+Januar y!AI2)

it happens now and then. i've done it too.

Regards
FSt1

"sferguson" wrote:

I am trying to create a formula that would read as follows:

If JanuaryAH2+JanuaryAI2 equals a negative amount then return a zero, if
it
is a positive amount, return that amount.

Any help would be appreciated.

Thanks!



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



All times are GMT +1. The time now is 02:31 AM.

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"