Issue with nested IF formula

sudhansu121

New Member
Joined
Jan 19, 2021
Messages
28
Office Version
  1. 365
Hi Experts,
Can I have a helping hand here with my problem.

I am currently putting a nested if with multiple condition and wild card but its not working.
CommentsStatus
SSM:NARResolved
AD:NARResolved
SSM:To be queriedOpen
AD:Open queryOpen
AD:Added to permanet issuePermanent issue

What I want is,
IF Comments column contains these text then the status column should be updated as shown in Status.

This is what formula I am trying to put, may be some more efficient formula is available but I am not sure.

=IF(OR(ISNUMBER(SEARCH("*NAR*",I:I)), "Resolved", ""), IF(OR(ISNUMBER(SEARCH("*To be queried*",I:I)), "Open", ""))

Thanks :)
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Try this in J2 and drag down:
=IF(ISNUMBER(SEARCH("NAR",I2)),"Resolved",IF(ISNUMBER(SEARCH("To Be Queried",I2)),"Open",""))
 
Upvote 0
Solution
Hi,

I wonder if OP actually have it's solution, as the suggested formula only addressed part of the question.

May be try this:

Book3.xlsx
IJ
1CommentsStatus
2SSM:NARResolved
3AD:NARResolved
4SSM:To be queriedOpen
5AD:Open queryOpen
6AD:Added to permanent issuePermanent Issue
Sheet823
Cell Formulas
RangeFormula
J2:J6J2=IF(COUNTIF(I2,"*NAR*"),"Resolved",IF(SUM(COUNTIF(I2,{"*queried*","*query*"})),"Open",IF(COUNTIF(I2,"*permanent*"),"Permanent Issue","")))
 
Upvote 0
T
Hi,

I wonder if OP actually have it's solution, as the suggested formula only addressed part of the question.

May be try this:

Book3.xlsx
IJ
1CommentsStatus
2SSM:NARResolved
3AD:NARResolved
4SSM:To be queriedOpen
5AD:Open queryOpen
6AD:Added to permanent issuePermanent Issue
Sheet823
Cell Formulas
RangeFormula
J2:J6J2=IF(COUNTIF(I2,"*NAR*"),"Resolved",IF(SUM(COUNTIF(I2,{"*queried*","*query*"})),"Open",IF(COUNTIF(I2,"*permanent*"),"Permanent Issue","")))
Cell Formulas
RangeFormula
Sure :)
Cell Formulas
RangeFormula
 
Upvote 0

Forum statistics

Threads
1,214,998
Messages
6,122,639
Members
449,093
Latest member
Ahmad123098

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