Adjust IF Formula

YOUNAN

Board Regular
Joined
Feb 10, 2015
Messages
101
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello,

I need some help with this Formula,

=IF(YEAR(U4)<=2014,B36*400+C36*200,0).

i need to adjust it so that it will check not only Year in cell U4 but also cells V4, W4 & Y4 and do the calculation (B36*400+C36*200,0)).


Thanks in advance.

Best Regards.

Younan
 
Try
=IF(OR(U4>AA3,V4>AA3,W4>AA3,Y4>AA3),0,IF(D4>0,AA3-X4,0))
 
Upvote 0

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
You may need to swap the commas to whatever your region requires
 
Upvote 0
Thanks for your time , i am sorry to say i have no idea on how to swap the commas or where to place, i wonder if anyone else in this forum could help me.

Best regards.
 
Upvote 0
Just change all the commas in the formula I supplied to semi colons.
 
Upvote 0
I tested your last formula on 2 pc's , in the first one it didnt work until i changed comma with semi colons, on the second pc it worked with commas, i dont know why, is there an explanation for this ?
other wise the formula works and thank you very very much for your help.
 
Upvote 0
somthing strange happened, the formula didnt work on a pc without changing all comma's to semi colons, on another pc it worked directly without changing anything, is there an explanation for this ?
Other wise the formula works and thank you very very much for your help.

Best regards
 
Upvote 0
You need to check the windows locale on each machine to see what's been set up as a separator

In Microsoft Windows, click the Start button, and then click Control Panel.
Open the dialog box for changing Regional and Language settings.
Type a new separator in the List separator box.
Click OK twice.
 
Upvote 0

Forum statistics

Threads
1,216,196
Messages
6,129,462
Members
449,511
Latest member
OttosArmy

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