Query formula greyed out

ozbeachbum

Board Regular
Joined
Jun 3, 2015
Messages
211
Office Version
  1. 2021
Platform
  1. Windows
Hi,
I am using the following formula
=FILTER(Data!$GN$70:$GN$340,$H$70:$H$340=Data!$GD70,"")
The destInation range is J70:J340 each even numbered row has the formula, each odd numbered row is blank.
For some weird reason the formula is repeated in the following odd numbered rows 87 89 91 93 95 147 157 163 169 171 195 but it is greyed out.
Wondering what the reason might be and if there is a way to correct it.
Cheers,
Dave.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Pretty hard to be sure without any sample data. Generally a greyed out formula means the cell is part of a spill range. For example, if you select the formula in J86 (where I presume the formula is not greyed out?) do you see a blue outline around (at least) J86 and J87?
 
Upvote 0
Hi Peter,
Had the same thought as you mentioned re without data, I could send a mini sheet if you think that would help, I did not do originally as the formula is referencing another worksheet and wasn't sure if it would be helpful.
The answer to your question is yes.
Weird though that it is not consistent through the range.
Thanks for the reply.
Cheers,
Dave.
 
Upvote 0
That just means that some of the formulas are only returning one row, and others 2, which means you have multiple matches for some values in column DG on Data, and not others.
 
Upvote 0
Wondering ... if there is a way to correct it.
If the second row of those situations is always blank, or you only want the first value anyway, you could change your formula to the following to stop that spill into the next row
Excel Formula:
=INDEX(FILTER(Data!$GN$70:$GN$340,$H$70:$H$340=Data!$GD70,""),1)
 
Upvote 0
Solution

Forum statistics

Threads
1,221,526
Messages
6,160,340
Members
451,637
Latest member
hvp2262

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