Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jcliquidtension
 
Posts: n/a
Default Specify Maximum Value

Hi,

Is there a way to call for a maximum value, but for that value not to exceed
X? For example, MAX(A:A) where the largest value is 7200, but I would
specify that if the MAX value is over 7000, return 7000.

I could use a logical statement, but I was wondering if there was a
worksheet function that did it all in one without having to type out the
logic. (Don't mean to be lazy, but I have LOTS of them to do.)

Thanks in advance,
Jason
  #2   Report Post  
Bernard Liengme
 
Posts: n/a
Default

MIN(MAX(A:A),7000)


--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"jcliquidtension" wrote in
message ...
Hi,

Is there a way to call for a maximum value, but for that value not to
exceed
X? For example, MAX(A:A) where the largest value is 7200, but I would
specify that if the MAX value is over 7000, return 7000.

I could use a logical statement, but I was wondering if there was a
worksheet function that did it all in one without having to type out the
logic. (Don't mean to be lazy, but I have LOTS of them to do.)

Thanks in advance,
Jason



  #3   Report Post  
jcliquidtension
 
Posts: n/a
Default

Wow!! That's awesome!! I had never thought of that! I guess that's sort of
like with logic, there's only 3 statements, right? Anyway, thanks for the
help!

"Bernard Liengme" wrote:

MIN(MAX(A:A),7000)


--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"jcliquidtension" wrote in
message ...
Hi,

Is there a way to call for a maximum value, but for that value not to
exceed
X? For example, MAX(A:A) where the largest value is 7200, but I would
specify that if the MAX value is over 7000, return 7000.

I could use a logical statement, but I was wondering if there was a
worksheet function that did it all in one without having to type out the
logic. (Don't mean to be lazy, but I have LOTS of them to do.)

Thanks in advance,
Jason




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
What is the maximum text size in a cell ChaimB Excel Discussion (Misc queries) 4 February 20th 05 06:24 PM
How can I extend the maximum # of columns to 500 Me Setting up and Configuration of Excel 0 January 11th 05 09:37 PM
maximum size of a Microsoft Excel list for a pivot table Bob Carey Excel Discussion (Misc queries) 1 January 6th 05 04:50 PM
Maximum File Size Lynn Excel Discussion (Misc queries) 1 December 17th 04 03:38 PM
Cell value as chart scale maximum Phil Hageman Charts and Charting in Excel 9 December 17th 04 02:09 PM


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