Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
Registered
 
MBAtarga's Avatar
 
Join Date: Jul 2001
Location: Lawrenceville GA 30045
Posts: 7,380
Excel - my turn for help

I'm knowledgeable in the use of Vlookup. In this specific case - first time I'm trying to do this - I want to use two numbers in two different cells as part of the lookup range.

Example
A1 contains "500" = this represents the start row 500 in a data array C:Z on Sheet 2
B1 contains "1000" = this represents the end row 1000 in the same data array C:Z
These 2 values change based on data in the C:Z array - via different formulae. They might be 500,1000 today, but 750,2000 someday next week. That is solved.

A10 contains a value, I want to return a value from the C:Z array column D that corresponds to it. My Vlookup formulae without using A1 and B1 would currently be =Vlookup(A10,'Sheet2'!C500:Z1000,2,0)

How do I inject the value of A1 and B1 into the vlookup formula?

Well _ I should have known as soon as I posted the question, I'd figure it out.
The answer is use of the INDIRECT function.

__________________
Mark

'83 SC Targa - since 5/5/2001
'06 911 S Aerokit - from 5/2/2016 to 11/14/2018
'11 911 S w/PDK - from 7/2/2021 to ???

Last edited by MBAtarga; 02-18-2022 at 11:32 AM..
Old 02-18-2022, 10:48 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Reply


 


All times are GMT -8. The time now is 09:12 PM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.