VLOOKUP (or OFFSET & MATCH)

Darrell Hipkiss

New Member
Joined
May 9, 2016
Messages
10
Hi everyone,

I need assistance with a formula I am trying to develop using OFFSET and MATCH.

The attached workbook contains two tabs: PIPELINE & DATA.

The DATA tab will contain my raw data calculations.

The PIPELINE tab will be a read only tab, with the exception of column C (starting C11) which is where I want the formula (reading from DATA tab (column E), depending on the Division (column D).

What I want my formula to achieve: I Want Excel to return each successive GCHHS number (moving down) only if it matches the Division on the PIPELINE tab.

This will need to be a repeatable formula that starts from each new Division on the PIPELINE.

The report will be run monthly and the number of rows may change per Division, so I suspect I will need to manually repeat the formula on the applicable rows in the PIPELINE tab.

I have attached a screen shot but also can attach the file (but wasn't sure how to)
 

Attachments

  • Capture1.PNG
    Capture1.PNG
    75.3 KB · Views: 8
  • Capture2.PNG
    Capture2.PNG
    64.5 KB · Views: 8

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Why everyone share pictures instead of excel to get solutions . Kindly share excel file.

You need to share excel file along with answer that you require for everyone to understand
 
Upvote 0
Apologies everyone, I wasn't exactly sure how to upload the file, which I had originally intended to do. I will attempt the XL2BB
 
Upvote 0
MrExcelExample.xlsm
BCDEFGHIJ
8SOURCING PIPELINE FIELD NAMEHHS DivisionRef. NoPurposeCategory (Mega)Proposed Contract Type (VRM)Procurement PhaseEstimated Contract Award
9
10DESCRIPTION / INTERPRETATION / PURPOSEThe requesting HHS Division (or primary division in the case of cross Divisional) who will fund any resulting contract that arises from the procurementA unique number generated from within the GCHHS Contract Management System (Q-Contracts) where a contract has been established following a procurement activity.The purpose and objective of the procurement/contract. (150 character limit)The mega category identified in Qcontracts that links in with the 6x QLD Gov Category GroupsProposed Contract Type (VRM)Defines one of the 6x phases of the procurement process If a Contract, this will require manual input to updateThis date willl be used as to determine the estimated contract award date for activty arising from: New Procurement
11QCONTRACT FIELD NAMEBusiness Level 3File Reference NumberDescription (Title)Mega CategoryRisk TypeSourcing StageCommencement Date
12DATA SOURCEQ-ContractsQ-ContractsQ-ContractsQ-ContractsQ-ContractsQ-ContractsQ-Contracts
13HOW DATA IS OBTAINEDReport DataReport DataReport DataReport DataReport DataReport DataReport Data
14IF FORMULA REQUIREDFormulaNoNoFormulaNoFormulaFormula
15
16
17Allied Health ServicesGCHHS-12345
18Allied Health ServicesGCHHS-67891
19Centre for Health InnovationGCHHS-52643
20Surgical, Anaesthetics and Procedural ServiceGCHHS-xxxxx
21Surgical, Anaesthetics and Procedural ServiceGCHHS-tttttt
22
23
24GCHHS-12345
25GCHHS-67891
26GCHHS-52643
27GCHHS-xxxxx
28GCHHS-tttttt
DATA
Cell Formulas
RangeFormula
D24D24=OFFSET($D$17,MATCH("Allied Health Services",$D$17:$D$20,0)-1,1,1)
D25D25=OFFSET(D18,MATCH("Allied Health Services",$D$17:$D$20,0)-1,1,1)
D26D26=OFFSET(D17,MATCH("Centre for Health Innovation",$D$17:$D$20,0)-1,1,1)
D27:D28D27=OFFSET(D17,MATCH("Surgical, Anaesthetics and Procedural Service",$D$17:$D$20,0)-1,1,1)
 
Upvote 0
MrExcelExample.xlsm
ABCDEFGHIJKLMNOPQRSTU
1
2Strategic Sourcing Pipeline
3The sourcing pipeline identifies specific categories and contracts expected to be re-procured and new procurement projects to be undertaken across the HHS. It provides a projected time-frame for planning, implementation and award activities. The procurement streams (Strategic Procurement, Asset Management Services and Information Technology Services) will consult with the identified HHS divisional areas regarding management of these activities throughout the procurement lifecycle.
4Gold Coast University Hospital - Financial Services, Strategic ProcurementReporting Period:01 Jul 2020>>01 Jul 2023
5
6Click + to expand/collapseDivision
7Allied Health Services
8Ref. NoHHS Service LinePurposeHHS StrategyQPPCategory (Mega)Proc StreamCross DivisionProposed Contract Type (VRM)Activity arising from:Existing Extension Provisions?Proposed Sourcing Method
9Alignment to Corporate Strategies, Operational and Corporate PlansSocialATSILBTSMENew ProcurementExpiring Contract
10Registered Activity No.HHS Corporate StructureDescription of Requirement / Contract TitleCorporate StrategiesStrat PlanOp PlanQueensland Procurement PolicyCategoryProc AreaRefer VRMAnticipated Market Engagment Strategy
11Formula to return result in DATA tab column E (if "Allied Health Services")SPYesStrategicYesYesYes
12Formula to return result in DATA tab column E (if "Allied Health Services")
13Formula to return result in DATA tab column E (if "Allied Health Services")
14Formula to return result in DATA tab column E (if "Allied Health Services")
15Formula to return result in DATA tab column E (if "Allied Health Services")
16Formula to return result in DATA tab column E (if "Allied Health Services")
17Formula to return result in DATA tab column E (if "Allied Health Services")
18Formula to return result in DATA tab column E (if "Allied Health Services")
19Formula to return result in DATA tab column E (if "Allied Health Services")
20
21
22
23
24Click + to expand/collapseDivision
25Centre for Health Innovation
26Formula to return result in DATA tab column E (if "Centre for Health Innovation")Purpose of this contract is ….Safety and Quality Strategy 2020-2020YesYesNoYesYesYesGGSSPYesStrategicYesYesYesClosed Invitation to Offer (ITO)
27Formula to return result in DATA tab column E (if "Centre for Health Innovation")Purpose of this contract is ….Digital Strategy 2018-2021YesYesYesYesYesYesICTICTYesRoutineNoYesUtilise SOA arrangement
28YesYesYesYesYesYesYes
PIPELINE
Cell Formulas
RangeFormula
N4N4=AE10
Q4Q4=BO10
Cells with Data Validation
CellAllowCriteria
G19:G23List=HHS_Strategies
G13:G14List=HHS_Strategies
G16:G17List=HHS_Strategies
R11:T11List=Yes_No
R14:T14List=Yes_No
R17:T17List=Yes_No
R20:T23List=Yes_No
H21:M23List=Yes_No
U21:U23List=Sourcing_Method
 
Upvote 0
Hi everyone, sorry Ive adjusted the entire formula. I hope this makes more sense, but the VLOOKUP is still not working
HHS SP Sourcing Pipeline v0.04.xlsm
ABCDEFGHIJKLM
1
2Strategic Sourcing Pipeline
3The sourcing pipeline identifies specific categories and contracts expected to be re-procured and new procurement projects to be undertaken across the HHS. It provides a projected time-frame for planning, implementation and award activities. The procurement streams (Strategic Procurement, Asset Management Services and Information Technology Services) will consult with the identified HHS divisional areas regarding management of these activities throughout the procurement lifecycle.
4Gold Coast University Hospital - Financial Services, Strategic ProcurementReporting Period:
5
6Click + to expand/collapse
7Allied Health Services
8Ref. NoHHS Service LinePurposeHHS StrategyQPP
9Alignment to Corporate Strategies, Operational and Corporate PlansSocialATSILBTSME
10Registered Activity No.HHS Corporate StructureDescription of Requirement / Contract TitleCorporate StrategiesStrat PlanOp PlanQueensland Procurement Policy
11#N/A
12
13
14
15
16
17
18
19
20
21
22
23
24Click + to expand/collapse
25Centre for Health Innovation
26GCHHS-xxxxxOccupational TherapyPurpose of this contract is ….Safety and Quality Strategy 2020-2020YesYesNoYesYesYes
27GCHHS-xxxxxNutrition and Food ServicesPurpose of this contract is ….Digital Strategy 2018-2021YesYesYesYesYesYes
28New itemYesYesYesYesYesYes
PIPELINE
Cell Formulas
RangeFormula
C11C11=VLOOKUP("Allied Health Services"&"-"&DATA!AT17,DATA!$AQ$17:$AS$1500,3,0)
 
Upvote 0
Calculations page:
HHS SP Sourcing Pipeline v0.04.xlsm
DEPAFAQARASAT
8HHS DivisionRef. NoHHS Service LineCALCULATIONS FOR DASHBOARD
9HHS DivisionDivision HelperDivisionValue ReturnNth
10The requesting HHS Division (or primary division in the case of cross Divisional) who will fund any resulting contract that arises from the procurementA unique number generated from within the GCHHS Contract Management System (Q-Contracts) where a contract has been established following a procurement activity.The requesting HHS service line relating to the division
11Business Level 3File Reference NumberBusiness Level 2
12Q-ContractsQ-ContractsQ-Contracts
13Report DataReport DataReport Data
14FormulaNoFormula
15
16
1717 - Gold Coast HHS > 17.12 Allied Health Services > 17.12.04 Nutrition & Food ServicesGCHHS73667Nutrition & Food ServicesAllied Health ServicesAllied Health Services -1Allied Health ServicesGCHHS736671
1817 - Gold Coast HHS > 17.12 Allied Health Services > 17.12.04 Nutrition & Food ServicesGCHHS79907Nutrition & Food ServicesAllied Health ServicesAllied Health Services -2Allied Health ServicesGCHHS799072
1917 - Gold Coast HHS > 17.12 Allied Health Services > 17.12.04 Nutrition & Food ServicesGCHHS82801Nutrition & Food ServicesAllied Health ServicesAllied Health Services -3Allied Health ServicesGCHHS828013
2017 - Gold Coast HHS > 17.12 Allied Health Services > 17.12.04 Nutrition & Food ServicesGCHHS83542Nutrition & Food ServicesAllied Health ServicesAllied Health Services -4Allied Health ServicesGCHHS835424
2117 - Gold Coast HHS > 17.12 Allied Health Services > 17.12.04 Nutrition & Food ServicesGCHHS86306Nutrition & Food ServicesAllied Health ServicesAllied Health Services -5Allied Health ServicesGCHHS863065
2217 - Gold Coast HHS > 17.12 Allied Health Services > 17.12.04 Nutrition & Food ServicesGCHHS91433Nutrition & Food ServicesAllied Health ServicesAllied Health Services -6Allied Health ServicesGCHHS914336
2317 - Gold Coast HHS > 17.12 Allied Health Services > 17.12.04 Nutrition & Food ServicesGCHHS70610-20Nutrition & Food ServicesAllied Health ServicesAllied Health Services -7Allied Health ServicesGCHHS70610-207
2417 - Gold Coast HHS > 17.01 Surgical, Anaesthetics and Procedural Service > 17.01.02 Head, Neck, Oral & NeurosurgeryGCHHS70610-24Head, Neck, Oral & NeurosurgerySurgical, Anaesthetics and Procedural ServiceSurgical, Anaesthetics and Procedural Service -1Surgical, Anaesthetics and Procedural ServiceGCHHS70610-248
2517 - Gold Coast HHS > 17.01 Surgical, Anaesthetics and Procedural Service > 17.01.02 Head, Neck, Oral & NeurosurgeryGCHHS70610-25Head, Neck, Oral & NeurosurgerySurgical, Anaesthetics and Procedural ServiceSurgical, Anaesthetics and Procedural Service -2Surgical, Anaesthetics and Procedural ServiceGCHHS70610-259
DATA
Cell Formulas
RangeFormula
AF17:AF25AF17=IFERROR(MID(D17,(FIND(">",D17)+8),(FIND(">",D17,(FIND(">",D17)+8)+1))-(FIND(">",D17)+8)),"")
AQ17:AQ25AQ17=AF17&"-"&COUNTIF($AF$17:AF17,AF17)
AR17:AR25AR17=AF17
AS17:AS25AS17=E17
P17:P25P17=IFERROR(RIGHT(AO17,LEN(AO17)-10),"")
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,241
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top