Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
WAR WAR is offline
external usenet poster
 
Posts: 9
Default Function Argument Question

I'm having a brain freeze and cannot come up with the formula to express the
following:

If A1 is greater than 0 but less than 3, return 50,

If A1 is greater than 3 but less than 6, return 100,

If A1 is great than 6, return 200.

I was looking for a "between" function like in formatting, but I don't think
that is how it's done.

Thanks in advance for any help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 52
Default Function Argument Question

Hi War,

Try this:

=if(A1=6,200,if(A13,200,50))


--
Hope this helps


"WAR" wrote:

I'm having a brain freeze and cannot come up with the formula to express the
following:

If A1 is greater than 0 but less than 3, return 50,

If A1 is greater than 3 but less than 6, return 100,

If A1 is great than 6, return 200.

I was looking for a "between" function like in formatting, but I don't think
that is how it's done.

Thanks in advance for any help!

  #3   Report Post  
Posted to microsoft.public.excel.misc
WAR WAR is offline
external usenet poster
 
Posts: 9
Default Function Argument Question

Thanks, Judith!

I think you typed in an error though, should it say "A1="? I took out the
"=" and it worked.

Wayne

"JudithJubilee" wrote:

Hi War,

Try this:

=if(A1=6,200,if(A13,200,50))


--
Hope this helps


"WAR" wrote:

I'm having a brain freeze and cannot come up with the formula to express the
following:

If A1 is greater than 0 but less than 3, return 50,

If A1 is greater than 3 but less than 6, return 100,

If A1 is great than 6, return 200.

I was looking for a "between" function like in formatting, but I don't think
that is how it's done.

Thanks in advance for any help!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Function Argument Question

Hi. Just to mention...

If A1 is greater than 0 but less than 3, return 50,


A1 of zero, or -2 also return 50.
A1 <=0 was not specified.

Just thought I'd mention it. :)
= = = = = =
HTH :)
Dana DeLouis

On 4/26/10 12:46 PM, WAR wrote:
Thanks, Judith!

I think you typed in an error though, should it say "A1="? I took out the
"=" and it worked.

Wayne

"JudithJubilee" wrote:

Hi War,

Try this:

=if(A1=6,200,if(A13,200,50))


--
Hope this helps


"WAR" wrote:

I'm having a brain freeze and cannot come up with the formula to express the
following:

If A1 is greater than 0 but less than 3, return 50,

If A1 is greater than 3 but less than 6, return 100,

If A1 is great than 6, return 200.

I was looking for a "between" function like in formatting, but I don't think
that is how it's done.

Thanks in advance for any help!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Function Argument Question

You did not specify what to do if the answer was exactly 6. Less than 6 =
100. Greater than 6 = 200. Judith did not make a mistake.
--
HTH...

Jim Thomlinson


"WAR" wrote:

Thanks, Judith!

I think you typed in an error though, should it say "A1="? I took out the
"=" and it worked.

Wayne

"JudithJubilee" wrote:

Hi War,

Try this:

=if(A1=6,200,if(A13,200,50))


--
Hope this helps


"WAR" wrote:

I'm having a brain freeze and cannot come up with the formula to express the
following:

If A1 is greater than 0 but less than 3, return 50,

If A1 is greater than 3 but less than 6, return 100,

If A1 is great than 6, return 200.

I was looking for a "between" function like in formatting, but I don't think
that is how it's done.

Thanks in advance for any help!

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
Text Function 2nd argument Gene Excel Worksheet Functions 10 November 8th 08 11:42 PM
How can I get around 30 argument limit of SUM function? Randy Excel Worksheet Functions 4 May 9th 07 09:05 PM
Need Function Argument pasekm Excel Worksheet Functions 4 March 18th 06 11:14 PM
text as an argument of SUM function katarina07 Excel Worksheet Functions 2 October 27th 05 01:59 PM
How do I specify more than one argument for the SUMIF function? Paul Chalmers Excel Worksheet Functions 3 October 25th 05 07:16 PM


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