Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Lookup one value and return multiple corresponding values

I want a formula to look for the value "Place an Order" in column E and
return the value from the same in row in column B. I've found a formula from
the power user corner on the office website which I think applies but I don't
fully understand it and I am having trouble getting it work correctly. The
formula I'm trying to make work is as follows:
=INDEX($A$1:$B$7,SMALL(IF($A$1:$A$7=$A$10,ROW($A$1 :$A$7)),ROW(1:1)),2)

My worksheet data runs from B4:E34 so i've tried changing the formula to
look like below but it's only returning some of the correct values and 0 for
anything else.
=INDEX($B$4:$E$34,SMALL(IF($E$4:$E$34="Place an
Order",ROW($E$4:$E$34)),ROW(1:1)),1)

Anything I'm doing wrong or another way of doing it would be much appreciated
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Lookup one value and return multiple corresponding values

Try this and enter with Ctrl+Shift+Enter ...{} will appear round the formula:

=INDEX($B$1:$E$34,SMALL(IF($E$1:$E$34="Place an
Order",ROW($E$1:$E$34)),ROW(1:1)),1)

HTH

"StephenB" wrote:

I want a formula to look for the value "Place an Order" in column E and
return the value from the same in row in column B. I've found a formula from
the power user corner on the office website which I think applies but I don't
fully understand it and I am having trouble getting it work correctly. The
formula I'm trying to make work is as follows:
=INDEX($A$1:$B$7,SMALL(IF($A$1:$A$7=$A$10,ROW($A$1 :$A$7)),ROW(1:1)),2)

My worksheet data runs from B4:E34 so i've tried changing the formula to
look like below but it's only returning some of the correct values and 0 for
anything else.
=INDEX($B$4:$E$34,SMALL(IF($E$4:$E$34="Place an
Order",ROW($E$4:$E$34)),ROW(1:1)),1)

Anything I'm doing wrong or another way of doing it would be much appreciated

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 multiple values return one value corresponding value Excel DP7 Excel Worksheet Functions 1 October 23rd 06 09:52 PM
Using a lookup to return multiple values in one cell?? zim_zimmer New Users to Excel 1 July 7th 06 10:28 AM
Lookup in Multiple Columns, Return Multiple Values andy62 Excel Worksheet Functions 3 July 6th 06 02:36 AM
how to lookup a value and return multiple corresponding values Asthee Excel Worksheet Functions 1 November 5th 05 01:49 PM
Lookup and return multiple Values Neil Excel Worksheet Functions 1 August 22nd 05 10:33 PM


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