Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Location: Maine, USA
Posts: 8
Send a message via Yahoo to mainemike
Default Change value based on another cell's value

I've got R1C1 and R1C2 which are both manually entered values. R1C3 is a formula that multiplies the two {=sum(r1c1*r1c2)}. R1C3 also has conditional formatting (if the value equals zero, then make the cell red and bold).

R20C3 has a formula to add the entire column {=sum(R1C3:R20C3)}.

What I want to do is force the vaule of R20C3 to zero (disreguarding the formula) if the value of R1C3 is zero. Any help would be appreciated.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
vezerid
 
Posts: n/a
Default Change value based on another cell's value

=IF(R1C3=0,0,SUM(R1C3:R20C3))

Also note that the use of sum for the product is redundant. A simple:

=r1c1*r1c2

would suffice.

HTH
Kostis Vezerides

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
% change in the last two cells in a row chewmanfoo Excel Worksheet Functions 6 September 10th 05 08:58 AM
Resetting values based on change in cells of other column NSteinner Excel Discussion (Misc queries) 1 September 4th 05 04:09 PM
locking cells based on results at runtime aken Excel Worksheet Functions 3 June 22nd 05 02:01 PM
Subtract a group of cells from a total based on ending date Nicholas Scarpinato Excel Discussion (Misc queries) 0 May 17th 05 03:25 PM
I Need to change reference sheet for all cells on a form Brent E Excel Discussion (Misc queries) 1 February 11th 05 01:36 AM


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