Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default trouble with lookup in a range of cells.

I am trying to get excel to look up in a range of cells I54:I102 to search
for a specific text "improved" and if true put a numerical value in another
cell. I can get it to work if I put it in the first cell but if I put it in
any other cell it returns with an error. What is the best formula to use in
this instance?

Thanks very much.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default trouble with lookup in a range of cells.

It's not real clear what you're trying to do.

Do you want to return a number from a cell that corresponds to some cell in
the range I54:I102 that contains improved?

Or, do you just wan't to know if improved is in the range I54:I102, and if
so then return "x".?

--
Biff
Microsoft Excel MVP


"evilthorne" wrote in message
...
I am trying to get excel to look up in a range of cells I54:I102 to search
for a specific text "improved" and if true put a numerical value in
another
cell. I can get it to work if I put it in the first cell but if I put it
in
any other cell it returns with an error. What is the best formula to use
in
this instance?

Thanks very much.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default trouble with lookup in a range of cells.

I am trying to have a number show up in cell o16 if the text "improved" comes
up in any of the cells between I54:I102 I have also named the I54:I102
"Status" in case this helps at all.

Thanks

"T. Valko" wrote:

It's not real clear what you're trying to do.

Do you want to return a number from a cell that corresponds to some cell in
the range I54:I102 that contains improved?

Or, do you just wan't to know if improved is in the range I54:I102, and if
so then return "x".?

--
Biff
Microsoft Excel MVP


"evilthorne" wrote in message
...
I am trying to get excel to look up in a range of cells I54:I102 to search
for a specific text "improved" and if true put a numerical value in
another
cell. I can get it to work if I put it in the first cell but if I put it
in
any other cell it returns with an error. What is the best formula to use
in
this instance?

Thanks very much.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default trouble with lookup in a range of cells.

Try this:

=IF(COUNTIF(Status,"improved"),10,"")

Replace 10 with whatever your number is.

--
Biff
Microsoft Excel MVP


"evilthorne" wrote in message
...
I am trying to have a number show up in cell o16 if the text "improved"
comes
up in any of the cells between I54:I102 I have also named the I54:I102
"Status" in case this helps at all.

Thanks

"T. Valko" wrote:

It's not real clear what you're trying to do.

Do you want to return a number from a cell that corresponds to some cell
in
the range I54:I102 that contains improved?

Or, do you just wan't to know if improved is in the range I54:I102, and
if
so then return "x".?

--
Biff
Microsoft Excel MVP


"evilthorne" wrote in message
...
I am trying to get excel to look up in a range of cells I54:I102 to
search
for a specific text "improved" and if true put a numerical value in
another
cell. I can get it to work if I put it in the first cell but if I put
it
in
any other cell it returns with an error. What is the best formula to
use
in
this instance?

Thanks very much.






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default trouble with lookup in a range of cells.

Works great, thanks very much. I copy and pasted it from the site and it was
returning a false value so I cleared the contents and manually entered it and
eureka!!

"T. Valko" wrote:

Try this:

=IF(COUNTIF(Status,"improved"),10,"")

Replace 10 with whatever your number is.

--
Biff
Microsoft Excel MVP


"evilthorne" wrote in message
...
I am trying to have a number show up in cell o16 if the text "improved"
comes
up in any of the cells between I54:I102 I have also named the I54:I102
"Status" in case this helps at all.

Thanks

"T. Valko" wrote:

It's not real clear what you're trying to do.

Do you want to return a number from a cell that corresponds to some cell
in
the range I54:I102 that contains improved?

Or, do you just wan't to know if improved is in the range I54:I102, and
if
so then return "x".?

--
Biff
Microsoft Excel MVP


"evilthorne" wrote in message
...
I am trying to get excel to look up in a range of cells I54:I102 to
search
for a specific text "improved" and if true put a numerical value in
another
cell. I can get it to work if I put it in the first cell but if I put
it
in
any other cell it returns with an error. What is the best formula to
use
in
this instance?

Thanks very much.








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default trouble with lookup in a range of cells.

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"evilthorne" wrote in message
...
Works great, thanks very much. I copy and pasted it from the site and it
was
returning a false value so I cleared the contents and manually entered it
and
eureka!!

"T. Valko" wrote:

Try this:

=IF(COUNTIF(Status,"improved"),10,"")

Replace 10 with whatever your number is.

--
Biff
Microsoft Excel MVP


"evilthorne" wrote in message
...
I am trying to have a number show up in cell o16 if the text "improved"
comes
up in any of the cells between I54:I102 I have also named the I54:I102
"Status" in case this helps at all.

Thanks

"T. Valko" wrote:

It's not real clear what you're trying to do.

Do you want to return a number from a cell that corresponds to some
cell
in
the range I54:I102 that contains improved?

Or, do you just wan't to know if improved is in the range I54:I102,
and
if
so then return "x".?

--
Biff
Microsoft Excel MVP


"evilthorne" wrote in message
...
I am trying to get excel to look up in a range of cells I54:I102 to
search
for a specific text "improved" and if true put a numerical value in
another
cell. I can get it to work if I put it in the first cell but if I
put
it
in
any other cell it returns with an error. What is the best formula to
use
in
this instance?

Thanks very much.








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
Lookup through a Range of Values in different cells EMarre Excel Discussion (Misc queries) 5 May 22nd 09 12:36 AM
if function or lookup??? across a range of cells in a row. jwbuyer Excel Worksheet Functions 2 February 24th 09 05:41 PM
trouble with text lookup ... help please William DeLeo Excel Discussion (Misc queries) 4 June 9th 06 07:09 PM
return a range of cells from a vertical lookup vickyb_au Excel Worksheet Functions 2 October 11th 05 11:15 AM
lookup and return range of cells ark Excel Worksheet Functions 3 August 6th 05 05:18 PM


All times are GMT +1. The time now is 06:50 AM.

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"