![]() |
Excel Help Needed
I have run in to a bit of an issue, wanting to see if i can get help here first, i have a list of race classes and beside that i have a number that i have assigned to represent the class, here is a sample.
Code:
I can then use this =IF(ISNUMBER(SEARCH(AW66,RacePage!$M$6)),AX66,"") formula for todays class of race. This formula extends the length of my class list. AW66 represents the race class AX66 represents the number value RacePage!$M$6 represents today's race class and could be displayed like this on my sheet TAPETA : BM 64 HANDICAP Now this works fine as it is searching for any part of today's race class in my list and returns the value i have assigned that class. The problem i have is i want to swap this around, i need to be able to take a value displayed like this BM72 and search my list to find it's race class value. |
Hi Shaun, I'm very confused.
Shouldn't a BM76 have a higher number? Have you thought about using a database and just importing your data, the linked tables would give you what you want straight away. Give me a shout if you want help with this, I'm sure I could knock something up for you quite quickly. |
Quote:
The numbers don't hold any real value except to separate the class list. |
This code solved my issues.
=IF(AQ2="","",LOOKUP(9E+99+307,SEARCH(Data!$AW$23:Data!$AW$98,A Q2),Data!$AX$23:Data!$AX$98)) |
All times are GMT +10. The time now is 03:07 AM. |
Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.