formatting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a value in cell A, i would like to display this value in cell B if it
is less than or equal to 667.
If the value in cell A is greater than 667 i would like the value up to 667
displayed in cell B and the remaining value displayed in cell C.

e.g. cell A = 141
cell B = 141

or

cell A = 788
Cell B = 667
Cell C = 121

Can anyone help
 
Try this:

In cell B use this formula: =IF(A1<=667,A1,667)

In cell C use this formula: =IF(A1>667,A1-B1,0)
 
Thankyou that was really helpful

David Hepner said:
Try this:

In cell B use this formula: =IF(A1<=667,A1,667)

In cell C use this formula: =IF(A1>667,A1-B1,0)
 

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


Back
Top