Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to assign a flag based on the values of a Named Range?

Status
Not open for further replies.

feipezi

IS-IT--Management
Aug 10, 2006
316
US
Hi,

Suppose I have a Named Range called "data": $a$1:$e$10. What I want is if any of cells of "data" bears a value of 10, a character of "*" will be put in Column("f") in the same row. I used an Array Formula but it's not working.

{=IF(data="10","*","")}

Any input share with me?

Thanks in advance.
 

hi,

in F1...
[tt]
F1: =if(isna(match(10,A1:E1,0)),"","*")
[/tt]
copy/paste thru your rows of data.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Hi Skip,
I tried it. But if I use quotes on 10, then all the cells populated with "*", if not, then none has "*".

BTW, are you saying I don't need Array Formula, just the regular one, am I right?

Please advise.

Thanks again.
 


But if I use quotes on 10,
is your lookup value in your range a TEXT value or is it a NUMERIC value?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 


No array formula.

The Named Range is irrelevant.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Thanks Skip, I got it. You're right: no Array Form. and no Named Range.

You're the man!
 


and you got rid of the QUOTES?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Yes, Skip. I got rid of the quotes.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top