2 text IF arguments

CVN55

New Member
Joined
Jun 14, 2017
Messages
25
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

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
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,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

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