LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default IF-THEN & Conditional Format Label

Hi! I'm struggling with how to put the correct unit of measure on a number.
In some cases the unit of measure is grams. In other cases, the unit of
measure is mililiters. I was planning on having a hidden column that would
hold the letter "g," the letters "mL" (or that might be empty --
ACCIDENTALLY, of course).

Example

A1 = 6, B1 = mL
A2 = 10, B2 = g

Column B would be hidden (not visible)

An IF-THEN formula gets me part of the way. But how do I do the Custom
Format label like you'd see if you clicked on the following ...

Format -- Cells -- Number -- Custom -- 0.0 "g"
-or-
Format -- Cells -- Number -- Custom -- 0.0 "mL"

I think I can figure out the IF-THEN part of things. It's just the labeling
I'm struggling with. I need to be able to do some math on the contents of
cells in Column A.

If anyone is able to point me in the right direction, it would be much
appreciated


 
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
Loss of Data Label Format Dean Knox Charts and Charting in Excel 0 April 11th 07 03:28 PM
conditional data label Robert H Charts and Charting in Excel 2 February 27th 07 04:58 PM
Label Format to Column Format drakehouse Excel Discussion (Misc queries) 3 November 14th 06 12:30 AM
conditional format a label damorrison Excel Discussion (Misc queries) 3 April 14th 06 04:50 PM
Data Label Format Cody Excel Discussion (Misc queries) 0 July 1st 05 09:27 PM


All times are GMT +1. The time now is 04:47 PM.

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"