Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RAZ RAZ is offline
external usenet poster
 
Posts: 120
Default SEARCH COLUMN BY NAME THEN DISPLAY CELL ON SAME ROW

I am looking for a formula that is very similar to sumif - except I do not
what to sum the values - i just want to display the value or text that is
contained in another cell on the sam row that the name is on.

for example:
a1:a3 = joe, jane, rick
b1:b3 = 10,11,na
if "jane", then 11
sumif works if it's a value but how do I handle if "rick" then na?

I hope this makes since.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SEARCH COLUMN BY NAME THEN DISPLAY CELL ON SAME ROW

Try this:

D1 = jane

=VLOOKUP(D1,A1:B3,2,0)

Biff

"RAZ" wrote in message
...
I am looking for a formula that is very similar to sumif - except I do not
what to sum the values - i just want to display the value or text that is
contained in another cell on the sam row that the name is on.

for example:
a1:a3 = joe, jane, rick
b1:b3 = 10,11,na
if "jane", then 11
sumif works if it's a value but how do I handle if "rick" then na?

I hope this makes since.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RAZ RAZ is offline
external usenet poster
 
Posts: 120
Default SEARCH COLUMN BY NAME THEN DISPLAY CELL ON SAME ROW


Perfect- thank you


"RAZ" wrote:

I am looking for a formula that is very similar to sumif - except I do not
what to sum the values - i just want to display the value or text that is
contained in another cell on the sam row that the name is on.

for example:
a1:a3 = joe, jane, rick
b1:b3 = 10,11,na
if "jane", then 11
sumif works if it's a value but how do I handle if "rick" then na?

I hope this makes since.

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SEARCH COLUMN BY NAME THEN DISPLAY CELL ON SAME ROW

You're welcome. Thanks for the feedback!

Biff

"RAZ" wrote in message
...

Perfect- thank you


"RAZ" wrote:

I am looking for a formula that is very similar to sumif - except I do
not
what to sum the values - i just want to display the value or text that is
contained in another cell on the sam row that the name is on.

for example:
a1:a3 = joe, jane, rick
b1:b3 = 10,11,na
if "jane", then 11
sumif works if it's a value but how do I handle if "rick" then na?

I hope this makes since.

Thanks



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
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
HOW? Find and display the last cell in a column with a value 0 Conker10382 Excel Discussion (Misc queries) 10 July 22nd 06 02:02 AM
how to display the column or cell the MIN() result came from? Fadi Excel Worksheet Functions 4 March 2nd 06 09:17 PM
Display row & column number in cell wesley Excel Worksheet Functions 4 February 19th 06 10:19 AM
how to display heading of column corresponding to the cell angelrain Excel Worksheet Functions 2 November 2nd 04 04:57 PM


All times are GMT +1. The time now is 10:43 AM.

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"