Forum

Notifications
Clear all

VLookup & Match

8 Posts
5 Users
0 Reactions
66 Views
(@nickoa)
Posts: 3
Active Member
Topic starter
 

Hi All, 

Can someone help me with my problem, Currently I'm trying to improved our sizing data (kindly look on my attached file). I think it involves Vlookup and Match. I already watched many videos with this kind of command but still I fail. 

For example, if you're looking on the table on the attached file, 

If I input the Length =400 ft  and I have a total Gas volume = 4000 CFH , It will automatically look for the Pipe size = 5

 
Posted : 12/09/2019 1:00 am
Philip Treacy
(@philipt)
Posts: 1632
Member Admin
 

Hi Nicko,

No file is attached.

Regards

Phil

 
Posted : 12/09/2019 5:47 am
(@nickoa)
Posts: 3
Active Member
Topic starter
 

Sorry my attachment went wrong, Kindly see on this post my attachment.

 

Thanks, 

 
Posted : 12/09/2019 7:08 am
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Nicko

My formula is a bit long but should be able to get what you wanted.

In cell C13 enter :

=INDEX(2:2,MATCH(C12,INDIRECT("B"&MATCH(C11,A:A,0)&":"&"O"&MATCH(C11,A:A,0)),-1)+1)

Hope this helps.

Sunny

 
Posted : 12/09/2019 11:16 am
(@nickoa)
Posts: 3
Active Member
Topic starter
 

Hi Sunny,

 

Thank you so much, it works 🙂 Im still studying on how you do it. 

 

Really Appreciate 🙂

Nicko

 
Posted : 12/09/2019 10:34 pm
(@david_ng)
Posts: 310
Reputable Member
 

LOVE TO SEE YOU BACK SUNNY.

 
Posted : 13/09/2019 1:23 am
(@debaser)
Posts: 838
Member Moderator
 

FWIW, you could simplify a little to:

=INDEX(2:2,MATCH(C12,INDEX($B$3:$O$8,MATCH(C11,A:A,0),0),-1)+1)

thereby also avoiding a volatile INDIRECT function.

 
Posted : 13/09/2019 4:38 am
(@sunnykow)
Posts: 1417
Noble Member
 

Thanks Velouria and David.

 
Posted : 13/09/2019 10:36 am
Share: