Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default need help with if statement that calculate minimum figure

I am trying to calualate an if statement which if false returns a figure, but
i want that figure if under a certain amount to return a minimum figure.

Eg. If a2 = yes then return $5 if no or unknown then return A4*A5 but with a
minimum of $5
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default need help with if statement that calculate minimum figure

Try something like

=IF(A2="yes",5,MIN(A4*A5,5))

Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


On Sun, 16 Nov 2008 16:47:01 -0800, KateZed
wrote:

I am trying to calualate an if statement which if false returns a figure, but
i want that figure if under a certain amount to return a minimum figure.

Eg. If a2 = yes then return $5 if no or unknown then return A4*A5 but with a
minimum of $5

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default need help with if statement that calculate minimum figure

On Sun, 16 Nov 2008 16:47:01 -0800, KateZed wrote:
If a2 = yes then return $5 if no or unknown then return
A4*A5 but with a minimum of $5


On Nov 16, 5:16*pm, Chip Pearson wrote:
Try something like
=IF(A2="yes",5,MIN(A4*A5,5))


I suspect that should be MAX, not MIN.

If I say, for example, that the charge is 30 cents per page (A4*A5)
"with a minimum of $5", it means "at least $5". Ergo, for 10 pages,
the charge is $5, not $3 (10*0.30); but for 100 pages, the charge is
$30 (100*0.30), not $5. So I want the maximum of A4*A5 and 5.

No telling if that's what the OP wants, though. English (any natural
language) is ambiguous. People should provide a complete numerical
example.
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
how do i calculate 20% of a total figure resident Excel Worksheet Functions 3 April 2nd 23 08:11 PM
How to calculate non-zero minimum value? yhoy Excel Discussion (Misc queries) 5 February 24th 08 01:41 AM
How to calculate minimum distance between three coordinate with ex Jonathan[_2_] Excel Discussion (Misc queries) 2 November 29th 07 03:12 AM
minimum a fixed figure when it is lower weepel New Users to Excel 5 June 22nd 05 06:46 PM
Calculate Minimum numbers Pete Excel Worksheet Functions 2 May 12th 05 04:31 PM


All times are GMT +1. The time now is 04:16 PM.

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"