Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BVG BVG is offline
external usenet poster
 
Posts: 1
Default formula for excel sheet.

Hi,
I want to use a formula in excel as below described.

i want a formula value in Cell A2.b In Cell A1 is value say if it is $ 500
or above then the A2 should be 75% of A1, if A2 is between 200 to 500 then
A2 should be 50%, if A1 is below 200 then A2 should be 25% of A1, so please
help me out - thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 506
Default formula for excel sheet.

Paste this formula in A2 cell

=IF(AND(A1=0,A1<200),A1*25/100,IF(AND(A1=200,A1<500),A1*50/100,IF(A1=500,A1*75/100,"")))

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"BVG" wrote:

Hi,
I want to use a formula in excel as below described.

i want a formula value in Cell A2.b In Cell A1 is value say if it is $ 500
or above then the A2 should be 75% of A1, if A2 is between 200 to 500 then
A2 should be 50%, if A1 is below 200 then A2 should be 25% of A1, so please
help me out - thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default formula for excel sheet.

=if(a1500,a1*75%,if(a1200,a1*50%,a1*25%))

Regards,
Fred

"BVG" wrote in message
...
Hi,
I want to use a formula in excel as below described.

i want a formula value in Cell A2.b In Cell A1 is value say if it is $
500
or above then the A2 should be 75% of A1, if A2 is between 200 to 500
then
A2 should be 50%, if A1 is below 200 then A2 should be 25% of A1, so
please
help me out - thanks in advance.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default formula for excel sheet.

Hi

When values in A1 never will be negative or non-numeric, then
=MATCH($A$1,{0;200;500},1)*0.25

When values in A1 may be negative, but the condition 'below 200' applies,
then
=MATCH($A$1,{-999999;200;500},1)*0.25
(replace the 1st member in array (-999999) with any of your own.

When values in A1 < 0 must return an empty cell or some string, then
=IF(ISERROR(MATCH($A$1,{0;200;500},1)),"",MATCH($A $1,{0;200;500},1)*0.25)


Arvi Laanemets



"BVG" wrote in message
...
Hi,
I want to use a formula in excel as below described.

i want a formula value in Cell A2.b In Cell A1 is value say if it is $
500
or above then the A2 should be 75% of A1, if A2 is between 200 to 500
then
A2 should be 50%, if A1 is below 200 then A2 should be 25% of A1, so
please
help me out - thanks in advance.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default formula for excel sheet.

Another solution:

=0.25*(($A$1=0)+($A$1=200)+($A$1=500))

When no condition applies, this formula returna 0%

PS: In both answers, format the formula cell as percentage!


Arvi Laanemets


"BVG" wrote in message
...
Hi,
I want to use a formula in excel as below described.

i want a formula value in Cell A2.b In Cell A1 is value say if it is $
500
or above then the A2 should be 75% of A1, if A2 is between 200 to 500
then
A2 should be 50%, if A1 is below 200 then A2 should be 25% of A1, so
please
help me out - thanks in advance.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default formula for excel sheet.

.... but having tested for A1<200 you don't then need to test for A1=200,
and similarly for 500.

=IF(AND(A1=0,A1<200),A1*25/100,IF(AND(A1=200,A1<500),A1*50/100,IF(A1=500,A1*75/100,"")))
can be simplified to
=IF(A1<0,"",IF(A1<200,A1*25%,IF(A1<500,A1*50%,A1*7 5%)))
--
David Biddulph


Ms-Exl-Learner wrote:
Paste this formula in A2 cell

=IF(AND(A1=0,A1<200),A1*25/100,IF(AND(A1=200,A1<500),A1*50/100,IF(A1=500,A1*75/100,"")))

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"BVG" wrote:

Hi,
I want to use a formula in excel as below described.

i want a formula value in Cell A2.b In Cell A1 is value say if it
is $ 500 or above then the A2 should be 75% of A1, if A2 is
between 200 to 500 then A2 should be 50%, if A1 is below 200 then A2
should be 25% of A1, so please help me out - thanks in advance.



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
Build a sheet name in an Excel formula Keith Howie[_2_] Excel Worksheet Functions 2 December 9th 09 02:59 AM
need help on excel sheet formula Maxofus Excel Worksheet Functions 1 January 17th 08 02:16 PM
How to put VBA formula in Excel Sheet EricBB New Users to Excel 1 November 1st 07 05:58 AM
Is there a formula which will print the sheet name in Excel? jhow Excel Discussion (Misc queries) 2 February 6th 06 09:30 PM
Can't get a formula to work in each row of an Excel sheet. JessicaMc Excel Worksheet Functions 2 June 8th 05 08:11 PM


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