#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default ISNA Function

Hi
I use IF(ISNA(LOOKUP(1100;C6:C25));"";(LOOKUP(1E+100;C6: C25)-C6)*1200)
function and I apply Conditional formating with Icon set to fill the cell
with green color if the value 0, red if < 0 and yellow if 0, it work, but
when the cell is empty it fill with green color. If there is any way to leave
the color of the cell unchanged
if the cell empty.
Thank
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default ISNA Function

You'd have to include a test to make sure the cell does not contain the
formula blank.

Instead of the condition being 0 it should be:
=AND(cell_ref0;cell_ref<"")


--
Biff
Microsoft Excel MVP


"Walley" wrote in message
...
Hi
I use IF(ISNA(LOOKUP(1100;C6:C25));"";(LOOKUP(1E+100;C6: C25)-C6)*1200)
function and I apply Conditional formating with Icon set to fill the cell
with green color if the value 0, red if < 0 and yellow if 0, it work,
but
when the cell is empty it fill with green color. If there is any way to
leave
the color of the cell unchanged
if the cell empty.
Thank



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default ISNA Function

Walley wrote...
I use IF(ISNA(LOOKUP(1100;C6:C25));"";(LOOKUP(1E+100;C6: C25)-C6)*1200)
function and I apply Conditional formating with Icon set to fill the cell
with green color if the value 0, red if < 0 and yellow if 0, it work, but
when the cell is empty it fill with green color. If there is any way to leave
the color of the cell unchanged if the cell empty.


To Excel, when transition formula is disabled (usual state unless the
workbook in question was originally created with Lotus 123) all test
strings, including "", are greater than all numbers. When transition
formula evaluation is enabled, all text strings are treated as equal
to zero.

You need to change your conditional formatting formula (or change your
conditional formatting criterion to a formula) for the 0 test to

=N(X99)0
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default ISNA Function

Thank you for help. Do you mean that I should include
AND(cell_ref0;cell_ref<"") in
IF(ISNA(LOOKUP(1100;C6:C25));"";(LOOKUP(1E+100;C6: C25)-C6)*1200) formula, and
how. thanks

"T. Valko" wrote:

You'd have to include a test to make sure the cell does not contain the
formula blank.

Instead of the condition being 0 it should be:
=AND(cell_ref0;cell_ref<"")


--
Biff
Microsoft Excel MVP


"Walley" wrote in message
...
Hi
I use IF(ISNA(LOOKUP(1100;C6:C25));"";(LOOKUP(1E+100;C6: C25)-C6)*1200)
function and I apply Conditional formating with Icon set to fill the cell
with green color if the value 0, red if < 0 and yellow if 0, it work,
but
when the cell is empty it fill with green color. If there is any way to
leave
the color of the cell unchanged
if the cell empty.
Thank




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default ISNA Function

No, you would use that as one of the conditions for conditional formatting.

fill the cell with green color if the value 0


Instead of the condition being 0 use:

=AND(cell_ref0;cell_ref<"")

Or, use Harlan's suggestion. It does the same thing and is more compact.

--
Biff
Microsoft Excel MVP


"Walley" wrote in message
...
Thank you for help. Do you mean that I should include
AND(cell_ref0;cell_ref<"") in
IF(ISNA(LOOKUP(1100;C6:C25));"";(LOOKUP(1E+100;C6: C25)-C6)*1200) formula,
and
how. thanks

"T. Valko" wrote:

You'd have to include a test to make sure the cell does not contain the
formula blank.

Instead of the condition being 0 it should be:
=AND(cell_ref0;cell_ref<"")


--
Biff
Microsoft Excel MVP


"Walley" wrote in message
...
Hi
I use IF(ISNA(LOOKUP(1100;C6:C25));"";(LOOKUP(1E+100;C6: C25)-C6)*1200)
function and I apply Conditional formating with Icon set to fill the
cell
with green color if the value 0, red if < 0 and yellow if 0, it work,
but
when the cell is empty it fill with green color. If there is any way to
leave
the color of the cell unchanged
if the cell empty.
Thank






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
IF?ISNA?MATCH? Function? handyaccountant Excel Discussion (Misc queries) 2 October 2nd 08 06:33 PM
Vlookup - ISNA function Eduardo Excel Discussion (Misc queries) 4 September 24th 08 06:10 PM
ISNA match function help Adam Excel Worksheet Functions 9 March 8th 08 03:24 AM
ISNA function [email protected] Excel Discussion (Misc queries) 3 August 16th 07 01:24 AM
example if IF(ISNA()) function Gus Excel Worksheet Functions 8 November 24th 04 05:27 PM


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