#1   Report Post  
meekone
 
Posts: n/a
Default If Function

I'll try to explain this
I have a value in Cell A either <25.01, <1000.01 or 1000.00 If the value in
A returns true to <25.01 then Cell B value = A*.0325, if the value in A
returns true to <1000.01 then Cell B Value=A*.02, and if the last value
returns true then B=A*.01
How do I write this?
  #2   Report Post  
Harlan Grove
 
Posts: n/a
Default

meekone wrote...
I have a value in Cell A either <25.01, <1000.01 or 1000.00 If the

value in
A returns true to <25.01 then Cell B value = A*.0325, if the value in

A
returns true to <1000.01 then Cell B Value=A*.02, and if the last

value
returns true then B=A*.01
How do I write this?


Your second and third tests are redundant. Replace the second test with
<=1000. Once done, the third test will necessarily be true if the
second is false. It's a mathematical necessity. So, try

=A*IF(A<=25,0.0325,IF(A<=1000,0.02,0.01))

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
Trim function doesn't clean out ASCII Code 160 (Space) Ronald Dodge Excel Worksheet Functions 6 January 27th 05 03:48 AM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
Find a Function to use accross different worksheets R. Hale Excel Worksheet Functions 3 November 25th 04 07:07 AM
change function variable prompts?? thinkingfield Excel Worksheet Functions 1 November 8th 04 04:01 PM
Counting Function Dilemma Simon Lloyd Excel Worksheet Functions 0 November 8th 04 03:13 PM


All times are GMT +1. The time now is 06:27 PM.

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"