Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 171
Default Results no longer currency when adding text to formula / formulas based on resulting cell don't work.

A cell formatted for currency that has this formula:
=IF($A$2<"",($E$2) & " x 2 = " & CEILING(($E$2*2),0.25),"")

now gives the result of: 8.4 x 2 = 17
instead of: $8.40 x 2 = $17.00

And E4 which would then use the above result of $17.00 now gives me a
#value return.

Is there a way to use the text and formula while still retaining
currency formatting and yet XL2K still can work with results?

TIA. I got the text and formula approach above from the archives.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 225
Default Results no longer currency when adding text to formula / formulas based on resulting cell don't work.

The cell formatting will only take effect if the result of
the calculation is a number, so you need to format
each part of your equation:

=IF($A$2<"",TEXT($E$2,"$0.00") & " x 2 = " &
TEXT(CEILING(($E$2*2),0.25),"$0.00"),"")

You can't get E4 to "use the result" of this in a calculation, because
it's text. I would just use CEILING(($E$2*2),0.25) instead in the
formula in E4 instead.



StargateFan wrote:
A cell formatted for currency that has this formula:
=IF($A$2<"",($E$2) & " x 2 = " & CEILING(($E$2*2),0.25),"")

now gives the result of: 8.4 x 2 = 17
instead of: $8.40 x 2 = $17.00

And E4 which would then use the above result of $17.00 now gives me a
#value return.

Is there a way to use the text and formula while still retaining
currency formatting and yet XL2K still can work with results?

TIA. I got the text and formula approach above from the archives.


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
hyperlink to cell based on formula results nba Excel Discussion (Misc queries) 5 November 8th 09 05:21 AM
Formula, text and currency in same cell [email protected] Excel Worksheet Functions 2 June 12th 08 10:14 AM
How do I validate text in a cell based on other sheets in the work subdeven Excel Discussion (Misc queries) 3 November 20th 07 05:08 AM
auto change cell text colour resulting from a condition Chinaman Excel Worksheet Functions 2 December 14th 06 01:19 AM
text and numbers same cell and formulas still work (like lotus) rmoore Excel Worksheet Functions 4 July 20th 05 07:02 PM


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

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

About Us

"It's about Microsoft Excel"