Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Shetty
 
Posts: n/a
Default Conditional operation

I need to work out a solution based on the following.
Say
B1=10000
B2=5000
B3=50000
B4=80000
B5=225000
etc

The corrosponding cells in column C is to be calculated as per the
following conditions
From 0 to 50000 =0

from 50000 to 60000 =0.1%
from 60000 to 150000 =0.2%
from 150000 to 300000 = 0.3%
above 300000 = 0.4%

So results of C1 to C3 will be 0(zero), C4=5000, C5=41500 etc.
What formula should I put in the Column C?

Regards,
Shetty.

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Shetty,

Your ranges overlap a bit so my boundaries may not be quite what you want,
but try this in C1

=VLOOKUP(B1,{0,0;5001,0.001;6001,0.002;15001,0.003 ;30001,0.004},2)

abd c opy down

--
HTH

Bob Phillips

"Shetty" wrote in message
oups.com...
I need to work out a solution based on the following.
Say
B1=10000
B2=5000
B3=50000
B4=80000
B5=225000
etc

The corrosponding cells in column C is to be calculated as per the
following conditions
From 0 to 50000 =0

from 50000 to 60000 =0.1%
from 60000 to 150000 =0.2%
from 150000 to 300000 = 0.3%
above 300000 = 0.4%

So results of C1 to C3 will be 0(zero), C4=5000, C5=41500 etc.
What formula should I put in the Column C?

Regards,
Shetty.



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
conditional formatting conflict? Abi Excel Worksheet Functions 2 January 11th 05 03:41 PM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM
copy conditional format as ACTUAL format Dana Zulager Excel Discussion (Misc queries) 7 December 7th 04 11:02 PM
Adding more than three Conditions to 'Conditional Formatting' David McRitchie Excel Discussion (Misc queries) 1 November 27th 04 06:03 PM


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