Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Margie
 
Posts: n/a
Default Formula Problem - If Statement

I am trying to create a formula that if the value entered in cell b40 is
greater than or equal to $75,000,000., the result in cell B68 should read
"REFER TO COMPANY".
The formula looks like this:

=IF(B40=75000000,'REFER TO COMPANY',IF(B40<=24000000,'Formula
Tables'!B25,'Formula Tables'!E25))

The two formula tables referenced in the formula are for values <=24,000,000
and values =24,000,001. I need a third option that returns text that reads
"refer to company" if B40 is =75,000,000. I am erroring out, however. If I
put "" around 'refer to company', the cell returns #name?; if I leave it as
shown, I get a message stating there is "an error in the formula, consult
Excel help". I'd rather go to the experts....could someone tell me where
I've gone wrong?

Thanks very much.
  #3   Report Post  
N Harkawat
 
Posts: n/a
Default

This works for me
=IF(B40=75000000,"REFER TO COMPANY",IF(B40<=24000000,'Formula
Tables'!B25,'Formula Tables'!E25))
assuming that the sheet name is "formula tables" )(note the space between
the 2 words)

if there isn't any space, then the sheet name that is currently enclosed
within commas will simply change as follows:
=IF(B40=75000000,"REFER TO
COMPANY",IF(B40<=24000000,FormulaTables!B25,Formul aTables!E25))

"Margie" wrote in message
...
I am trying to create a formula that if the value entered in cell b40 is
greater than or equal to $75,000,000., the result in cell B68 should read
"REFER TO COMPANY".
The formula looks like this:

=IF(B40=75000000,'REFER TO COMPANY',IF(B40<=24000000,'Formula
Tables'!B25,'Formula Tables'!E25))

The two formula tables referenced in the formula are for values
<=24,000,000
and values =24,000,001. I need a third option that returns text that
reads
"refer to company" if B40 is =75,000,000. I am erroring out, however.
If I
put "" around 'refer to company', the cell returns #name?; if I leave it
as
shown, I get a message stating there is "an error in the formula, consult
Excel help". I'd rather go to the experts....could someone tell me where
I've gone wrong?

Thanks very much.



  #4   Report Post  
Margie
 
Posts: n/a
Default

Thank you! Knew it had to have something to do with the "".

"N Harkawat" wrote:

This works for me
=IF(B40=75000000,"REFER TO COMPANY",IF(B40<=24000000,'Formula
Tables'!B25,'Formula Tables'!E25))
assuming that the sheet name is "formula tables" )(note the space between
the 2 words)

if there isn't any space, then the sheet name that is currently enclosed
within commas will simply change as follows:
=IF(B40=75000000,"REFER TO
COMPANY",IF(B40<=24000000,FormulaTables!B25,Formul aTables!E25))

"Margie" wrote in message
...
I am trying to create a formula that if the value entered in cell b40 is
greater than or equal to $75,000,000., the result in cell B68 should read
"REFER TO COMPANY".
The formula looks like this:

=IF(B40=75000000,'REFER TO COMPANY',IF(B40<=24000000,'Formula
Tables'!B25,'Formula Tables'!E25))

The two formula tables referenced in the formula are for values
<=24,000,000
and values =24,000,001. I need a third option that returns text that
reads
"refer to company" if B40 is =75,000,000. I am erroring out, however.
If I
put "" around 'refer to company', the cell returns #name?; if I leave it
as
shown, I get a message stating there is "an error in the formula, consult
Excel help". I'd rather go to the experts....could someone tell me where
I've gone wrong?

Thanks very much.




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
Howdo U copy a formula down a column, that uses data in another w. Need Help pasting a formula Excel Worksheet Functions 1 February 25th 05 06:04 PM
Precision problem with automated formula fill-in Erny Meyer Excel Worksheet Functions 1 February 4th 05 01:22 PM
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 09:04 PM
IF statement problem simon Excel Worksheet Functions 1 December 30th 04 10:59 AM
Formula Problem Tracey BVS Excel Discussion (Misc queries) 2 December 9th 04 11:50 AM


All times are GMT +1. The time now is 06:11 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"