lookup

j4ymf

Well-known Member
Joined
Apr 28, 2003
Messages
743
Office Version
  1. 365
Platform
  1. Windows
Hello

I was wondering if you could help write a lookup to return 24864

I would like to lookup A7 and match C5 in the range AB4:AL50, hopefully this makes sence
thank you

JAY - Labour Schedule - JWS - Live Trial 6.xlsm
ABCDE
4WE - 24/10/2021Monday
518/10/2021
6Andrew Ball25027
7ABTG Beighton Joseph Ash Bilston
806:0013:2007:20
190921 (2)
Cell Formulas
RangeFormula
A4A4=U5
C5C5=F5-1
C7C7=IFERROR(VLOOKUP(C6,Planner1!$A$10:$Q$90,17,0),"")
E8E8=D8-C8
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E8Cell Value=0textNO
C27:W27,C24:W24,C21:W21,C18:W18,C15:W15,C12:W12,C6:W6,F9:W9,C30:W30,C33:W33,C36:W36,C39:W39,C42:W42,C45:W45,C48:W48,C51:W51,C54:W54,X6:Y56Cell Value=0textNO


Cell Formulas
RangeFormula
AB4:AB12AB4=Planner1!$AK$6
AC4:AC12AC4=Planner1!AL10
AD4:AD12AD4=LEFT(AC4,2)
AE4:AE12AE4=MID(AC4,4,2)
AF4:AF12AF4=MID(AC4,7,2)
AG4:AG12AG4=MID(AC4,10,2)
AH4:AH12AH4=MID(AC4,13,2)
AI4:AI12AI4=MID(AC4,16,2)
AJ4:AJ12AJ4=MID(AC4,19,2)
AK4:AK12AK4=Planner1!A10
AL4:AL12AL4=Planner1!Q10
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
How about
Excel Formula:
=FILTER('190921 (2)'!AK4:AK100,('190921 (2)'!AB4:AB100=C5)*(ISNUMBER(SEARCH(A7,'190921 (2)'!AC4:AC100))))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
Hi Fluff, what does the 190921 (2) releate to?

and if there are no results how return a blank IFERROR
 
Upvote 0
what does the 190921 (2) releate to?
It's the sheet name shown in your mini-sheet. ;)
For a blank instead of #calc
Excel Formula:
=FILTER('190921 (2)'!AK4:AK100,('190921 (2)'!AB4:AB100=C5)*(ISNUMBER(SEARCH(A7,'190921 (2)'!AC4:AC100))),"")
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,315
Members
452,634
Latest member
cpostell

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