Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Two "if"s in a formula

I am not getting any result with this formula. I have tried it two different
times.

When I use this:
=IF(D38=1.09,"$1.09",0),IF(D38=4.49,"$1.09",0)
I get #Value!

When I use this:
IF(D38=1.09,"$1.09",0)*IF(D38=4.49,"$1.09",0)
I get 0

I am trying to have the cell either say $1.09 or $0

Can someone please help? Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 355
Default Two "if"s in a formula

Try
=IF(D38=1.09,"$1.09",IF(D38=4.49,"$1.09",0),0)


"cwilliams" wrote:

I am not getting any result with this formula. I have tried it two different
times.

When I use this:
=IF(D38=1.09,"$1.09",0),IF(D38=4.49,"$1.09",0)
I get #Value!

When I use this:
IF(D38=1.09,"$1.09",0)*IF(D38=4.49,"$1.09",0)
I get 0

I am trying to have the cell either say $1.09 or $0

Can someone please help? Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Two "if"s in a formula

=IF(OR(D38=1.09,D38=4.49),"$1.09",0)


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"cwilliams" wrote in message
...
I am not getting any result with this formula. I have tried it two

different
times.

When I use this:
=IF(D38=1.09,"$1.09",0),IF(D38=4.49,"$1.09",0)
I get #Value!

When I use this:
IF(D38=1.09,"$1.09",0)*IF(D38=4.49,"$1.09",0)
I get 0

I am trying to have the cell either say $1.09 or $0

Can someone please help? Thanks!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Two "if"s in a formula

Try something like this:

=IF(OR(D38=1.09,D38=4.49),"$1.09",0)

Note: that will return TEXT of "$1.09"

If you want it to return a numeric value, use this formula and format the
cell as currency:
=IF(OR(D38=1.09,D38=4.49),1.09,0)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"cwilliams" wrote:

I am not getting any result with this formula. I have tried it two different
times.

When I use this:
=IF(D38=1.09,"$1.09",0),IF(D38=4.49,"$1.09",0)
I get #Value!

When I use this:
IF(D38=1.09,"$1.09",0)*IF(D38=4.49,"$1.09",0)
I get 0

I am trying to have the cell either say $1.09 or $0

Can someone please help? Thanks!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Two "if"s in a formula

Thanks for your help! It worked!!!!

"Ron Coderre" wrote:

Try something like this:

=IF(OR(D38=1.09,D38=4.49),"$1.09",0)

Note: that will return TEXT of "$1.09"

If you want it to return a numeric value, use this formula and format the
cell as currency:
=IF(OR(D38=1.09,D38=4.49),1.09,0)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"cwilliams" wrote:

I am not getting any result with this formula. I have tried it two different
times.

When I use this:
=IF(D38=1.09,"$1.09",0),IF(D38=4.49,"$1.09",0)
I get #Value!

When I use this:
IF(D38=1.09,"$1.09",0)*IF(D38=4.49,"$1.09",0)
I get 0

I am trying to have the cell either say $1.09 or $0

Can someone please help? Thanks!



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default Two "if"s in a formula

Try this:

=IF(OR(D38=1.09,D38=4.49),"$1.09","0")



"cwilliams" wrote in message
...
I am not getting any result with this formula. I have tried it two
different
times.

When I use this:
=IF(D38=1.09,"$1.09",0),IF(D38=4.49,"$1.09",0)
I get #Value!

When I use this:
IF(D38=1.09,"$1.09",0)*IF(D38=4.49,"$1.09",0)
I get 0

I am trying to have the cell either say $1.09 or $0

Can someone please help? Thanks!



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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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