Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default formulas dollars and formula %

Hello
Excel 2002 - involves 2 columns Column K and column J
If the value in K4 = 5 then whatever is in cell J4 in dollars
But if the value in K4 =1 then J4 €“ 100 in %
Example
Column J Column K Results should be
5 1375 $1,375
1 22 78%
Thanks in advance
I've have tried .....

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default formulas dollars and formula %

Slightly confused with your example you state the K4 should equal 1 or 5, but
in your example the 1 and 5 appear in J4

Assuming the 1 and 5 are in J4 - Two ways to solve this
=(J4=5)*K4+(J4=1)*(1-k4/100) - you will have to use conditional formating to
change the "presentation" of the numbers

second way
=if(J4=5,K4,if(J4=1,1-k4/100,"not one or five")) - you will have to use
conditional formating to change the "presentation" of the numbers
--
Wag more, bark less


"Wanna Learn" wrote:

Hello
Excel 2002 - involves 2 columns Column K and column J
If the value in K4 = 5 then whatever is in cell J4 in dollars
But if the value in K4 =1 then J4 €“ 100 in %
Example
Column J Column K Results should be
5 1375 $1,375
1 22 78%
Thanks in advance
I've have tried .....

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default formulas dollars and formula %

=IF(J4=5,TEXT(K4,"$#,##0.00"),IF(J4=1,TEXT((100-K4)/100,"00 %"),""))

--
John C


"Wanna Learn" wrote:

Hello
Excel 2002 - involves 2 columns Column K and column J
If the value in K4 = 5 then whatever is in cell J4 in dollars
But if the value in K4 =1 then J4 €“ 100 in %
Example
Column J Column K Results should be
5 1375 $1,375
1 22 78%
Thanks in advance
I've have tried .....

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default formulas dollars and formula %

John C comments on using the text will work as well as the conditional
formating - our formulas will yield the same results - although they look
slightly different....
--
Wag more, bark less


"Wanna Learn" wrote:

Hello
Excel 2002 - involves 2 columns Column K and column J
If the value in K4 = 5 then whatever is in cell J4 in dollars
But if the value in K4 =1 then J4 €“ 100 in %
Example
Column J Column K Results should be
5 1375 $1,375
1 22 78%
Thanks in advance
I've have tried .....

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default formulas dollars and formula %

Conditional formatting changes the display of the cell, borders, font color,
background color, underlining, bold, etc. I am not sure where it can change
the presentation of the cell contents, as you suggest.

--
John C


"Brad" wrote:

John C comments on using the text will work as well as the conditional
formating - our formulas will yield the same results - although they look
slightly different....
--
Wag more, bark less


"Wanna Learn" wrote:

Hello
Excel 2002 - involves 2 columns Column K and column J
If the value in K4 = 5 then whatever is in cell J4 in dollars
But if the value in K4 =1 then J4 €“ 100 in %
Example
Column J Column K Results should be
5 1375 $1,375
1 22 78%
Thanks in advance
I've have tried .....



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default formulas dollars and formula %

With excel 2007 conditional formating allows the changing of the presentaion
of cell contents (Just got done validating this) - I'm pretty sure that that
feature was in 2003 - Not sure if it was in prior versions - but based on
past postings - I would think that it would be there....

--
Wag more, bark less


"John C" wrote:

Conditional formatting changes the display of the cell, borders, font color,
background color, underlining, bold, etc. I am not sure where it can change
the presentation of the cell contents, as you suggest.

--
John C


"Brad" wrote:

John C comments on using the text will work as well as the conditional
formating - our formulas will yield the same results - although they look
slightly different....
--
Wag more, bark less


"Wanna Learn" wrote:

Hello
Excel 2002 - involves 2 columns Column K and column J
If the value in K4 = 5 then whatever is in cell J4 in dollars
But if the value in K4 =1 then J4 €“ 100 in %
Example
Column J Column K Results should be
5 1375 $1,375
1 22 78%
Thanks in advance
I've have tried .....

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default formulas dollars and formula %

I have xl2003, and it is not available. And the OP has xl2002.
--
John C


"Brad" wrote:

With excel 2007 conditional formating allows the changing of the presentaion
of cell contents (Just got done validating this) - I'm pretty sure that that
feature was in 2003 - Not sure if it was in prior versions - but based on
past postings - I would think that it would be there....

--
Wag more, bark less


"John C" wrote:

Conditional formatting changes the display of the cell, borders, font color,
background color, underlining, bold, etc. I am not sure where it can change
the presentation of the cell contents, as you suggest.

--
John C


"Brad" wrote:

John C comments on using the text will work as well as the conditional
formating - our formulas will yield the same results - although they look
slightly different....
--
Wag more, bark less


"Wanna Learn" wrote:

Hello
Excel 2002 - involves 2 columns Column K and column J
If the value in K4 = 5 then whatever is in cell J4 in dollars
But if the value in K4 =1 then J4 €“ 100 in %
Example
Column J Column K Results should be
5 1375 $1,375
1 22 78%
Thanks in advance
I've have tried .....

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default formulas dollars and formula %

You are correct - you cannot change the number format with conditional
formating using Excel 2003.

--
Wag more, bark less


"John C" wrote:

I have xl2003, and it is not available. And the OP has xl2002.
--
John C


"Brad" wrote:

With excel 2007 conditional formating allows the changing of the presentaion
of cell contents (Just got done validating this) - I'm pretty sure that that
feature was in 2003 - Not sure if it was in prior versions - but based on
past postings - I would think that it would be there....

--
Wag more, bark less


"John C" wrote:

Conditional formatting changes the display of the cell, borders, font color,
background color, underlining, bold, etc. I am not sure where it can change
the presentation of the cell contents, as you suggest.

--
John C


"Brad" wrote:

John C comments on using the text will work as well as the conditional
formating - our formulas will yield the same results - although they look
slightly different....
--
Wag more, bark less


"Wanna Learn" wrote:

Hello
Excel 2002 - involves 2 columns Column K and column J
If the value in K4 = 5 then whatever is in cell J4 in dollars
But if the value in K4 =1 then J4 €“ 100 in %
Example
Column J Column K Results should be
5 1375 $1,375
1 22 78%
Thanks in advance
I've have tried .....

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
How to round values from formulas to whole dollars p2andr Excel Discussion (Misc queries) 1 May 1st 08 12:00 AM
convert dollars to pounds using a lookup formula cuffie Excel Worksheet Functions 4 October 4th 06 09:02 PM
what is the formula from british pounds to American dollars MAMAITO Excel Worksheet Functions 1 June 10th 06 04:27 PM
I wish to make a formula that adds dollars in 1 column if a date . Wayne Cameron Excel Worksheet Functions 2 October 21st 05 07:57 PM
converting #dollars into word dollars? hotrodenford Excel Worksheet Functions 2 January 7th 05 06:29 AM


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