Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Greater Than formula

I'm in need of the following:
a1=9

Formula: If a1 is greater than 8, I need b1 to show 8 only. If it is less
than 8, I need it to show the amount that is less than 8.

So b1 on this should show 8.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default Greater Than formula

You can do this with the MIN function. In cell B1, enter

=MIN(A1,8)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"ginasucasa" wrote in message
...
I'm in need of the following:
a1=9

Formula: If a1 is greater than 8, I need b1 to show 8 only. If it is
less
than 8, I need it to show the amount that is less than 8.

So b1 on this should show 8.

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Greater Than formula

Thank you. It works for over 8, but:
if a1=7 how do I get b1=7 with the other formula? I want to be able to use
this formula throughout a worksheet.

"Chip Pearson" wrote:

You can do this with the MIN function. In cell B1, enter

=MIN(A1,8)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"ginasucasa" wrote in message
...
I'm in need of the following:
a1=9

Formula: If a1 is greater than 8, I need b1 to show 8 only. If it is
less
than 8, I need it to show the amount that is less than 8.

So b1 on this should show 8.

Thanks!


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Greater Than formula

So what does the formula give for you when a1=7?
--
David Biddulph

"ginasucasa" wrote in message
...
Thank you. It works for over 8, but:
if a1=7 how do I get b1=7 with the other formula? I want to be able to
use
this formula throughout a worksheet.

"Chip Pearson" wrote:

You can do this with the MIN function. In cell B1, enter

=MIN(A1,8)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"ginasucasa" wrote in message
...
I'm in need of the following:
a1=9

Formula: If a1 is greater than 8, I need b1 to show 8 only. If it is
less
than 8, I need it to show the amount that is less than 8.

So b1 on this should show 8.

Thanks!




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,091
Default Greater Than formula

Did you change A1 to 7??? You would see that the formula produces 7 as an
answer.

Tyro

"ginasucasa" wrote in message
...
Thank you. It works for over 8, but:
if a1=7 how do I get b1=7 with the other formula? I want to be able to
use
this formula throughout a worksheet.

"Chip Pearson" wrote:

You can do this with the MIN function. In cell B1, enter

=MIN(A1,8)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"ginasucasa" wrote in message
...
I'm in need of the following:
a1=9

Formula: If a1 is greater than 8, I need b1 to show 8 only. If it is
less
than 8, I need it to show the amount that is less than 8.

So b1 on this should show 8.

Thanks!






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default Greater Than formula

The formula =MIN(A1,8) will return the lesser of A1 and 8 to the cell that
contains the formula. If A1 is 7, then the formula returns 7. A formula
cannot change the value of another cell -- it can only return a value to the
cell that contains it, nothing more. That is, you cannot enter a formula in
B1 that changes the value in C1. There is no way to create a "reusable"
formula to be used in multiple cells. Each cell that needs the result must
contain the formula.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"ginasucasa" wrote in message
...
Thank you. It works for over 8, but:
if a1=7 how do I get b1=7 with the other formula? I want to be able to
use
this formula throughout a worksheet.

"Chip Pearson" wrote:

You can do this with the MIN function. In cell B1, enter

=MIN(A1,8)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"ginasucasa" wrote in message
...
I'm in need of the following:
a1=9

Formula: If a1 is greater than 8, I need b1 to show 8 only. If it is
less
than 8, I need it to show the amount that is less than 8.

So b1 on this should show 8.

Thanks!



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
Greater than but less than formula Storm Excel Worksheet Functions 3 July 11th 07 07:50 PM
Greater than Less than formula Help with Check Mark!! Excel Discussion (Misc queries) 3 August 22nd 06 07:05 PM
Greater than formula! nekteo Excel Worksheet Functions 2 December 29th 05 05:09 PM
formula for Greater of C or D X E [email protected] Excel Discussion (Misc queries) 2 October 11th 05 07:26 PM
Less than, Greater than Formula Debbie Excel Discussion (Misc queries) 1 April 13th 05 07:58 PM


All times are GMT +1. The time now is 10:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"