Nested IF Query

broncos347

Active Member
Joined
Feb 16, 2005
Messages
291
Office Version
  1. 365
Platform
  1. Windows
I am trying to work out a formula for the following

IF Column H = "Y" then the text "Not Rqd" is shown in Column K, however, if Column K = "N" and Column J>Column I then the text "Yes" is shown, however if Column K = N and Column J<Column I then the text "No" is shown.

i know this is probably a nested IF formula but I cannot for the life of me figure out how to do it, any help would be appreciated.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
<column i="" then="" the="" text="" "no"="" is="" shown.
Hi

I think you might have got muddled somewhere :-/
</column>
IF Column H = "Y" then the text "Not Rqd" is shown in Column K, however, if Column K = "N"

Is the second Column K supposed to refer to H again?

however if Column K = N and Column J

Uhm. What? ;)

Assuming the K is supposed to be H then this might set you on the right path...

Code:
=IF(H1="Y","Not Rqd",IF(AND(H1="N",J1>I1),"Yes","Something Something"))
 
Upvote 0
JazzSP8, thanks for the reply, I probably could have written what i was looking for a bit better, here goes

IF H3="Y" then "Not Rqd"

IF H3="N", J3>=I3 then "Yes"

IF H3="N", J3<I3 then "No"

your formula almost worked except that when i amended your H1="N",J1>I1 formula to H1="N",J1>=I1 it didn't seem to work but knowing me its probably something that i've done.
 
Upvote 0
Try this...

Code:
=IF(H3="Y","Not Rqd",IF(AND(H3="N",J3>=I3),"Yes",IF(H3="N",J3,"")))

It shows as blank if none of the conditions are met :)
 
Upvote 0
No problem, glad to have helped :D
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,318
Members
449,218
Latest member
Excel Master

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