2 text IF arguments

CVN55

New Member
Joined
Jun 14, 2017
Messages
29
Hi
How do I create to IF arguments for the same cell relating to text:

So if cell A1 = "Non Portfolio" or "Portfolio status not yet known" then I want it to output "ALL COSTS", if false, then just blank.
So normally for 1 argument it would be =IF($C$33="Non Portfolio"," ","ALL COSTS")

Thank you,
Catherine
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi,

=IF(OR($C$33="Non Portfolio", $C$33 ="Portfolio status not yet known"), " ", "ALL COSTS")

Something doesn't add up in your post. You said cell "A1" so why are you using cell C33 ?

Shouldn't your formula be :

=IF(OR($A$1="Non Portfolio", $A$1 ="Portfolio status not yet known"), "", "ALL COSTS")

Also if you want to display "ALL COSTS" if the condition is TRUE, you need to put it in the IF TRUE parameter of the If function, like this :

=IF(OR($A$1="Non Portfolio", $A$1 ="Portfolio status not yet known"), "ALL COSTS", "")
 
Last edited:
Upvote 0
Sorry the A1/C33 was my error! This works perfectly, thank you and it was the latter that I wanted to do!

Thank you so much!:)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,021
Latest member
Mohamed Magdi Tawfiq Emam

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