Coulkd someone help me correct this please?

cdpaul

New Member
Joined
Sep 2, 2005
Messages
41
Office Version
  1. 365
Platform
  1. Windows
I'm trying to modify this field which currently gives a positive result if over or = to 3, then minus 2%. I want it to give a positive result for 3 or over, and equal if exactly 2 with no minus 2%.

=IF(ISBLANK(I5),"",IF(K5>=3,(M5*(G5-1))*0.98,-M5))

I would be really grateful for assistance as my modification attempts keep getting errors

Thank you
Paul
 
Last edited:

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
a shot in the dark

=IF(ISBLANK(I5),"",IF(K5=2,M5*(G5-1),K5>=3,(M5*(G5-1))*0.98,-M5))
 
Upvote 0
my bad, another shot

=IF(ISBLANK(I5),"",IF(K5>=3,(M5*(G5-1))*0.98,IF(K5=2,M5*(G5-1),-M5)))
 
Last edited:
Upvote 0
my bad, another shot

=IF(ISBLANK(I5),"",IF(K5>=3,(M5*(G5-1))*0.98,IF(K5=2,M5*(G5-1),-M5)))


Thanks for your help, this almost got me what I want but I maybe need to explain a little more what I'm trying to do.

Based on M5 being £10.00:

If K5=2 then result is £0.00
If K5>=3 then result is £9.80
If K5<=1 then result is -£10.00

The formula above is giving £10.00 when K5=2, but otherwise it's correct.

Hope that makes sense :)
 
Upvote 0
Thanks for your help, this almost got me what I want but I maybe need to explain a little more what I'm trying to do.

Based on M5 being £10.00:

If K5=2 then result is £0.00
If K5>=3 then result is £9.80
If K5<=1 then result is -£10.00

The formula above is giving £10.00 when K5=2, but otherwise it's correct.

Hope that makes sense :)

so, G5 doesn't comes into it then?

what if K5=1.5 or 2.5 ,say?

if K5 only in 0, 1, 2, 3 .. etc , try this

=IF(ISBLANK(I5),"",IF(K5>=3,M5*0.98,IF(K5=2,0,-M5)))
 
Last edited:
Upvote 0
so, G5 doesn't comes into it then?

what if K5=1.5 or 2.5 ,say?

if K5 only in 0, 1, 2, 3 .. etc , try this

=IF(ISBLANK(I5),"",IF(K5>=3,M5*0.98,IF(K5=2,0,-M5)))

Yes I need G5, the whole formula works except if K5 =2 it should read as £0.00 and it's reading as £10.00. Only inputting whole numbers so cannot have 1.5, 2.5 etc..
 
Upvote 0
ok, one more go

=IF(ISBLANK(I5),"",IF(K5>=3,M5*(G5-1)*0.98,IF(K5=2,0,-M5*(G5-1))))
 
Upvote 0
you're welcome
glad that we got it sorted
 
Upvote 0

Forum statistics

Threads
1,215,077
Messages
6,122,991
Members
449,094
Latest member
masterms

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top