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 Easy one... but not for me :S


KO I have two columns, the first column (A) has some figures. The second
column (B) has one of three scenarios depending on the first column...

If A <10,000 then B will be 0
If A 10,000 but <100,000 B will be 300
If A 100,000 then B = 3% of A

I'm sure this is easy, but I can't do it, I would greatly appreciate
any help you guys can give me.


--
ChrisMattock
------------------------------------------------------------------------
ChrisMattock's Profile: http://www.excelforum.com/member.php...o&userid=33912
View this thread: http://www.excelforum.com/showthread...hreadid=557800

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Easy one... but not for me :S

On Mon, 3 Jul 2006 05:34:17 -0500, ChrisMattock
wrote:


KO I have two columns, the first column (A) has some figures. The second
column (B) has one of three scenarios depending on the first column...

If A <10,000 then B will be 0
If A 10,000 but <100,000 B will be 300
If A 100,000 then B = 3% of A

I'm sure this is easy, but I can't do it, I would greatly appreciate
any help you guys can give me.



=IF(A1<10000,0,IF(A1<100000,300,A1*0.03))

Note that you did not define what you want to happen if A1 is exactly equal to
10,000 and/or 100,000. If my assumptions are incorrect as to what should
happen at these points, change the equality symbol accordingly.


--ron
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Easy one... but not for me :S


Thanks for checking this post out, but I have worked it out now by
nesting If statements as follows...

=IF(A2<10000,0,IF(A2<100000,300,A2*0.03))


--
ChrisMattock
------------------------------------------------------------------------
ChrisMattock's Profile: http://www.excelforum.com/member.php...o&userid=33912
View this thread: http://www.excelforum.com/showthread...hreadid=557800

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 99
Default Easy one... but not for me :S

Hi

B1=(A110000)*MAX(300,A1*0.03)


Arvi Laanemets


"ChrisMattock"
wrote in message
news:ChrisMattock.2ad7sc_1151922904.0152@excelforu m-nospam.com...

KO I have two columns, the first column (A) has some figures. The second
column (B) has one of three scenarios depending on the first column...

If A <10,000 then B will be 0
If A 10,000 but <100,000 B will be 300
If A 100,000 then B = 3% of A

I'm sure this is easy, but I can't do it, I would greatly appreciate
any help you guys can give me.


--
ChrisMattock
------------------------------------------------------------------------
ChrisMattock's Profile:

http://www.excelforum.com/member.php...o&userid=33912
View this thread: http://www.excelforum.com/showthread...hreadid=557800



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Easy one... but not for me :S

On Mon, 3 Jul 2006 14:32:20 +0300, "Arvi Laanemets"
wrote:

Hi

B1=(A110000)*MAX(300,A1*0.03)


Arvi Laanemets


I believe this does not give what the OP wants for values 10,000 -- 100,000


--ron


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Easy one... but not for me :S


Ron is right, this does not yield the correct results.

The formula I mentioned in my second post is perfect, the way I phrased
the question was badly done though I admit... here is how it should be
phrased.

If A is less than 10,000 then B will be 0
If A greater than or equal to 10,000 but less than 100,000 B will be
300
If A greater than or equal to 100,000 then B = 3% of A

Therefore this IS the right formula for my needs...

=IF(A2<10000,0,IF(A2<100000,300,A2*0.03))

Thanks for all your input though guys.


--
ChrisMattock
------------------------------------------------------------------------
ChrisMattock's Profile: http://www.excelforum.com/member.php...o&userid=33912
View this thread: http://www.excelforum.com/showthread...hreadid=557800

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 99
Default Easy one... but not for me :S

Hi

OK, I didn't check it. Then
=(A1=10000)*MAX(300;(A1=100000)*A1*0.03)

But are you sure, you want such leap in percentages
A=99999 then B=300
A=100000 then B=3000
???

Arvi Laanemets


"ChrisMattock"
wrote in message
news:ChrisMattock.2addcd_1151930103.7662@excelforu m-nospam.com...

Ron is right, this does not yield the correct results.

The formula I mentioned in my second post is perfect, the way I phrased
the question was badly done though I admit... here is how it should be
phrased.

If A is less than 10,000 then B will be 0
If A greater than or equal to 10,000 but less than 100,000 B will be
300
If A greater than or equal to 100,000 then B = 3% of A

Therefore this IS the right formula for my needs...

=IF(A2<10000,0,IF(A2<100000,300,A2*0.03))

Thanks for all your input though guys.


--
ChrisMattock
------------------------------------------------------------------------
ChrisMattock's Profile:

http://www.excelforum.com/member.php...o&userid=33912
View this thread: http://www.excelforum.com/showthread...hreadid=557800



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 733
Default Easy one... but not for me :S

Arvi Laanemets wrote...
OK, I didn't check it. Then
=(A1=10000)*MAX(300;(A1=100000)*A1*0.03)


If you're going to respond in English language newsgroups, use the
common English language argument separator, comma, NOT semicolon.

But are you sure, you want such leap in percentages
A=99999 then B=300
A=100000 then B=3000
???


If the OP does want this level of percentage discontinuity, that'd be a
very good reason to avoid using MAX in this particular calculation.
It's possible to use only one IF call,

=IF(x<100000,(x=10000)*300,x*0.03)

and it's possible to use no function calls at all,

=(x=10000)*(x<100000)*300+(x=100000)*x*0.03

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
Easy question? Page numbers ATC Excel Discussion (Misc queries) 1 February 1st 06 04:27 AM
Easy Formula Question - if you know how! Anthony Excel Discussion (Misc queries) 5 July 31st 05 10:37 PM
OsCommerce - Easy Populate Script - CSV/TXT Conversion Problem. PriceTrim Excel Discussion (Misc queries) 3 July 5th 05 05:27 PM
new user with easy question? not easy for me speakeztruth New Users to Excel 5 June 3rd 05 09:40 PM
is there an easy way to move parts of cells around jvoortman Excel Discussion (Misc queries) 0 January 21st 05 11:08 PM


All times are GMT +1. The time now is 03:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"