What's the difference between a +IF statement and IF?

phantom1975

MrExcel MVP
Joined
Jun 3, 2002
Messages
3,962
I got a workbook today that had the following formula:

=+IF(H6="START",IU3,"")

I've never seen a + before a function. I did a search for +IF here and in Excel and didn't find anything. So, what is the significance of the +?
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I'm guessing probably absolutely nothing at all!

I have seen people using a "+" instead of "=" (it may be an old LOTUS thing), but usually don't see them do both in the same statement. Both the "+" and the "=" usually indicate to Excel that what follows is a formula and not a text string, and they should have the same effect.
 
Upvote 0
The leading "+" is for compatibility with Lotus, which does nothing good or bad to Excel formulas, except that it looks odd. Lotus formulas began with "+", "-", or "@". If the formula has a "-" sign in front of it then that would be significant, but a "+" sign for Excel means nothing significant, in your case sort of like saying =0+IF(H6="START",IU3,""). As you can see, since the leading "+" does nothing and means nothing, it can be deleted.
 
Upvote 0
I figured that since it didn't error out, it had some sort of significance. Makes sense to me though.
 
Upvote 0
As Tom and jmiskey have already pointed out -- it has to do with compatibility with Lotus -- and for this

EXCEL allows you to start a formula with + or - or @ ... and EXCEL will automatically provide the leading = for + and - ; and as a substitution for @
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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