#1   Report Post  
Posted to microsoft.public.excel.misc
Ben Ben is offline
external usenet poster
 
Posts: 509
Default IF Formula Error

I seem to be incurring an error when trying to create an IF formula.

The formula is as follows:
=IF(D1=0,E1,D10.01,B30*D1)

Basically, the argument is that if I produce my quote in a foreign currency,
the cell where the price appears looks to reference D1 to see if there is a
foreign currency. If it says 0, there's not - if it is a value greater than
0.01 there is, then it has to take the cell where the price is, in this case
B30 and multiply it by the value in D1

What am I doing wrong??
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default IF Formula Error

Maybe...

=IF(D1=0,E1,B30*D1)



Ben wrote:

I seem to be incurring an error when trying to create an IF formula.

The formula is as follows:
=IF(D1=0,E1,D10.01,B30*D1)

Basically, the argument is that if I produce my quote in a foreign currency,
the cell where the price appears looks to reference D1 to see if there is a
foreign currency. If it says 0, there's not - if it is a value greater than
0.01 there is, then it has to take the cell where the price is, in this case
B30 and multiply it by the value in D1

What am I doing wrong??


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 118
Default IF Formula Error

Hi ben
Try
=IF(D1=0,E1,IF(D10.01,E1,B30*D1))

HTH
Michael M

"Ben" wrote:

I seem to be incurring an error when trying to create an IF formula.

The formula is as follows:
=IF(D1=0,E1,D10.01,B30*D1)

Basically, the argument is that if I produce my quote in a foreign currency,
the cell where the price appears looks to reference D1 to see if there is a
foreign currency. If it says 0, there's not - if it is a value greater than
0.01 there is, then it has to take the cell where the price is, in this case
B30 and multiply it by the value in D1

What am I doing wrong??

  #4   Report Post  
Posted to microsoft.public.excel.misc
Ben Ben is offline
external usenet poster
 
Posts: 509
Default IF Formula Error

Hi Michael,
I copied that in and although it doesn't come up with the forumla error,
when there is a value in cell D1 that's above 0.01, it's not carrying out the
B30*D1.
Any suggestions? Maybe it needs a different forumla to IF?
Cheers,
Ben

"Michael M" wrote:

Hi ben
Try
=IF(D1=0,E1,IF(D10.01,E1,B30*D1))

HTH
Michael M

"Ben" wrote:

I seem to be incurring an error when trying to create an IF formula.

The formula is as follows:
=IF(D1=0,E1,D10.01,B30*D1)

Basically, the argument is that if I produce my quote in a foreign currency,
the cell where the price appears looks to reference D1 to see if there is a
foreign currency. If it says 0, there's not - if it is a value greater than
0.01 there is, then it has to take the cell where the price is, in this case
B30 and multiply it by the value in D1

What am I doing wrong??

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default IF Formula Error

Your formula is written so that if D10.01, the result is E1, not B30*D1.

Do you want:

=IF(D10.01,B30*D1,E1)

???


In article ,
Ben wrote:

Hi Michael,
I copied that in and although it doesn't come up with the forumla error,
when there is a value in cell D1 that's above 0.01, it's not carrying out the
B30*D1.
Any suggestions? Maybe it needs a different forumla to IF?
Cheers,
Ben

"Michael M" wrote:

Hi ben
Try
=IF(D1=0,E1,IF(D10.01,E1,B30*D1))

HTH
Michael M

"Ben" wrote:

I seem to be incurring an error when trying to create an IF formula.

The formula is as follows:
=IF(D1=0,E1,D10.01,B30*D1)

Basically, the argument is that if I produce my quote in a foreign
currency,
the cell where the price appears looks to reference D1 to see if there is
a
foreign currency. If it says 0, there's not - if it is a value greater
than
0.01 there is, then it has to take the cell where the price is, in this
case
B30 and multiply it by the value in D1

What am I doing wrong??



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default IF Formula Error

On May 6, 2:26 pm, Ben wrote:
I seem to be incurring an error when trying to create an IF formula.
The formula is as follows:
=IF(D1=0,E1,D10.01,B30*D1)


Perhaps this is what you were trying to write:

=if(or(D1=0,D1<=0.01), E1, B30*D1)

But note that that can be simplied to just:

=if(D1<=0.01, E1, B30*D1)

  #7   Report Post  
Posted to microsoft.public.excel.misc
Ben Ben is offline
external usenet poster
 
Posts: 509
Default IF Formula Error

It still wont multiply the value in B30 by the value in D1 when there is a
value in D1!

"joeu2004" wrote:

On May 6, 2:26 pm, Ben wrote:
I seem to be incurring an error when trying to create an IF formula.
The formula is as follows:
=IF(D1=0,E1,D10.01,B30*D1)


Perhaps this is what you were trying to write:

=if(or(D1=0,D1<=0.01), E1, B30*D1)

But note that that can be simplied to just:

=if(D1<=0.01, E1, B30*D1)


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 118
Default IF Formula Error

Ben
All of the attached formulae work in their respective ways.
Maybe you could post a sample of what you actually want and let us re-assess
Also, check to formatting of your cells to make sure they are all formatted
as numbers.


HTH
Michael M

"Ben" wrote:

It still wont multiply the value in B30 by the value in D1 when there is a
value in D1!

"joeu2004" wrote:

On May 6, 2:26 pm, Ben wrote:
I seem to be incurring an error when trying to create an IF formula.
The formula is as follows:
=IF(D1=0,E1,D10.01,B30*D1)


Perhaps this is what you were trying to write:

=if(or(D1=0,D1<=0.01), E1, B30*D1)

But note that that can be simplied to just:

=if(D1<=0.01, E1, B30*D1)


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Error Marilyn Excel Worksheet Functions 8 September 22nd 06 02:44 AM
Error in Formula LaniG Excel Discussion (Misc queries) 2 May 29th 06 09:54 PM
How do I replace "#N/A" error, to continue my formula w/o error? Ali Khan Excel Worksheet Functions 2 February 20th 06 03:49 PM
Formula Error Marshall Scmidt Excel Worksheet Functions 3 August 2nd 05 04:55 PM
Error in a formula imej-clavier Excel Discussion (Misc queries) 1 December 17th 04 04:07 PM


All times are GMT +1. The time now is 09:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"