ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   IF with Equal to or Greater than (https://www.excelbanter.com/excel-discussion-misc-queries/185844-if-equal-greater-than.html)

sonicj

IF with Equal to or Greater than
 
Okay, what am I doing wrong? B3 and C3 are being added properly, but when it
gets to the IF function it will only add C3*.01 to that total regardless of
how high I set the value in D3.

=(B3+C3)+IF(D3=0.1,C3*0.01,IF(D3=0.2,C3*0.015,IF (D3=0.3,C3*0.02,IF(D3=0.4,C3*0.025,IF(D3=0.5,C3 *0.03)))))

Thank you

[email protected]

IF with Equal to or Greater than
 
You have to invert your values - start with highest to lowest, rather
than the order you have it.

IF D3 0.3, it is also true that it is 0.1

On May 1, 1:58*pm, sonicj wrote:
Okay, what am I doing wrong? *B3 and C3 are being added properly, but when it
gets to the IF function it will only add C3*.01 to that total regardless of
how high I set the value in D3. * *

=(B3+C3)+IF(D3=0.1,C3*0.01,IF(D3=0.2,C3*0.015,IF (D3=0.3,C3*0.02,IF(D3=0*.4,C3*0.025,IF(D3=0.5,C 3*0.03)))))

Thank you



[email protected]

IF with Equal to or Greater than
 
Just to be more clear -

It sees the 0.1, recognizes that it is true before it even gets to
the 0.3 IF statement and completes your equation based on that.

On May 1, 2:05*pm, wrote:
You have to invert your values - start with highest to lowest, rather
than the order you have it.

IF D3 0.3, it is also true that it is 0.1

On May 1, 1:58*pm, sonicj wrote:



Okay, what am I doing wrong? *B3 and C3 are being added properly, but when it
gets to the IF function it will only add C3*.01 to that total regardless of
how high I set the value in D3. * *


=(B3+C3)+IF(D3=0.1,C3*0.01,IF(D3=0.2,C3*0.015,IF (D3=0.3,C3*0.02,IF(D3=0**.4,C3*0.025,IF(D3=0.5, C3*0.03)))))


Thank you- Hide quoted text -


- Show quoted text -



sonicj

IF with Equal to or Greater than
 
Perfect! Thank you.
=(B3+C3)+IF(D3=0.5,C3*0.03,IF(D3=0.4,C3*0.025,IF (D3=0.3,C3*0.02,IF(D3=0.2,C3*0.015,IF(D3=0.1,C3 *0.01)))))

" wrote:

You have to invert your values - start with highest to lowest, rather
than the order you have it.

IF D3 0.3, it is also true that it is 0.1

On May 1, 1:58 pm, sonicj wrote:
Okay, what am I doing wrong? B3 and C3 are being added properly, but when it
gets to the IF function it will only add C3*.01 to that total regardless of
how high I set the value in D3.

=(B3+C3)+IF(D3=0.1,C3*0.01,IF(D3=0.2,C3*0.015,IF (D3=0.3,C3*0.02,IF(D3=0Â*.4,C3*0.025,IF(D3=0.5, C3*0.03)))))

Thank you




[email protected]

IF with Equal to or Greater than
 
Glad to be of service!

On May 1, 3:35*pm, sonicj wrote:
Perfect! *Thank you.
=(B3+C3)+IF(D3=0.5,C3*0.03,IF(D3=0.4,C3*0.025,IF (D3=0.3,C3*0.02,IF(D3=0*.2,C3*0.015,IF(D3=0.1,C 3*0.01)))))



" wrote:
You have to invert your values - start with highest to lowest, rather
than the order you have it.


IF D3 0.3, it is also true that it is 0.1


On May 1, 1:58 pm, sonicj wrote:
Okay, what am I doing wrong? *B3 and C3 are being added properly, but when it
gets to the IF function it will only add C3*.01 to that total regardless of
how high I set the value in D3. * *


=(B3+C3)+IF(D3=0.1,C3*0.01,IF(D3=0.2,C3*0.015,IF (D3=0.3,C3*0.02,IF(D3=0**.4,C3*0.025,IF(D3=0.5, C3*0.03)))))


Thank you- Hide quoted text -


- Show quoted text -




All times are GMT +1. The time now is 03:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com