If formula from quattro pro to EXCEL

christshis

New Member
Joined
May 9, 2004
Messages
12
Changed a formula from quatro pro to Excel. But formula did not convert.
I would like a formula that will read:

If C10=0, or if D10=0, then =(C11-D11)/D11-1

My problem is, when a Zero is in one of the columns, it gives me an error message.

In quattro, the formula was :

@IF(C10=0#OR#D10=,(C10-D10), (C10/D10)-1)

Any help to have the same result in EXCEL? Thank you.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Changed a formula from quatro pro to Excel. But formula did not convert.
I would like a formula that will read:

If C10=0, or if D10=0, then =(C11-D11)/D11-1


=IF(OR(C10=0,D10=0),(C11-D11)/D11-1,"")
 
Upvote 0
Good answers, but... Shouldn't the possibility of D11-1 being 0 be considered? I would modify the above to consider this.

For instance, I would modify Joe Was's formula to:
=IF(D11-1=0,"",if(OR(C10=0,D10=0),(C11-D11)/D11-1,""))

The first "" could be some warning message, instead.
 
Upvote 0

Forum statistics

Threads
1,213,489
Messages
6,113,947
Members
448,534
Latest member
benefuexx

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