Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kim via OfficeKB.com
 
Posts: n/a
Default Sum and If combination formula

Hi there,

If I34="1", then I want "1" to be added to J31's balance. If I31="anything
other than 1", "0" should be added to J31's balance. How what kind of
function would I use?

Thanks in advance for your help!

--
Message posted via http://www.officekb.com
  #2   Report Post  
Trevor Shuttleworth
 
Posts: n/a
Default

Kim

let's say J31 had a simple formula in it, for example, =K31.

You would cahnge this to:

=K31+IF(I31=1,1,0)

If J31 does not have a formula in it, I don't think you can do it.

Regards

Trevor


"Kim via OfficeKB.com" wrote in message
...
Hi there,

If I34="1", then I want "1" to be added to J31's balance. If
I31="anything
other than 1", "0" should be added to J31's balance. How what kind of
function would I use?

Thanks in advance for your help!

--
Message posted via http://www.officekb.com



  #3   Report Post  
Michael
 
Posts: n/a
Default

Try This:

=IF(I34=1,J31+1,IF(I31<1,J31,""))

HTH
Michael

"Kim via OfficeKB.com" wrote:

Hi there,

If I34="1", then I want "1" to be added to J31's balance. If I31="anything
other than 1", "0" should be added to J31's balance. How what kind of
function would I use?

Thanks in advance for your help!

--
Message posted via http://www.officekb.com

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 04:38 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"