Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 191
Default IF function - with a twist!

Please help if you can.

I am using the IF function and will simplify what I need for explanation
purposes:

I have a value in A1 and a value in B1 and I want to display, in C1, the
larger of the two. The twist is that if that value is not larger than 100, I
want to display 100.

Please help if you can.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default IF function - with a twist!

Put this in C1:

=MAX(100,A1,B1)

Hope this helps.

Pete

On Jul 2, 4:48*pm, Jamie wrote:
Please help if you can.

I am using the IF function and will simplify what I need for explanation
purposes:

I have a value in A1 and a value in B1 and I want to display, in C1, the
larger of the two. *The twist is that if that value is not larger than 100, I
want to display 100. *

Please help if you can.

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 46
Default IF function - with a twist!

This will work
=IF(MAX(A1,B1)100,MAX(A1,B1),100)



"Jamie" wrote:

Please help if you can.

I am using the IF function and will simplify what I need for explanation
purposes:

I have a value in A1 and a value in B1 and I want to display, in C1, the
larger of the two. The twist is that if that value is not larger than 100, I
want to display 100.

Please help if you can.

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
Sum with a twist andrew Excel Discussion (Misc queries) 15 June 18th 08 08:56 AM
Function To Add across Multiple Sheets with a Twist Sean Excel Worksheet Functions 11 August 8th 07 10:48 PM
SaveCopyAs with a twist Rookie 1st class Excel Discussion (Misc queries) 5 January 21st 07 12:33 AM
Cut / Paste with a Twist [email protected] Excel Discussion (Misc queries) 3 July 10th 06 09:51 PM
Large() with twist Dan Excel Worksheet Functions 2 January 18th 05 09:53 PM


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