#1   Report Post  
Hardy03
 
Posts: n/a
Default formatting

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
  #2   Report Post  
David Hepner
 
Posts: n/a
Default

Try this:

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

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



"Hardy03" wrote:

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

  #3   Report Post  
Hardy03
 
Posts: n/a
Default

Thankyou that was really helpful

"David Hepner" wrote:

Try this:

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

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



"Hardy03" wrote:

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

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
Conditional Formatting Error ddate Excel Worksheet Functions 0 May 5th 05 09:00 PM
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 PM
Formatting dates in the future Compass Rose Excel Worksheet Functions 3 January 17th 05 10:39 PM
Copy conditional formatting across multiple rows? Gil Excel Discussion (Misc queries) 1 January 11th 05 11:27 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


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