Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Chandni
 
Posts: n/a
Default Toggle multiple values in single cell

I want to show the difference between two values both in numerical terms and
percentage terms in a single cell preferably. I know I can create two
separate columns but that will lead to a monster sheet that I am trying to
avoid.

Is there a function in Excel where you can add two (or more) values to the
same cell and when a person scrolls over the cell - he/she has the option to
choose which value to view - or something like that...
  #2   Report Post  
Fredrik Wahlgren
 
Posts: n/a
Default


"Chandni" wrote in message
...
I want to show the difference between two values both in numerical terms

and
percentage terms in a single cell preferably. I know I can create two
separate columns but that will lead to a monster sheet that I am trying to
avoid.

Is there a function in Excel where you can add two (or more) values to the
same cell and when a person scrolls over the cell - he/she has the option

to
choose which value to view - or something like that...


I think you have to stick with the two column approach. However, you can
make a macro that will hide one column and make the other visible and vice
versa.

/Fredrik


  #3   Report Post  
Chandni
 
Posts: n/a
Default

OK. Thanks.

Is the following possible - the cell showsthe difference in numerical terms
but I also add in a formula that says that if the difference is more than
10%, then the cell is colored red.

Basically, I want to see the difference in numerical terms but would like to
get some indication where the percentage difference is more than 10%.

Thanks!

"Fredrik Wahlgren" wrote:


"Chandni" wrote in message
...
I want to show the difference between two values both in numerical terms

and
percentage terms in a single cell preferably. I know I can create two
separate columns but that will lead to a monster sheet that I am trying to
avoid.

Is there a function in Excel where you can add two (or more) values to the
same cell and when a person scrolls over the cell - he/she has the option

to
choose which value to view - or something like that...


I think you have to stick with the two column approach. However, you can
make a macro that will hide one column and make the other visible and vice
versa.

/Fredrik



  #4   Report Post  
Henrik
 
Posts: n/a
Default

Though I wouldn't recommend this, you can have two results in one cell by
concatenating text by for entering, for instance, =SUM(A1:A2)&" "&SUM(B1:B2)



"Chandni" wrote:

I want to show the difference between two values both in numerical terms and
percentage terms in a single cell preferably. I know I can create two
separate columns but that will lead to a monster sheet that I am trying to
avoid.

Is there a function in Excel where you can add two (or more) values to the
same cell and when a person scrolls over the cell - he/she has the option to
choose which value to view - or something like that...

  #5   Report Post  
Max
 
Posts: n/a
Default

Try conditional formatting

Assuming you have in C1: =B1-A1
with C1 copied down

Select col C

Click Format Conditional Formatting

Under Condition 1, make the settings as:
Formula Is| =(B1-A1)/A110%
Click Format button Patterns tab Red/Pink? OK
Click OK at the main dialog

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Chandni" wrote
....
Is the following possible - the cell shows the difference
in numerical terms but I also add in a formula that
says that if the difference is more than
10%, then the cell is colored red.

Basically, I want to see the difference in numerical terms
but would like to get some indication where the
percentage difference is more than 10%.





  #6   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Sure, take a look at Conditional Formatting in XL Help.

One way:

C1: =B1 - A1

Select C1. Choose Format/Conditional Formatting...

CF1: Formula Is =(B1/A1-1)10%
Format1: Pattern/Red


In article ,
"Chandni" wrote:

Is the following possible - the cell showsthe difference in numerical terms
but I also add in a formula that says that if the difference is more than
10%, then the cell is colored red.

Basically, I want to see the difference in numerical terms but would like to
get some indication where the percentage difference is more than 10%.

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 create Multiple Conditional Formulas in a single cell? Maxfx Excel Discussion (Misc queries) 2 February 1st 05 02:26 PM
Excel should allow multiple hyperlinks in a single cell mrpb Excel Discussion (Misc queries) 1 January 18th 05 01:51 PM
Displaying the results of multiple formulas in a single cell. gallegos1580 New Users to Excel 1 January 12th 05 04:14 PM
Can vlookup return multiple matches in a single cell? cchristensen Excel Discussion (Misc queries) 3 December 2nd 04 01:56 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 12:50 PM.

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"