Need a faster way to look up

AustSportingPix

New Member
Joined
Oct 5, 2020
Messages
45
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
Hey all
I have a database that is updated & grows everyday. At the moment I have 13000+ horses, each one has more than 150 vlookups with indirect for another workbook.
So as you can imagine, adding new data takes its sweetass time, at the moment is around 10 minutes, then 5 minutes to remove the doubles, then a few minutes to sort.

So I'm wondering if there's another way.

This is the formula I'm using: =IFERROR(VLOOKUP($B2,INDIRECT("[ratings.xlsx]"&A$1&"!$A:$B"),2,0),"")

I've heard hlookup is quicker, I've heard indexmatch is quicker but cannot work them out.

Any ideas?
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Do you have a small data set you can post?

Index & match is still faster than vlookup, xlookup should be quicker but the slowing comes from indirect.

You may get some speed improvements from changing your datasets to excel tables...
 
Upvote 0
Hi AustSport,

If you could post some sample data, using XL2bb or paste sample data directly into a reply.

Unfortunately due to security reasons I cant open your zip files.
 
Upvote 0
Rank


All Horse Ratings.xlsx
ABCDEFGHIJKLMNOPQRS
21STATE OF REST (IRE)79.2179.2126.4015.847.9279.21          
32ANAMOE79.1164.9367.8251.9425.9779.1159.9464.4156.24       
43VERRY ELLEEGANT (NZ)78.1275.0575.2560.0430.0277.2978.1270.3474.47       
54ZAAKI (GB)75.8973.5174.4758.8129.4174.7072.8275.8970.65      70.65
65MO’UNGA (NZ)75.2772.2072.0957.7628.8871.8275.2769.1872.54       
76NATURE STRIP75.2172.0473.1457.6328.8170.9475.2173.2668.73      68.73
87MASKED CRUSADER74.8570.7770.7742.4621.2374.8572.2265.23        
98INCENTIVISE74.8373.9774.3259.1829.5974.4574.8373.7072.92       
109PROBABEEL (NZ)74.6672.2273.6457.7728.8972.6374.6673.6467.93       
1110NONCONFORMIST74.5671.2472.2156.9928.4971.5174.5670.5668.32      68.32
1211EDUARDO74.4474.2749.5129.7114.8574.4474.10         
1312SPANISH MISSION (USA)74.2169.0046.0027.6013.8063.7974.21         
1413CASCADIAN (GB)73.4770.4171.3570.4135.2073.4771.1969.3970.8767.10     67.10
1514RIODINI (NZ)73.4569.3768.7955.4927.7568.4164.5173.4571.10      71.10
1615THINK IT OVER73.3771.0571.0256.8428.4268.9670.7273.3771.17      71.17
1716YOUNG WERTHER (NZ)73.2069.0669.0641.4420.7269.2473.2064.74        
1817FLOATING ARTIST (GB)73.1367.9969.2267.9933.9973.1368.3966.1266.2966.01      
1918HOMESMAN (USA)72.7269.3369.9255.4627.7369.5867.4772.7267.55       
2019SIR DRAGONET (IRE)72.4270.6447.0928.2514.1368.8672.42         
2120CHAPADA71.9868.3369.0154.6727.3369.9671.9865.1066.29      66.29
2221SUPERSTORM71.7870.1869.9970.1835.0970.1071.2368.6571.7869.12     69.12
2322LOST AND RUNNING (NZ)71.7267.2869.7553.8326.9167.8571.7269.6959.88       
2423CLASSIQUE LEGEND71.7071.7023.9014.347.1771.70          
2524DALASAN71.5966.9370.3166.9333.4668.7271.5970.6165.5758.16     58.16
2625TOFANE (NZ)71.5069.6269.6241.7720.8967.2770.0971.50        
2726TREKKING71.4367.4267.4240.4520.2371.4367.7063.14       63.14
2827STANDOUT71.3964.1565.6151.3225.6660.1165.3371.3959.77      59.77
ratings
Cell Formulas
RangeFormula
C2:C28C2=MAX(S2:XFD2)
D2:D28D2=AVERAGE(S2:XFD2)
E2:E28E2=IFERROR(SUM(H2,I2,J2)/3,"")
F2:F28F2=IFERROR(SUM(H2,I2,J2,K2,L2)/5,"")
G2:G28G2=IFERROR(SUM(Allhorses[@[Last Start]:[10th]])/10,"")
H2:H28H2=LOOKUP(2,1/(S2:XFD2<>""),$S2:$XFD2)
I2:I28I2=IFERROR(INDEX($S2:$XFD2,AGGREGATE(14,6,(COLUMN($S2:$XFD2)-COLUMN($S2)+1)/($S2:$XFD2<>""),2)),"")
J2:J28J2=IFERROR(INDEX($S2:$XFD2,AGGREGATE(14,6,(COLUMN($S2:$XFD2)-COLUMN($S2)+1)/($S2:$XFD2<>""),3)),"")
K2:K28K2=IFERROR(INDEX($S2:$XFD2,AGGREGATE(14,6,(COLUMN($S2:$XFD2)-COLUMN($S2)+1)/($S2:$XFD2<>""),4)),"")
L2:L28L2=IFERROR(INDEX($S2:$XFD2,AGGREGATE(14,6,(COLUMN($S2:$XFD2)-COLUMN($S2)+1)/($S2:$XFD2<>""),5)),"")
M2:M28M2=IFERROR(INDEX($S2:$XFD2,AGGREGATE(14,6,(COLUMN($S2:$XFD2)-COLUMN($S2)+1)/($S2:$XFD2<>""),6)),"")
N2:N28N2=IFERROR(INDEX($S2:$XFD2,AGGREGATE(14,6,(COLUMN($S2:$XFD2)-COLUMN($S2)+1)/($S2:$XFD2<>""),7)),"")
O2:O28O2=IFERROR(INDEX($S2:$XFD2,AGGREGATE(14,6,(COLUMN($S2:$XFD2)-COLUMN($S2)+1)/($S2:$XFD2<>""),8)),"")
P2:P28P2=IFERROR(INDEX($S2:$XFD2,AGGREGATE(14,6,(COLUMN($S2:$XFD2)-COLUMN($S2)+1)/($S2:$XFD2<>""),9)),"")
Q2:Q28Q2=IFERROR(INDEX($S2:$XFD2,AGGREGATE(14,6,(COLUMN($S2:$XFD2)-COLUMN($S2)+1)/($S2:$XFD2<>""),10)),"")
A2:A28A2=RANK(C2,C:C,0)
S2:S28S2=IFERROR(VLOOKUP($B2,INDIRECT("[ratings.xlsx]"&S$1&"!$A:$D"),2,0),"")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:B13616Cell ValueduplicatestextNO
 
Upvote 0
Can you also post data from $S2:$XFD2

also sample data from "[ratings.xlsx]"

The IFERROR / Aggregate array wouldn't be helping with the speed of your sheet, we might be able to use a different way of doing this formula to help processing speeds.
 
Upvote 0
Can you also post data from $S2:$XFD2

also sample data from "[ratings.xlsx]"

The IFERROR / Aggregate array wouldn't be helping with the speed of your sheet, we might be able to use a different way of doing this formula to help processing speeds.
This is from the sheet 20211106

Column1Column2
ZAAKI (GB)74.70
CASCADIAN (GB)73.47
MO’UNGA (NZ)71.82
NATURE STRIP70.94
KEIAI NAUTIQUE (JPN)70.46
PRIVATE EYE70.28
SUPERSTORM70.10
HUNGRY HEART69.84
COLETTE69.66
HOMESMAN (USA)69.58
AGE OF CHIVALRY (NZ)68.89
WARNING68.88
DALASAN68.72
CROSSHAVEN68.68
SOUND (GER)67.96
JUSTACANTA (NZ)67.74
WENTWOOD (GB)67.42
DR DRILL (GB)66.27
HI STRANGER66.24
ELECTRIC GIRL65.82
SWATS THAT65.82
RANIER65.40
ROCHA CLOCK65.20
SINAWANN (IRE)65.15
MADAM ROUGE64.75
WANDABAA64.18
TRICKY GAL64.16
BELLA NIPOTINA64.04
SEPTEMBER RUN63.91
NUDGE63.43
YAMAZAKI63.20
FASHCHANEL (NZ)63.08
ZAYYDANI (NZ)62.97
CHAILLOT62.96
OUR INTRIGUE (NZ)62.80
SPIRANAC62.64
STARELLE62.39
LUNAR FLARE62.37
BEGOOD TOYA MOTHER62.19
BONVICINI61.76
NIMALEE61.69
VANNA GIRL61.44
RANCH HAND61.27
ECUMENICAL60.88
GHODELEINE60.69
MORVADA60.61
HEZASHOCKA (NZ)60.58
LE LUDE60.53
MIMI’S AWARD60.17
SHAQUERO60.03
SPLINTEX59.79
BARBIE’S FOX59.61
STREETS OF AVALON59.19
OUR PLAYBOY58.62
SAMIZDAT58.32
SILENT SOVEREIGN58.32
SEINERS EXPRESS (NZ)57.10
CHARMS STAR (NZ)56.71
VASSILATOR (NZ)56.06
ARCHEDEMUS55.21
SHIBLI (GB)55.14
EQUATION54.84
IT’SOURTIME54.67
KISSINGER (NZ)54.51
TURBEAU54.23
ALCYONE54.18
JAZZLAND54.17
POLLY GREY (NZ)54.09
ZOUSHACK54.07
MAYFAIR SPIRIT (IRE)54.01
LADYLOVESTOGAMBLE53.99
MAGNAJET53.91
LUNATIC FRINGE53.82
BLAZE A TRAIL53.70
ANOTHER ONE53.53
AVION FURY53.49
TATUNKA53.47
BEAUFORT PARK53.28
DUCHESS OF DORSET53.16
BLESK (NZ)53.09
AMICHE53.09
SUAVE53.04
UNDENIABLE53.02
KEATS (IRE)52.86
DICE ROLL (FR)52.70
FRANCESCO GUARDI (IRE)52.69
FOX FIGHTER52.45
TYCOON BEC52.38
SARACEN KNIGHT (IRE)52.23
VIREN52.14
LEGIONNAIRE52.05
FLAT HEAVEN (FR)51.79
WELSH LEGEND51.71
KAZIO51.65
MR CANCUN (NZ)51.62
PORT LOUIS51.57
BEND THE KNEE51.47
VITRUVIUS51.42
LA BELLA COSTA51.39
SCHWOON51.34
AIR TO AIR51.30
NICTOCK51.17
OH PLEASE DIANNA51.15
SELEQUE51.12
UNDER OATH51.02
HERMAN HESSE (GB)50.95
DIVA BELLA50.92
KINLOCH50.75
MEDIA STARGUEST50.67
WAR ETERNAL (NZ)50.64
DEPTH THAT VARIES50.57
MAHASHAKTI50.52
SAQUON50.41
SUPPRESSION (NZ)50.27
BUDHWAR50.18
DESTINATION50.05
PRINCESS JENNI (NZ)50.00
DAILY BUGLE49.89
DESIGNER MAID49.84
BERGEN49.84
CARDINAL GEM49.80
SKELM49.79
GHOSTWRITER49.75
SO SAY YOU49.74
LEITER49.73
EL SALTO49.72
SAM’S IMAGE49.72
TRAVEST (NZ)49.67
UPPER EAST SIDE49.64
YULONG DEFENCE49.62
KAMIEN49.62
BOWERY BREEZE49.62
CALGARY QUEEN49.59
HAWKER HURRICANE49.49
MEDIEVAL MISS49.38
SIZZLING CAT49.19
THE LAST NAPOLEON49.16
JOHANDOUGH49.12
PROMPT PRODIGY (NZ)48.68
SCHILLER’S MYST48.59
SNOWFIRE48.55
FORTIFIED (NZ)48.50
APRES LA MER48.49
FLORIDA DREAM48.47
JIMMY THE BEAR48.41
TYCHE GODDESS48.35
RUSSBUSS48.23
PARACHUTER47.93
PRIMITIVO47.90
DECENT RAINE47.74
POINT COUNTERPOINT47.71
MERLINITE47.52
LANDO BAY47.41
OUR BAMBINO47.41
OLYMPIC GAZE47.40
CAPE BRETON47.39
HASSELTOFF47.28
TERWILLIKER47.25
ARABOLINI (GER)47.12
LAVISH GIRL46.96
TOOSTAR46.65
KAONIC (NZ)46.54
MIKADO46.43
O’PRESIDENT46.34
PANDORA BLUE46.31
CHAMPAGNE VEGA46.18
CHASE MY CROWN46.14
APACHE RED45.96
LUCKY BANNER45.51
SOOBOOMA45.40
DEPARTING BULLET45.30
OUR HEIDI45.16
KERIOTH45.10
MY PRINCE CHARMING44.91
BOOM BOOM SWEET (NZ)44.87
MICRO44.66
RED HOT CHILLYPINS (NZ)44.58
BRANDERS RULE44.55
AEROSPEED44.48
I AM THE FOX44.47
SNITWAY44.31
VOLCANIC ROCK44.23
TELEKINESIS44.23
MAUSER44.11
TYMPANIST (NZ)44.11
BELLOWS44.09
DIAMONDS AND RUST43.95
STATESVILLE43.91
SKY DIAMONDS43.82
TRUE METTLE43.78
SMYTZER43.54
DANGERS43.40
NO NEW TRICKS43.03
STREET BABY42.73
ALBANIAN EAGLE42.61
RESOLUTIONS42.60
MIGHTY FEAT (NZ)42.45
ZAZSTER42.39
HOSIER (IRE)42.25
EL MO42.13
EFFORT41.89
INTERNATIONAL GEM41.81
FAST MELODY41.75
OUR BOY BRYAN41.66
SOCIALITE MISS41.55
EASTERN PEGASUS41.46
ART DEALER (NZ)41.44
AZOUSTIC41.01
CHICH’S SPIRIT40.92
BISMARC40.78
POST FREE40.71
WHOWOODATHORT40.63
ECLAIR RHYTHM (NZ)40.47
FALTONIUS40.23
STEEL THE MOMENT40.09
CHESTNUT SCAFFA40.01
ANDORRA LA VELLA39.90
NAOMI39.56
OCEAN DRIVE38.15
STERN IN GRINZING38.05
SPHERA38.02
ROYAL TYKE37.94
ROCKET OWEN37.65
CLEVER GEORGE37.56
YELLILONG BUGG37.45
ARISTOBEAUX37.18
RECIDIVIST37.17
THE YACHTSMAN36.96
FULL AHEAD36.62
OLYMPIC SPIRIT36.58
SHEZASHOOTINGSTAR35.06
MAINCOURT23.88
CHESTORIUS (NZ)23.85
SEJARDAN23.82
SHALATIN23.66
OJAI23.40
PHERE THE EX23.37
GUARDIAN SPIRIT23.34
CANNONBALL23.21
FIORENTE SPRITZ22.85
WOLF SKILL22.82
REDSKIN JIMMY (NZ)22.80
HAILEY’S DIVA (NZ)22.74
SNITCAT22.50
WAMMO22.49
CONTEMPORARY22.47
SACHEM22.20
MAFIORE22.07
THE PROBLEM WITH22.01
NO BABY NO22.01
HOOROOROB21.89
VIKANDER21.85
NOBEL21.56
RUBY MOCKINGBIRD21.47
SHIRVO21.43
RANGI TANE (NZ)20.99
DENIMS20.67
KANNENBERGS ROAD20.63
BIRDONAWING20.63
JEDAN20.59
BOWRIDER20.55
JALASAAT20.50
ESCENTUAL20.45
MOFEED WARRIOR20.42
TOM ROCKS20.41
WANDA’S LEGACY19.76
MOUNT BRILLIANT19.58
OUR BEST PAL18.92
AESOP’S FABLE0.00
KITZBUHEL (USA)-0.14
REAL TIME WARRIOR-0.14
DREAM RUNNER-0.27
MAHSINGER-0.27
DEFY-0.34
INVINCIBLE DASH-0.34
KERMATIN-0.34
NOTABADIDEA (NZ)-0.34
BIRDONAWINNINGPOST-0.48
PROVEN CLASS-0.48
FIVE KINGDOM-0.54
GROUP THINK-0.54
NEMINGAH (NZ)-0.54
THIS IS SO-0.54
WICHITA WARRIOR-0.54
ZAKERIZ-0.54
ROCKAMO (NZ)-0.75
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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