IF formula

Lology

New Member
Joined
Mar 13, 2018
Messages
6
Hi All,

I have some data as the following:

PRTVX
SalaryRise (1)Rise (1) DateRise (2)Rise (2) Date
901020March 17, 201830March 19, 2018

<tbody>
</tbody>





What I want is when X90 is > T90 then V90 should be the TRUE value and R90 should be the FALSE value, and when T90 is >= Today's date then R90 should be the TRUE value, otherwise all of that the value should be P90 ...

below the best I've got so far :

Code:
=IF(X90>T90,V90,R90),IF(T90>=TODAY(),R90,P90)

but unfortunately, it ends up in #VALUE ! error .

Any Suggestions ?

Regards,
Mohamed El-Ghareeb
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Idk, am trying to figure it out ...
If you don't know what you want it to return, then how we can program something for you?

Your question seems very confusing, as you show numbers in your example, but mention TRUE and FALSE in your description. So, not quite clear what you are hoping to return.

Also note that formulas can only return values to the cells that the formulas are found in, not to other cells.

The reason why you are getting an error is because the formula you posted has two many arguments. IF only has three arguments:
=IF(condition, what to return if true, what to return if false)
If you "nest" your IF formulas, the second IF must be in either the TRUE or FALSE argument. It cannot be after it (nothing can be).

I think it may be better to approach this differently.
List out the different possibilities, and what should be returned in each cell for each of the possibilities. Then perhaps it will be clearer.
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,975
Members
449,200
Latest member
Jamil ahmed

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