Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default HOW DO I MULTIPLY BY A VALUE NOT MORE THAN A CERTAIN NUMBER

how to multiply two cells of certain values uptil a maximum value eg.
multiply A1:B1 whereas B1 is not more than 38
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default HOW DO I MULTIPLY BY A VALUE NOT MORE THAN A CERTAIN NUMBER

Instead of using B1 in your multiplication, use MAX(B1,38) instead.

Rick


"Mnas" wrote in message
...
how to multiply two cells of certain values uptil a maximum value eg.
multiply A1:B1 whereas B1 is not more than 38


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default HOW DO I MULTIPLY BY A VALUE NOT MORE THAN A CERTAIN NUMBER

=IF(B1<=38, A1*B1, "?") You did not say what to do if B1 is greater than
38, so I return a ?

Tyro

"Mnas" wrote in message
...
how to multiply two cells of certain values uptil a maximum value eg.
multiply A1:B1 whereas B1 is not more than 38



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default HOW DO I MULTIPLY BY A VALUE NOT MORE THAN A CERTAIN NUMBER

=A1*MIN(B1,38)
--
David Biddulph

"Mnas" wrote in message
...
how to multiply two cells of certain values uptil a maximum value eg.
multiply A1:B1 whereas B1 is not more than 38



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default HOW DO I MULTIPLY BY A VALUE NOT MORE THAN A CERTAIN NUMBER

should be MIN(B1,38) right?

Jean-Guy

"Rick Rothstein (MVP - VB)" wrote:

Instead of using B1 in your multiplication, use MAX(B1,38) instead.

Rick


"Mnas" wrote in message
...
how to multiply two cells of certain values uptil a maximum value eg.
multiply A1:B1 whereas B1 is not more than 38





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default HOW DO I MULTIPLY BY A VALUE NOT MORE THAN A CERTAIN NUMBER

Yes, MIN, of course... I read "not more than" and immediately thought MAX
without paying enough attention to the rest of the words around it. Thanks
for noting that.

Rick


"Jean-Guy" wrote in message
...
should be MIN(B1,38) right?

Jean-Guy

"Rick Rothstein (MVP - VB)" wrote:

Instead of using B1 in your multiplication, use MAX(B1,38) instead.

Rick


"Mnas" wrote in message
...
how to multiply two cells of certain values uptil a maximum value eg.
multiply A1:B1 whereas B1 is not more than 38




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default HOW DO I MULTIPLY BY A VALUE NOT MORE THAN A CERTAIN NUMBER

Well I just coulnd't pass up the chance to correct an MVP :)

Jean-Guy

"Rick Rothstein (MVP - VB)" wrote:

Yes, MIN, of course... I read "not more than" and immediately thought MAX
without paying enough attention to the rest of the words around it. Thanks
for noting that.

Rick


"Jean-Guy" wrote in message
...
should be MIN(B1,38) right?

Jean-Guy

"Rick Rothstein (MVP - VB)" wrote:

Instead of using B1 in your multiplication, use MAX(B1,38) instead.

Rick


"Mnas" wrote in message
...
how to multiply two cells of certain values uptil a maximum value eg.
multiply A1:B1 whereas B1 is not more than 38




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default HOW DO I MULTIPLY BY A VALUE NOT MORE THAN A CERTAIN NUMBER

Not such a big deal in my case... my MVP award is for the compiled version
of VB, not for Excel.<g

Rick


"Jean-Guy" wrote in message
...
Well I just coulnd't pass up the chance to correct an MVP :)

Jean-Guy

"Rick Rothstein (MVP - VB)" wrote:

Yes, MIN, of course... I read "not more than" and immediately thought MAX
without paying enough attention to the rest of the words around it.
Thanks
for noting that.

Rick


"Jean-Guy" wrote in message
...
should be MIN(B1,38) right?

Jean-Guy

"Rick Rothstein (MVP - VB)" wrote:

Instead of using B1 in your multiplication, use MAX(B1,38) instead.

Rick


"Mnas" wrote in message
...
how to multiply two cells of certain values uptil a maximum value
eg.
multiply A1:B1 whereas B1 is not more than 38





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 you multiply each cell by the same number? ( 899.80*.085) Shanon Excel Discussion (Misc queries) 2 March 20th 06 09:27 PM
How do I multiply the whole sheet by a number Ed1939 Excel Discussion (Misc queries) 2 August 28th 05 08:18 PM
How do I multiply a whole column by a number? cowboyeti Excel Worksheet Functions 1 July 13th 05 05:17 PM
multiply a row by a certain number? multiply a row by a certain number? Excel Discussion (Misc queries) 2 March 7th 05 09:18 PM
how can i multiply a number in each cell? jay Excel Discussion (Misc queries) 3 February 3rd 05 04:52 PM


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