![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
Quick question: I have two cells (D34, D36)in a sheet named "Critical.Data" that I would like to reference into a single cell (A3) on a separate worksheet named "Summary". In other words, I would like "A3" in the "Summary" sheet to list the values contained in both "D34" and "D36" from "Critical Data". Also, I would like the two values to be separated by a slash ("/")...any ideas?
|
|
|
|
#2 | |
|
Board Regular
Join Date: Feb 2002
Location: Chippenham, UK
Posts: 136
|
Quote:
=CONCATENATE(Critical.Data!D34,"/",Critical.Data!D36)
__________________
Regards, Gary Hewitt-Long |
|
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
Better still try this:
=Critical.Data!D34&"/"&Critical.Data!D36 |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Thanks for the tip...now I have a question...I am using this formula now in a variety of instances, and have come across the following problem-
In one instance, I am bringing the values from two separate cells into the same cell as explained- one is a plain number, and the other is a %. The thing is, when i bring them together, the % loses its format (ie- it doesn't read 4.01%, it now reads .0041) I can't simply format the cell, b/c it will change the other figure into a %, which I do not want. Is there any way I can only format the second value I am bringing into the cell? Also, another problem I am running into has to do with a web query- I am pulling another piece of info from another sheet in similar fashion, but the problem is that this number changes from a date to a plain number throughout the day. Thus, the cell to which I am referencing it needs to be formatted in a way in which it recognizes this and formats accordingly (formats date when a the cell shows a date, and formats a plain number when it shows a regular number) Don't know if this is confusing or if anyone can help...Thanks! |
|
|
|
#5 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
|
dunno about the web thing, but the %age formatting could go something like this :
=Critical.Data!D34&"/"&TEXT(Critical.Data!D36,"#,###.00%") adjust the decimals to suit your needs
__________________
:: Pharma Z - Family drugstore :: |
|
|
|
|
|
#6 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Allentown, PA
Posts: 2,510
|
Or just:
=Critical.Data!D34&"/"&Critical.Data!D36*100&"%"
__________________
~Anne Troy |
|
|
|
|
|
#7 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
|
Dreamboat
that option makes me nervous |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|