Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Ram Ram is offline
external usenet poster
 
Posts: 138
Default Vlookup or Index/Match

How can I lookup when match has more than one value..

Server1 C:\ (2) 21478666240 17488568534 3990097706 81.42297263
Server1 D:\ (3) 2.9362E+11 68383018334 2.25237E+11 23.28963077
Server1 E:\ (4) 1.25325E+11 48705869576 76619192568 38.8636309
with the basic syntax of the Vlookup or Index Match, I can get the
utilization of the C drive or E drive but not the D drive..which has a value
of 23.289 % Any help is much appreciated.
Thankyou

  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Vlookup or Index/Match

Maybe what you're after is to match based on more than a single criteria?
(you should always post your formula(s) attempted)

Presuming your source data as posted in cols A to G,
where col G contains the "%" figures you want returned
based on a twin criteria match of the server and drive in cols A and B

You could put this in say, I1, normal ENTER:
=INDEX(G1:G100,MATCH(1,INDEX((A1:A100="Server1")*( B1:B100="D:\"),),0))
which will return the required: 23.29 from col G
Adapt to suit. The match criteria can be easily expanded likewise in the
manner shown to include other params in other source cols if needed.

Aloha? hit the YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Ram" wrote:
How can I lookup when match has more than one value..

Server1 C:\ (2) 21478666240 17488568534 3990097706 81.42297263
Server1 D:\ (3) 2.9362E+11 68383018334 2.25237E+11 23.28963077
Server1 E:\ (4) 1.25325E+11 48705869576 76619192568 38.8636309
with the basic syntax of the Vlookup or Index Match, I can get the
utilization of the C drive or E drive but not the D drive..which has a value
of 23.289 % Any help is much appreciated.
Thankyou

  #3   Report Post  
Posted to microsoft.public.excel.newusers
Ram Ram is offline
external usenet poster
 
Posts: 138
Default Vlookup or Index/Match

Hi Max,
Thankyou for the prompt reply, this did work need to tweak a bit..

INDEX(disk!F4:F57,MATCH(1,INDEX((disk!A4:A57="Serv er1")*(disk!B4:B57="D:\
(3)"),),0))
I am yet to try your other solution..will try it too..
Max Thanks a lot.
"Max" wrote:

Maybe what you're after is to match based on more than a single criteria?
(you should always post your formula(s) attempted)

Presuming your source data as posted in cols A to G,
where col G contains the "%" figures you want returned
based on a twin criteria match of the server and drive in cols A and B

You could put this in say, I1, normal ENTER:
=INDEX(G1:G100,MATCH(1,INDEX((A1:A100="Server1")*( B1:B100="D:\"),),0))
which will return the required: 23.29 from col G
Adapt to suit. The match criteria can be easily expanded likewise in the
manner shown to include other params in other source cols if needed.

Aloha? hit the YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Ram" wrote:
How can I lookup when match has more than one value..

Server1 C:\ (2) 21478666240 17488568534 3990097706 81.42297263
Server1 D:\ (3) 2.9362E+11 68383018334 2.25237E+11 23.28963077
Server1 E:\ (4) 1.25325E+11 48705869576 76619192568 38.8636309
with the basic syntax of the Vlookup or Index Match, I can get the
utilization of the C drive or E drive but not the D drive..which has a value
of 23.289 % Any help is much appreciated.
Thankyou

  #4   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Vlookup or Index/Match

Focusing on this line ..
How can I lookup when match has more than one value ..


Here's one way using a simple & fast formula set-up to extract multiple
matches
Presuming your source data as posted in cols A to G from row1 down
where col G contains the "%" figures you want returned
based on a twin criteria match of the server and drive in cols A and B

To extract all the values for "Server1" in col A, "D:\" in col B
In K1: =IF(AND(A1="Server1",B1="D:\"),ROW(),"")
In L1: =IF(ROW()COUNT(K:K),"",INDEX(G:G,SMALL(K:K,ROW()) ))
Copy K1:L1 down to cover the max expected extent of source data, say down to
L100? Col L will return all the multiple match results neatly packed at the
top. Minimize/hide away col K, which is the criteria col. Its quite easy to
understand what's happening in the criteria col, so you could easily
cross-apply to handle whatever criteria in other situations.

voila? hit the YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Ram" wrote:
How can I lookup when match has more than one value..

Server1 C:\ (2) 21478666240 17488568534 3990097706 81.42297263
Server1 D:\ (3) 2.9362E+11 68383018334 2.25237E+11 23.28963077
Server1 E:\ (4) 1.25325E+11 48705869576 76619192568 38.8636309
with the basic syntax of the Vlookup or Index Match, I can get the
utilization of the C drive or E drive but not the D drive..which has a value
of 23.289 % Any help is much appreciated.
Thankyou

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
vlookup or index(match)? NewAccessDude Excel Discussion (Misc queries) 7 December 20th 08 03:41 AM
VLOOKUP, MATCH, INDEX HELP! igotboost Excel Worksheet Functions 5 June 19th 08 09:32 PM
VlOOKUP/MATCH/INDEX Daniel Q. Excel Worksheet Functions 2 April 16th 08 09:20 PM
index Match, or Vlookup Match.. news.transedge.com Excel Worksheet Functions 1 August 3rd 07 02:00 AM
vlookup, match/index ???? Gerry Excel Worksheet Functions 0 January 20th 06 02:45 PM


All times are GMT +1. The time now is 05:10 PM.

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"