Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
BThrasher
 
Posts: n/a
Default compare the value cell then use one formula if <= or another

I need to compare the value in a cell4. If cell4 <= 160 then cell2 =
160-cell4, or if cell4 is 160 then cell2 = 80, Cell3 will = cell4-cell2

I hope this is understandable.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default compare the value cell then use one formula if <= or another

cell2: =IF(cell4<=160,160-cell4,80)

cell3: =cell4-cell2

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"BThrasher" wrote in message
...
I need to compare the value in a cell4. If cell4 <= 160 then cell2 =
160-cell4, or if cell4 is 160 then cell2 = 80, Cell3 will = cell4-cell2

I hope this is understandable.



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
Is it possible? DakotaNJ Excel Worksheet Functions 25 September 18th 06 09:30 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Formula to compare a cell to find same value in a column in Excel Diane Briltz Excel Worksheet Functions 1 December 14th 05 12:38 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM


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