[b]Using an asterisk as "IF" function[/b]

teo

New Member
Joined
Apr 29, 2005
Messages
1
I have seen an asterisk used in the same way as an IF function. I am trying to simplify imbedded functions that include several IF / AND / OR functions.

Question: Will Example 1 always yield the same result as Example 2? Is this 'shortcut' going to provide any unwelcome surprises?

Example 1: =MIN(-SUM(F74:F76),F71)*(F71>0)

Example 2: =IF(F71>0,(MIN(-SUM(F74:F76),F71)),0)

Many thanks.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
teo,

WELCOME to the Board ! ! !!!

the sheet here may be the proof of what you think to be the truth
in such cases it seems good to me to try out with very simple examples

kind regards,
Erik
Map1.xls
ABCDEF
1-400144
200004
311023
Blad2
 
Upvote 0
The asterisk does not replace an IF but there are different ways to write a formula and to get the same result. For example, instead of nesting a bunch of IF statements together, most of the time you can use VLOOKUP. As an experiment type:-

=TRUE in a cell.

Now type:-
=1*TRUE

Now type:-
=0+TRUE

Now type:-
=--(TRUE)

Now, with all of these examples, replace TRUE with FALSE. Come back with any questions you may have.
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

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