View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Anne P Anne P is offline
external usenet poster
 
Posts: 4
Default Display a part of a cell in green (or red)...

.... according to the value of a cell hosted in another worksheet...

Hi,

My cell A4 of the worksheet "Dashboard" is:
="Evolution of " & TEXT('Global Data'!C39;"#%") & " from previous month"

It displays:
Evolution of 39% from previous month

I would like that if 'Global Data'!C39 = 0, "& TEXT('Global
Data'!C39;"#%")" is written in green, else it is written in red

I think the only solution is to add code ... However I do not know a lot in
VB...

Can someone help?

Thanks
--
Anne P