compare the value cell then use one formula if <= or another >

B

BThrasher

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.
 
B

Bob Phillips

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

cell3: =cell4-cell2

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top