ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Question about forumla (https://www.excelbanter.com/excel-discussion-misc-queries/82099-question-about-forumla.html)

manesh

Question about forumla
 

I have a cell that needs to change from a % to a $ depending on a
validation dropdown list. Once it has been set, I need to be able to
tell the difference between the % and the $ in a couple formula's in
the same sheet.

Thanks


--
manesh
------------------------------------------------------------------------
manesh's Profile: http://www.excelforum.com/member.php...o&userid=33268
View this thread: http://www.excelforum.com/showthread...hreadid=530897


Bernie Deitrick

Question about forumla
 
manesh,

You could use a formula like:

=IF(A2="Test",TEXT(A1,"%0.00"),TEXT(A1,"$0,000.00" ))

With a similar test for you further formulas.

HTH,
Bernie
MS Excel MVP


"manesh" wrote in message
...

I have a cell that needs to change from a % to a $ depending on a
validation dropdown list. Once it has been set, I need to be able to
tell the difference between the % and the $ in a couple formula's in
the same sheet.

Thanks


--
manesh
------------------------------------------------------------------------
manesh's Profile: http://www.excelforum.com/member.php...o&userid=33268
View this thread: http://www.excelforum.com/showthread...hreadid=530897




manesh

Question about forumla
 

So that works, but how do I have 1 cell where you can put in a number,
and have that forumla in it. can I have a place to enter text WITh a
formula?


--
manesh
------------------------------------------------------------------------
manesh's Profile: http://www.excelforum.com/member.php...o&userid=33268
View this thread: http://www.excelforum.com/showthread...hreadid=530897



All times are GMT +1. The time now is 03:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com