I have a cell that contains the following text:
PDP-510dp
DLPRP-1020
PDP-560drp
and other pieces of data similar to that.
How can I write an equation that tells me if any given cell has "510" in it?
I have a cell that contains the following text:
PDP-510dp
DLPRP-1020
PDP-560drp
and other pieces of data similar to that.
How can I write an equation that tells me if any given cell has "510" in it?
if you are just checking cell by cell
=IF(ISERROR(FIND(510,A1)),"not found","found")
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
That worked great, what if I asked then to find multiple different pieces of information. Say 510, 520, 1080, etc.
Don't you hate when you answer a question and then they continue the question with what they really needed to know? I know I can nest the equations, looking for a more complete answer than nesting multiple equations though.
Chrisnelsonusa,Don't you hate when you answer a question and then they continue the question with what they really needed to know?
We do so please don't do it again.
PS. Please read the forum rules below as I had to amend you're title
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
well youre stuck with nesting (unless someone cares to write a bit of code/udf)but you could reference other cell swith the values in to save re writing the equations.
=IF(OR($D$1="",$E$1=""),"",IF(ISERROR(AND(FIND($D$1,A1),FIND($E$1,A1))),"not found","found"))
where d1 and e1 contain the values that must both be in cell a1
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks