Formula help

Jemma Atkinson

Well-known Member
Joined
Jul 7, 2008
Messages
509
Hi, the below formula looks at cell C9 then looks for the code in "Current Deliverables", if match found then it returns "IN DELIVERABLE" else "NOT DELIVERABLE"

I would like to add another condition, i need the formula to also look in cell F9 of the current worksheet, if the string in this cell reads "closed" then return "PORTFOLIO CLOSED" rather than "NOT IN DELIVERABLE"


=IF($C9="","",IF(ISERROR(MATCH($C9,'Current Deliverables'!$A:$A,0)),"NOT IN DELIVERABLE","IN DELIVERABLE"))
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
maybe ...

=IF($C9="","",
IF(F9="Closed", "PORTFOLIO CLOSED",
IF(ISERROR(MATCH($C9,'Current Deliverables'!$A:$A,0)), "NOT ", "") & "IN DELIVERABLE"))
 
Upvote 0
Why does this return "IN DELIVERBALE" when the string in F9 reads "Closed"

Excel Workbook
CDEF
6PortfolioInvestment ManagerIM Rec PortfolioComments
9ZMTCWCTestIN DELIVERABLEPortfolio Closed
Checklist
 
Upvote 0
Looks like the string in F9 says "Portfolio Closed", not "Closed"
 
Upvote 0
=IF($C9="","",
IF(ISNUMBER(SEARCH("closed", F9)), "PORTFOLIO CLOSED",
IF(ISERROR(MATCH($C9,'Current Deliverables'!$A:$A,0)), "NOT ", "") & "IN DELIVERABLE"))
 
Upvote 0

Forum statistics

Threads
1,224,565
Messages
6,179,549
Members
452,927
Latest member
rows and columns

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