IF Statement

vicedo

Active Member
Joined
Jan 9, 2015
Messages
401
Hi guys, please i know this is very easy but i'm not just thinking straight.

I'm trying to compute an IF statement for this

Edozie, Victor=LEFT(Staff_Independence[@Name],FIND(",",Staff_Independence[@Name])-1)Edozie

<tbody>
</tbody>



I don't want the name in the last column, instead, i want it blank
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
It is the T function and here is the explanation from the help file:

If value is or refers to text, T returns value. If value does not refer to text, T returns ""

So in my formula, it will return "" if it finds the text because it will return a number or if it didn't it would return the cell value because FIND will return an error if it didn't find the text.
 
Upvote 0
I'm assuming it's doing that with blank cells, try this:

=IFERROR(T(FIND(",",A1)),A1&"")
 
Upvote 0

Forum statistics

Threads
1,216,820
Messages
6,132,897
Members
449,768
Latest member
LouBa

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