Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,510
Default Finding a value and returning corresponding info

Hi Vicky,

The following formula assumes.
Your columns start at column A (or column 1) because the column numbers are
returned by the Match function.
Your low number is in column E because that number is used in the Match
function.
Your provider column is column F.

The formula below is in cell F2. (Can copy down)

=INDIRECT("R1" & "C"&MATCH(E2,A2:D2,0),FALSE)

--
Regards,

OssieMac


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,510
Default Finding a value and returning corresponding info

Hi again Vicky,

I have not handled the following.
"The one issue is what if there are two providers with the same number."

I don't know how to list multiple providers but you could use another column
and count the minimum values in the range like the following.
=COUNTIF(A2:D2,E2)

Another suggestion is to use conditional formatting and highlight the
multiple minimum values in each row with a background (interior) color. To do
this:-
Select the range of values (A2:D4 in your example).

Select Conditional format and formula (Depends on your version of xl for
exact instructions for this.)
Enter the following formula.
=AND(A2=$E2,COUNTIF($A2:$D2,$E2)1)
Set the required format

Note when setting conditional format you set the formula as if it applies to
only the first cell of the selection and xl looks after applying correct
formula to the rest. However, you do need to think about the absolute
addressing. In this case it is required on the columns but not on the rows.

--
Regards,

OssieMac


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
Finding a Name on a list and returning all matching rows Wh0o Excel Worksheet Functions 2 August 18th 09 05:52 PM
Finding a cell and returning value from a different row and column RJBohn3 Excel Discussion (Misc queries) 1 May 23rd 09 01:13 AM
Finding an item in a list & returning a specific value SBW Excel Worksheet Functions 7 April 20th 09 09:54 PM
Lookup info in one Column and then returning info in other columns Cyndi513 Excel Worksheet Functions 1 June 23rd 08 02:36 PM
Finding, and returning data. Marcus New Users to Excel 1 June 3rd 05 07:48 PM


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