Lookup, Where Cell/Selection needed could be in Cell above or below Lookup

Grunter31

Board Regular
Joined
Mar 11, 2017
Messages
53
Office Version
  1. 365
Platform
  1. Windows
I'm trying to set up a daily fixture.

On Sheet 2 I have set up a web query to bring in the daily fixture. It sits in Column A, Row 33 - 76. Its in groups of 2 with a blank cell between each group.

On Sheet 1 is where all the relevant formulas are.

Its impossible to get the web query in Sheet 1 (even though that would solve my issue but it can't be done)

So what I'm trying to do is on Sheet 1

A15 Selection A
A16 Blank Cell

A30 Selection B
A31 Blank Cell

I need to fill "Blank Cell" from the Daily Fixture.

I've tried Vlookup but the selection on Sheet 2 I need could be above or below the Lookup. There are blank cells between the 2 selection on Sheet 2.
 
Sorry ...

Back to your original question ...

Is there something preventing you from deleting the Blank row in-between your two groups ?
 
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Sorry for the extremely late reply just had my first Baby (a little Boy)

The Blank cells on Sheet 2 can be removed. But Nothing on Sheet 1 can be changed except the Cell with "Select Opposition"

Sheet 2 is auto updated with the daily fixture.

I would like a formula to match the relevant team on Sheet 1 (in the Cell that reads "Select Poosition) with who they are playing from the fixture on Sheet 2.

Sheet 1

A1Team
A2
A3No Game
A4Select Opposition
A5Atlanta Hawks
A6Atlanta Hawks
A7Atlanta Hawks
A8Atlanta Hawks
A9Atlanta Hawks
A10
A11
A12
A13
A14No Game
A15Select Opposition
A16Boston Celtics
A17Boston Celtics
A18Boston Celtics
A19Boston Celtics
A20Boston Celtics
A21
A22
A23
A24No Game
A25Select Opposition
A26
Brooklyn Net

<tbody>
</tbody>

Sheet 2


A33Charlotte Hornets
A34Brooklyn Nets
A35
A36Atlanta Hawks
A37Washington Wizards
A38
A39Minnesota Timberwolves
A40Boston Celtics

<tbody>
</tbody>
 
Upvote 0
First Things First ... CONGRATULATIONS ...!!!!

(y)
 
Upvote 0
With your latest lay-out of your spreadsheets ...

You could test following :
Code:
=INDEX(Sheet2!$A$33:$A$40,CHOOSE(MATCH(A5,Sheet2!$A$33:$A$40,0),2,1,,5,4,,8,7))

Hope this will help .. :wink:
 
Upvote 0
The formula worked brilliantly. I had to go down another 27 teams but I worked out what you did.

Thanks again for your time and patience.
 
Upvote 0
Glad you could solve your problem ... :wink:

AND

Enjoy as much as possible ... all the great moments that parenthood will offer you ...!!! :)

(y)
 
Upvote 0

Forum statistics

Threads
1,216,444
Messages
6,130,659
Members
449,585
Latest member
Nattarinee

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