IF help

markster

Well-known Member
Hi I'm stuck with an IF formula. I want to say if F5 = London or Paris then do this calculation. The calculation bit is fine it's just the if F5 is London or Paris. I've tried:

IF(OR(F5="London","Paris",SUM(W6:AA6)*K6/12*5%,0))

It doesn't work - can anyone help.
Cheers
Mark

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a \$25,000 loan, 5% annual interest, 60 month loan.
Try:

=IF(OR(F5="London",F5="Paris"),SUM(W6:AA6)*K6/12*5%,0)

Hi

Try:

Code:
``=IF(OR(F5="London",F5="Paris"),(SUM(W6:AA6)*K6/12*5%),0)``

HTH

Patrick

Replies
1
Views
319
Replies
6
Views
358
Replies
4
Views
589
Replies
6
Views
739
Replies
1
Views
190

1,218,920
Messages
6,145,229
Members
450,603
Latest member
jpbegley

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?

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

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