#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default If Statements

I need a statement that allows me to use a certain number in a equation for
when the number is within an range.
Example
The number range is between 4000 and 40000
So when the number in column 1 needs to be multipled by 31 if the number is
between 4000 and 40000. And column two will have the new inputs.
I need an If statement.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default If Statements

What do you want it to do if it does not fall within the range you specified?

Storm.

"Shortstopper00" wrote:

I need a statement that allows me to use a certain number in a equation for
when the number is within an range.
Example
The number range is between 4000 and 40000
So when the number in column 1 needs to be multipled by 31 if the number is
between 4000 and 40000. And column two will have the new inputs.
I need an If statement.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default If Statements

Just remain the same Number. Not times by 31.



"Storm" wrote:

What do you want it to do if it does not fall within the range you specified?

Storm.

"Shortstopper00" wrote:

I need a statement that allows me to use a certain number in a equation for
when the number is within an range.
Example
The number range is between 4000 and 40000
So when the number in column 1 needs to be multipled by 31 if the number is
between 4000 and 40000. And column two will have the new inputs.
I need an If statement.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default If Statements

Assuming value is in A1 and you want the answer in B1, use this formula:

=IF(AND(A1=4000,A1<=40000),A1*31,A1)

Storm

"Shortstopper00" wrote:

Just remain the same Number. Not times by 31.



"Storm" wrote:

What do you want it to do if it does not fall within the range you specified?

Storm.

"Shortstopper00" wrote:

I need a statement that allows me to use a certain number in a equation for
when the number is within an range.
Example
The number range is between 4000 and 40000
So when the number in column 1 needs to be multipled by 31 if the number is
between 4000 and 40000. And column two will have the new inputs.
I need an If statement.

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
IF & OR Statements JG14 Excel Worksheet Functions 4 May 25th 07 11:47 PM
Help with IF statements Lil Excel Worksheet Functions 0 May 4th 07 06:02 AM
If Statements Motaad Excel Worksheet Functions 2 April 16th 07 05:50 PM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
If statements tdoughty Excel Discussion (Misc queries) 2 December 13th 05 10:09 PM


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